More than a dozen rockets struck Kabul on Tuesday, wounding at least 10 people and prompting some foreign embassies to order a lockdown.
The identity of the attackers was unknown, though an interior ministry spokesman said two suspects had been arrested.
The attack comes at a time when the US is encouraging peace talks between the government and the Taliban, while preparing to withdraw the last US troops to end almost 19 years of war.
"Several rockets were fired from two vehicles," said Tariq Arian, an interior ministry spokesman.
He later added that fourteen rockets landed in different parts of the city, some landing near the Green Zone area, home to many foreign embassies and NATO headquarters.
A senior Western security official told Reuters the diplomatic area was quickly placed under lockdown after the blasts, as workers in embassies took cover in safe rooms.
"All diplomatic officials in embassies in the Green Zone have been moved to safe rooms in the diplomatic district until clearance orders," a senior Western security official added.
The father and stepmother of Sara Sharif, a 10-year-old girl who was found dead in her home in Britain, were on Wednesday convicted of her murder after a trial which heard harrowing details of her treatment before her death.
The Afghan Taliban's acting minister for refugees, Khalil Rahman Haqqani, and six other people were killed in an explosion in the capital Kabul on Wednesday, his nephew said.
Israeli strikes in the northern and central Gaza Strip on Wednesday killed at least 33 Palestinians, most of them in Beit Lahiya town in the north of the enclave, medics said.
Syrian rebels backed by Turkey, who ousted president Bashar al-Assad, said on Tuesday they had taken the eastern city of Deir ez-Zur, while a war monitor confirmed Kurdish forces had withdrawn.
The death toll from a Russian missile strike that destroyed a clinic in the Ukrainian city of Zaporizhzhia on Tuesday has risen to six, while four more people remain under the rubble, the regional governor and emergency services said on Wednesday.