WASHINGTON—The White House’s tariff strategy faces a potential threat from a series of lawsuits challenging whether the administration has followed the law closely enough in imposing new customs duties.

Recent court victories by steel and energy companies have emboldened legal foes of the administration’s nearly-two-year campaign to wield tariffs as leverage in trade talks, and the decisions could lead to further challenges to President Trump’s tariff authority.

The...