The militants from Afghanistan fired at Manozangal and Mukha posts in Bajaur tribal agency, a security official said.
Two soldiers were killed and three others, including an officer, were injured in the attack, the official said.
Bajaur is one of the seven such districts bordering Afghanistan. It shares a 52-km border with Afghanistan's Kunar Province.
The militants are said to be loyal to top Taliban leader Maulana Fazlullah who is believed to be hiding in Kunar since 2009 after escaping a military action in Swat.
The attack had triggered hours-long gunbattle between security officials and militants.
Pakistan's foreign ministry condemned today's cross-border attack and asked Afghanistan to stop rebels from using its soil for launching attacks on Pakistan.
"Pakistan condemns these unprovoked attacks. This matter has been raised with the Afghan government in Kabul and with their Embassy in Islamabad," An FO spokesman said in a statement.
"It has been emphasised that Afghanistan must take concrete steps to stop the use of its territory against Pakistan," the ministry said.
Pakistani Army retaliated today's attack and killed several militants.
The three injured security officials were sent to a hospital and a search operation was launched in the area.
"The militants from Tehreek-e-Taliban Bajaur and Swat chapters had regrouped in Ghund village of Afghanistan and launched the attack from there," an official said.
This is the third incident of cross-border attack and firing since May 25 from Afghanistan.
In a similar attack on Monday, two soldiers were killed.
Both countries accuse each other of backing cross-border attacks by militants.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
