Eight security force members were freed from a Taliban prison in an operation in northern Baghlan on Sunday night, the Ministry of Defense (MoD) said in a statement on Monday.
The operation was launched in Amarkhil village of Baghlan-e-Jadid and the security force members who had been taken captive were released, it said.
In the meantime, a security source said that two security forces members were killed, and another was wounded during the operation.
The MoD did not comment on the possible casualties of the security forces during the operation.
The Taliban has not yet commented over the operation.