KABUL, Afghanistan — Two separate suicide bombings in Afghanistan on Saturday left at least 26 people dead and nearly 50 injured, officials said, days ahead of expected talks between the government and the Taliban.

The first attack, in Asadabad near the governor’s compound in the eastern province of Kunar, killed at least 14 people and wounded 41 others, said Wahidullah Kalimzai, the province’s governor.

Hours later, a suicide bomber in Kabul set off his explosives at the entrance of the Defense Ministry’s headquarters as soldiers and officials were leaving their offices, killing at least 12 people and wounding eight, a statement from the ministry said.

The Taliban were responsible for the Kabul attack, said a spokesman for the insurgents, Zabihullah Mujahid. No one claimed responsibility yet for the blast in Kunar.