Several rockets hit residential areas in the early rush hour in the Afghan capital Kabul, killing at least eight civilians and wounding 31, officials say.
The explosions, some close to the diplomatic enclave, sent warning sirens blaring from embassies and it comes two days before a major donor conference for Afghanistan in Geneva.
Interior ministry spokesman Tariq Arian said at least eight civilians had been killed in the attack on Saturday and 31 wounded.
A health ministry official said five bodies and 21 injured were taken to the hospital from the incident.
Arian said "terrorists" mounted 14 rockets in a small truck and set them off, adding an investigation was going on to find out how the vehicle got into the city.
Several pictures circulating on Facebook showed damaged cars, shattered windows and holes in residential homes.
A picture of a young brother and sister, whom officials said were killed in their home, was widely shared on Facebook.
One of the rockets landed near the Iranian embassy and several fragments hit the main building but there were no casualties among the staff, the embassy said.
Since peace talks between the Afghan government and the Taliban stalled in the Qatari capital of Doha, attacks by the Taliban and other extremist groups have been on the rise, especially in the capital that is home to more than five million Afghans.
Taliban insurgents, fighting against a foreign-backed Kabul administration, denied involvement in the attack.
US Secretary of State Mike Pompeo travels to Qatar on Saturday to meet an Afghan delegation and Taliban negotiators.
Early this month, gunmen stormed Kabul University campus and killed at least 35 and wounded more than 50.
The attack was claimed by the Islamic State militant group.