Two of the civilians are Spaniards, according to the website of local newspaper A Semana.
The barracks housed soldiers protecting a hilltop communications hub and the civilians were working on repairs there, media reported.
The government placed security forces on red alert at the international airport in Praia, the capital, and at the island's ports after the apparent attack, the online service of Expresso das Ilhas said.
A policeman came across the bodies around midday, Cape Verde Television said. It said police later found an abandoned car containing eight Kalashnikovs and ammunition.
Authorities in Cape Verde, which is classified as a developing nation, have received praise and financial aid from international bodies for their commitment to democracy and economic development.
However, the country has recently been fighting international drug rings attempting to smuggle cocaine into the country. Police last week seized 280 kilograms of cocaine from a yacht, and officials have linked two recent armed attacks against public figures to that battle.
A new government took office last Friday after winning a March election and vowed zero tolerance in the fight against crime.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
