There was no immediate claim of responsibility for the attack.
It came a day after two Taliban commanders and a leader of the Haqqani militant group were released in exchange for two professors, an American and an Australian, in a development some analysts had hoped could defuse violence in Afghanistan.
More about: Afghanistan Kabul