Secretary of State Rex Tillerson openly referred to President Donald Trump as a "moron" after a July 20 meeting at the Pentagon, according to NBC News, citing multiple senior administration officials.

According to three officials, Tillerson made the comment in front of members of Trump's national security team and Cabinet members. The report also said Tillerson was on the verge of resigning this summer and had to be talked out of it by Vice President Mike Pence.

Tillerson later denied that he ever considered leaving the Trump administration.

Officials said the tensions reached a high point around the time Trump gave a politicized speech to the Boy Scouts of America in late July. Tillerson was once leader of the organization.

The White House was not immediately available for comment when contacted by CNBC and declined to comment on the record to NBC News for the story.