An intelligence report by the Department of Homeland Security contradicts the White House’s assertion that immigrants from seven Muslim-majority countries pose a particular risk of being terrorists and should be blocked from entering the U.S.

The report is the latest volley in a struggle between intelligence officials and the Trump administration that has rippled across several agencies. Some officials have critiqued administration policies, while the president and senior members of his staff have accused officials of leaking...