NSANet Went Dark After the NSA Patched an AI-Found Bug

By Hamza Rouane, the AI Whisperer · 2026-11-18 · 0 reads

The NSA's classified NSANet network went down on November 17, 2026, and the agency sent most staff home. The DNI blames patches for PHP flaws that AI tools found.

The NSA's top-secret internal network, NSANet, went down on Tuesday, November 17, 2026, and America's most powerful spy agency ended up closing its Fort Meade campus to most employees that night. The Director of National Intelligence, Jay Clayton, says the cause was the NSA's own fix for PHP security flaws that AI tools had helped dig up a month earlier.

No hackers got in, according to every official who has spoken so far. That is the strange part. The agency that watches the world's communications was knocked offline by the rush to close holes that AI found in the code behind most of the internet.

What happened at the NSA, hour by hour

CNN broke the story, citing six people familiar with the matter. NSANet is the network NSA employees use to share classified information inside the agency. Nextgov/FCW calls it the agency's primary platform for transmitting top-secret data, and reports the outage slowed analysts' work.

On Tuesday morning, a voicemail inbox for NSA staff declared a "code yellow," the second-highest of three main levels that decide who reports to Fort Meade, Maryland. Non-emergency staff were told to arrive in staggered waves, according to CNN.

CBS News heard the agency wanted to stop huge numbers of people logging in at the same moment while the network was struggling. Some work was moved to other NSA sites around the country.

By Tuesday evening, the inbox flipped to "code green": come in as normal. Hours later, it flipped again, to "code orange," closing the campus to most employees until further notice. Nobody has said publicly what caused the reversal.

The NSA's official line, given to the AP and others: "The National Security Agency experienced temporary degradation during scheduled routine maintenance. While some internal systems were affected, mission-critical capabilities remain fully operational."

The real cause: a patch for AI-found PHP holes

That "routine maintenance" got a name the same afternoon. On FOX Business, Clayton tied the outage directly to the PHP patches. "The patching that has gone on following [a PHP vulnerability] has caused some of these systems to not come back up when you patch them as expected," he told the network. "That is what has happened at the NSA today."

To understand why that matters, rewind to October 21. That day, the NSA itself told the world to patch two critical flaws in PHP, the programming language that runs roughly 70% of websites, according to TechCrunch. The agency's advice was blunt: if you can't patch right away, take the system offline.

Those holes had been sitting in PHP for 14 years. They were found by AI. Security firm Calif, working inside OpenAI's "Patch the Planet" program, used GPT-5.6 Sol to find a version of the bug in August, and OpenAI's own team found a fuller version in September, OpenAI President Greg Brockman wrote on X. Wiz used its Wiz Atlas agent, Gemini 4 Argon and GPT-5.6 Sol to find more flaws, TechCrunch reported.

The disclosure did not go to plan. Details leaked, so PHP's maintainers released fixes on October 21 instead of October 22. Finland, the Netherlands and France pulled government websites offline, Decrypt reported.

Then the whole world started patching at once. Four weeks later, the NSA's own systems didn't come back up.

The posts that started the panic

The warning that kicked this off came from the NSA's own cyber account. It has 12.6 million views on the page we opened.

NSA Cyber's October 21 warning to patch PHP or go offline, 12.6M views.

Under it, the top replies were jokes about backdoors. "NSA pissed their back door was made public," one user wrote.

Hours later, Brockman posted a long essay calling the bug "php2shell" and "one of the most severe bugs in open source software found in recent memory." He wrote that it "allows any attacker to execute code on nearly all deployed PHP application."

OpenAI President Greg Brockman on php2shell, the bug found with OpenAI's models.

His most striking line came near the end. He floated a future where "authorized defenders (such as government)" scan the internet and, "in extreme cases," patch vulnerable systems remotely.

David Vorick summed up the mood in one sentence that drew 843,500 views: "The NSA is telling American companies to take production systems offline. The AI-era of cybersecurity has fully arrived."

"The AI-era of cybersecurity has fully arrived": 843.5K views.

What officials and experts are saying

The NSA outage landed at the end of a week of failures. On Friday, the FAA's nearly five-hour ground stop led airlines to cancel more than 18,000 flights over three days, the Jerusalem Post reported. Microsoft Outlook and Teams went down worldwide. Chase customers were locked out of online accounts on Monday.

Washington's message is that none of it was an attack. "We do not see the indicia of a coordinated cyber attack," Clayton said on FOX Business. "And we do not see the indicia of state-sponsored activity here."

Secretary of State Marco Rubio admitted it was "unsettling to see these reports day after day of some technical failures," but said there was "zero evidence" of hackers or a hostile nation, according to the AP.

President Donald Trump, asked about the outages in the Philippines, shrugged: "It's life, it's life. When you're big and powerful and you have all the money, things like that happen. It's fine," NBC News reported.

Sen. Mark Warner, the top Democrat on the Senate Intelligence Committee, put the AI angle into words: "AI is making it possible to identify vulnerabilities across enormous numbers of systems at unprecedented speed, creating enormous pressure on companies and government agencies to patch those vulnerabilities immediately, often all at once," he said in a statement quoted by the AP.

A former senior NSA official told CNN the outage "could impact analysis and reporting," adding: "It is alarming, but likely not crippling." Former senior intelligence official Beth Sanner told the Jerusalem Post a cyberattack is "the least likely scenario."

CNN's sources said urgent intelligence could still reach Trump on Air Force One through backup networks, and that Five Eyes intelligence sharing with the UK, Canada, Australia and New Zealand was not hit.

The AI angle: why the fix hurts more than the bug

Here is what makes this story different. For 14 years, these PHP flaws were protected by how hard they were to use. Wiz warned: "With AI this is no longer a barrier. LLMs can help adapt an exploit to different PHP versions, configurations and memory layouts."

So AI did two things at once. It found holes humans missed for over a decade. And it made those same holes cheap to attack, which forces everyone to patch immediately, all at the same time.

Clayton described the result: "Some systems have to hand off to other systems, and those handoffs are not coming as expected." Old systems get a fast patch, get restarted, and don't come back.

Brockman says this is only the start: "We expect to find many more such issues over upcoming months." He also admitted the PHP fix was "quite slow and manual," and that the classic way of handling bugs "won't scale for the agentic era."

And Clayton wants AI companies to involve the government before each new model ships: "We need to continue with every iteration of these frontier models, engagement with the government, engagement with industry."

What this means for you

If a website you use runs on PHP, and most do, its owner was told a month ago to patch or unplug. TechCrunch notes PHP 8.1 and older versions are no longer supported, so those sites have real updating work to do.

Expect more outages like this one: logins that fail, apps that freeze, banks that stall for a few hours. Officials say that is the cost of patching fast. Keep your own devices and apps updated, and be wary of anyone who calls or texts during an outage claiming to "fix" your account.

The bigger lesson is uncomfortable. When AI can find a 14-year-old hole that humans missed, the race to fix it can break things faster than any hacker. Even at the NSA.

Questions people ask

Was the NSA hacked?

No evidence of that so far. The NSA, the White House and the Director of National Intelligence all say there are no signs of a cyberattack. Clayton blamed the outage on patching systems against PHP vulnerabilities.

What is NSANet?

NSANet is the NSA's highly classified internal network, used by employees to share classified information inside the agency. A former senior NSA official described it to CNN as "more of a network of networks," with many backups.

What do AI-found PHP bugs have to do with it?

In October, the NSA urged everyone to patch two critical PHP flaws found with AI tools including OpenAI's GPT-5.6 Sol. Clayton says the NSA's own patching caused some of its systems not to come back up as expected on November 17.