ZTE’s push into the US just hit a wall.

The US government has banned US companies from selling parts to the popular China-based smartphone maker for the next seven years — a potentially devastating blow to ZTE that comes amid growing fears of overseas espionage via telecom networks.

The US Commerce Department imposed the ban after ZTE — the No. 4 seller of smartphones in the US — violated an agreement on punishing employees after it was caught illegally shipping US goods to Iran.

The US action could be catastrophic for ZTE since American companies are estimated to provide 25 percent to 30 percent of the components used in ZTE’s equipment, which includes smartphones and gear to build telecommunications networks.

ZTE is China’s No. 2 telecom equipment maker after Huawei , and was worth some $20 billion as of Monday’s close.

The move comes at a time when the two countries have threatened each other with tens of billions of dollars in tariffs, fanning worries of a full blown trade war that threatens global supply chains as well as business investment plans.

As reported by The Post, the ban also comes two months after the directors of a number of American intelligence agencies, including the CIA, FBI and NSA said they would not recommend Americans use products from the Chinese company.

“We’re deeply concerned about the risks of allowing any company or entity that is beholden to foreign governments that don’t share our values to gain positions of power inside our telecommunications networks,” FBI Director Chris Wray said at the time.

The fear is that Chinese companies like Huawei and ZTE would be forced to comply should the Chinese government make a request for any information sent using their devices or networks.

Wray testified that allowing Huawei to gain a foothold in the American market would provide China with “the capacity to conduct undetected espionage.”

With Reuters