There was an explosion due to the incident, leading to casualties, according to the spokesperson. He did not clarify the source of the blast and provided no further details.
Nobody immediately claimed responsibility for the attempted assault.
On Tuesday, at least five people died and more than seven were injured in a bombing near a bank in the northern province of Kunduz. The Islamic State group later claimed responsibility for the attack, although they gave higher casualty figures.