According to Yaftali, the Taliban militants attacked a center of security forces in the wee hours of Wednesday, killing 12 security personnel including army and police personnel.
Two more security personnel sustained injuries in the firefight which lasted for a while in Dasht-e-Archi district, the official admitted.
At least eight Taliban fighters had also been killed in the fighting, Yaftali said.
However, police have confirmed the fighting but did not give details.
Meanwhile purported Taliban spokesman Zabihullah Majahid has confirmed the fighting and claimed killing of two dozen security personnel.