The strikes represent a sharp escalation in tensions between Pakistan and Taliban-ruled Afghanistan, coming days after Kabul released three Pakistani soldiers in a Saudi-mediated effort to ease strains following months of clashes along their rugged border.
In a statement dated February 21 and issued early on Sunday, the government said it had "conclusive evidence" that the attacks were carried out by what it calls Khwarij, its term for the Pakistani Taliban, acting on instructions from "their Afghanistan-based leadership and handlers."
It added that Pakistan conducted "intelligence-based selective targeting of seven terrorist camps and hideouts" belonging to the Pakistani Taliban as well as Islamic State Khorasan Province along the frontier with Afghanistan.
Kabul has repeatedly denied permitting militants to use Afghan soil to launch attacks inside Pakistan.
Meanwhile, the government said recent violence included a bombing at a Shiite mosque in Islamabad and attacks in the northwestern border districts of Bajaur and Bannu.
In Bannu, the military said on Saturday that a suicide bomber targeted a convoy of security forces, killing five militants in a gun battle and two soldiers when an explosives-laden vehicle rammed into a military vehicle.
More broadly, tensions have repeatedly forced key border crossings to close, disrupting trade and movement along the 2,600-km (1,600-mile) frontier.
Dozens were killed in clashes in October before the two sides agreed to a fragile ceasefire.
However, Pakistan continues to accuse Afghanistan’s Taliban rulers of harboring militants who carry out attacks inside its territory, an allegation Kabul denies.