Six other soldiers were wounded in the attack, sources said.
The attack took place after a group of militants made tunnel into an army base and attacked the army soldiers, the sources said.
Meanwhile, local officials confirmed the attack but did not provide details about casualties among army forces.
The officials said an investigation has started into the incident.
No group including Taliban has claimed responsibility for the attack.
Source : Afghan Voice Agency(AVA)