The 209th Shaheen Corps of the Afghan Military in the North in a statement said the Taliban militants launched a major offensive on Sherin Tagab district at around 9pm on Monday night.
The statement further added that the militants faced a strong resistance from the national defense and security forces.
According to 209th Shaheen Corps, at least 13 militants were killed and at least 19 others sustained injuries after the attack was repulsed by the security forces.
A key commander of the group identified as Qari Zabi was among those killed, the 209th Shaheen Corps added in its statement.
The anti-government armed militant groups including Taliban militants have not commented regarding the incident so far.
Faryab is among the relatively volatile provinces in North of Afghanistan where the security situation has deteriorated during the recent years.