WASHINGTON — Hillary Clinton’s e-mails included the names of CIA officers serving overseas and foreigners who are on the spy agency’s payroll — potentially endangering their lives, it was reported Monday.

“It’s a death sentence,” a senior intelligence-community official told the Observer. “If we’re lucky, only [foreign] agents, not our officers, will get killed because of this.”

The paper said the intelligence community is in panic mode trying to determine which agents may have been compromised.

CIA officials assume foreign agencies intercepted unencrypted e-mails stored on Clinton’s home server while she was secretary of state.

The State Department has released e-mails from the server under a court order, but said on Friday that it would withhold 22 of them because they contained “top secret” information.

Observer columnist John Schindler, a former National Security Agency analyst, said some of those ­e-mails contained spy names.

Clinton — whose front-running presidential campaign has been dogged by questions over her use of the unsecured home server — deleted some 30,000 e-mails she deemed personal before handing over another 30,000 to the State Department for release.

“I’ll spend the rest of my career trying to figure out what classified information was in those [deleted ­e-mails],” said a Pentagon counterintelligence official. “Everybody is mad as hell.

“The worst part is that Moscow and Beijing have that information, but the intelligence community maybe never will.”

Clinton has maintained that she never sent or received any e-mails that were marked classified.

On Monday, she dismissed the controversy as Republican-fueled politics and said voters don’t care.

“I can tell you that is not on the minds of the literally thousands of people that I’ve seen in the last few weeks. I’m glad it isn’t,” she told CNN from Iowa.

“The facts are the facts, and no matter how much selective leaking or anonymous sourcing . . . that goes on, what people want to know is what I can do to be the best possible president for them and their families.”

Citing an unidentified official, Fox News reported earlier Monday that the 22 “top secret” e-mails contained “operational intelligence” that jeopardized intelligence sources’ lives.

Rep. Mike Pompeo, a Kansas Republican on the House Intelligence Committee, said sources and methods were exposed.

“Any person with a modicum of knowledge about the proper handling of classified information would have known upon reading the information contained in these 22 e-mails that it was appropriately and necessarily classified,” Pompeo said.

A security expert said Clinton was required to protect the information in her possession, even if it was sent by someone else.

“Everybody who has a security clearance has an individual obligation to protect the information,” national-security attorney Edward MacMahon Jr. told Fox News.

MacMahon represented former CIA officer Jeffrey Sterling in a high-profile leak case regarding a New York Times reporter.

“Just because somebody sends it to you . . . you can’t just turn a blind eye and pretend it never happened and pretend it’s unclassified information,” he added.