Two White House officials were outed Thursday as the sources of classified material shared with the chairman of the House Intelligence Committee that showed President Trump and his aides were incidentally caught up in foreign surveillance by US spies.

The revelation — reported by The New York Times — added to the controversy surrounding the chair, California Rep. Devin Nunes, who was already accused of stonewalling his committee’s probe into ties between the Trump White House and Russia.

The paper identified one source as Ezra Cohen-Watnick, senior director for intelligence at the National Security Council, whose job Trump recently saved after the CIA wanted him gone.

The other was Michael Ellis, a lawyer who works on national-security issues at the White House Counsel’s Office and who once worked on the staff of the House Intelligence Committee.

Meanwhile, administration spokesman Sean Spicer said the heads of the House and Senate intelligence committees investigating the administration’s ties to Russia were invited to the White House to review relevant national-security materials.

He would not say whether it was the same material Nunes had already seen, how it was discovered or whether Trump had directed the duo to brief Nunes. Spicer declined to comment on the Times’ story.

Nunes briefed the president on what he learned from the documents and then went public without telling his fellow members on the panel what he knew.

That led Democrats to call for him to recuse himself from the probe. Nunes had vowed to never reveal his sources.

California Rep. Adam Schiff, the leading Democrat on the House committee, questioned why the White House would give Nunes the information and not the entire committee or the president himself.

“Why all the cloak and dagger stuff?” Schiff asked on Capitol Hill.