Kapisa provincial security spokesman Asadullah Hamidi said the explosion occurred in the Ghazi Khel area of Kapisa province, Khaama Press reported.
The Taliban claimed responsibility for the explosion but said five soldiers were killed instead of three injured as reported by local officials.
On Thursday, at least eight militants were killed and four others injured in clashes with Afghan police in Kandahar province in southern Afghanistan, the provincial governor's media office said.
The clashes occurred in the Shahwali Kot district of Kandahar.
Swim Week Miami Beach 2014 [PHOTOS]