The bombing occurred on Sunday night, government officials and Taliban said.
"Dozens of members belonging to the enemy forces have been killed and wounded in the attack," said Qari Yousuf Ahmedi, a spokesman for the hardline Islamist group in a statement.