The Patch That Took Down NSANet

In August, AI tools found a flaw that had sat in PHP for 14 years. The fix came out on 21 October, and attacks began within minutes. On 17 November, the Director of National Intelligence said the rush to patch had taken the NSA's classified network offline. Google now reports AI agents that turn new patches into working exploits with no human involved. Defenders and attackers are reading the same patch notes, and one side is reading faster.
Fourteen years in plain sight
PHP runs the server side of a large share of the web, WordPress included. Wiz, which Google owns, says it powers 70% of all websites. In August, several teams working with AI models found critical flaws in it. According to Fortune, Calif reported the first issue on 1 August using OpenAI's GPT-5.6 Sol. Wiz Research found its bug on 19 August with Gemini 4 Argon, GPT-5.6 Sol and its own Wiz Atlas tool, and reported it to the PHP project five days later. OpenAI president Greg Brockman said the bug had been present in PHP for 14 years.
The flaws, CVE-2026-109618 and CVE-2026-109619, now known as PHP2Shell, let an attacker run code on a server without logging in. Wiz says every PHP version released in the last decade is affected, back to 5.4. Palo Alto Networks' Unit 42 counted 22.6 million potentially vulnerable instances. "It marks an AI inflection point," the Wiz researchers wrote. TJ Sayers of the Center for Internet Security put it in practical terms: "Php2shell shows how AI can help uncover buried flaws."
Forty-five minutes
The patches and the public disclosure landed together on 21 October. Cloudflare CEO Matthew Prince said his network saw tens of thousands of exploit attempts within 45 minutes and hundreds of thousands within two hours, Fortune reported. The same day, the NSA told organizations that could not update at once to "take the system offline until it can be fully mitigated." The Netherlands and Finland took some government sites offline, and Finland's state IT provider Valtori said restoring them could take days or weeks.
The Israeli firm Dream described one campaign in detail. A suspected China-nexus operator fingerprinted about 19,000 firewalls, picked 240 targets and took root access on 25 servers in the US, Japan, Taiwan and South Korea. Three of them sat in a US government-affiliated environment, the first one taken on 23 October. SOCRadar traced a second operator who wrote an exploit script on 21 October and then ran 39 parallel workers on self-hosted DeepSeek models against 595 addresses in 57 countries. SOCRadar counts 404 confirmed compromises and about 290,000 stolen files, and describes the campaign as human-directed and AI-augmented.
The machines read the patch notes too
On 16 November, Google Threat Intelligence Group published its AI Threat Tracker. It describes a framework called exploit_agent, found on an exposed staging server, that compares code before and after a security fix, drafts an exploit and runs it. GTIG says this is the first time it has seen attackers automate vulnerability research and exploitation without a human in the loop. It expects fully autonomous agentic attacks within the next three to six months. Three days earlier, the FBI had issued a FLASH alert on ARTEX, another attack framework in use since at least August.
A published patch has become a map that both sides read. Defenders use it to find what to fix, and an agent can use it to find where to strike. GTIG's own count shows the pace: 22 zero-day exploits in August 2026, against an average of eight a month in 2025.
The rush to patch
The week of 12 November brought a run of American outages. Microsoft 365 failed on 12 and 13 November, which Microsoft traced to a bug from a July update. On 13 November the FAA ordered a nationwide ground stop after a router flooded its network with connection requests during copper-to-fiber work in El Dorado, Arkansas. JPMorgan Chase cited a software bug on 16 November, and Apple pointed to an internal update on 17 November.
That evening NSANet went down. Nextgov describes it as the NSA's primary platform for transmitting top-secret data. Most staff were kept off the main campus, and arrivals were staggered the next morning. The NSA described a "temporary degradation during scheduled routine maintenance" and said mission-critical capabilities stayed fully operational. Director of National Intelligence Jay Clayton went further on Fox Business. Patching, he said, "has caused some of these systems to not come back up," adding: "That is what has happened at the NSA today." He also said: "We do not see the indicia of a coordinated cyber attack."
Officials have not tied every outage to PHP2Shell. FAA Administrator Bryan Bedford said there was "zero evidence of anything AI-related" in his agency's case. Senator Mark Warner, vice chair of the Senate Intelligence Committee, said AI-found flaws are "creating enormous pressure on companies and government agencies to patch those vulnerabilities immediately." Cliff Steinhauer of the National Cybersecurity Alliance told Fortune: "We don't always have time to fully test every update." Christiaan Beek of Rapid7 offered an engineer's reminder: "Complex systems fail in boring ways far more often than because of an adversary."
Why it matters for Data-In-Transit
Much of this race runs on the equipment that carries traffic. Dream's operator started from firewalls. The August 2025 joint advisory from CISA, the NSA, the FBI and international partners described state-sponsored actors exploiting provider edge and customer edge routers at telecom carriers, devices that "often lack visibility and are difficult to monitor." The FAA's ground stop began with a router during a fiber migration. The Department of War's Post Quantum Cryptography Strategy lists routers, firewalls, proxies and switches among the systems that protect data in transit.
Every one of those devices now sits in the same race. When it is patched, the link it serves may go dark, as NSANet did. When the patch waits, an agent may reach the device first. Traffic that passes through a compromised device can be copied, which brings back the risk the DoW strategy calls Harvest Now, Decrypt Later: data recorded today and opened once the keys or algorithms that protect it fail.
The protection options sit at different layers. Faster, automated patching at the edge shortens the window. MACsec and IPsec protect traffic between routers. Encryption at Layer 1, which Ciena, Nokia and Adtran build into their optical gear, protects the fiber beneath the routers and servers where flaws like PHP2Shell live. PQC hardens the key exchange, and research into physical-layer methods aims to limit what a tap on the line can capture. The question for every network team this winter is how much of its protection depends on patching faster than software that reads the patches first.
Two more things
- The patch load is measured in people. Bank of America said last month it hired 1,000 contractors to patch flaws exposed by Anthropic's Mythos model, on top of 3,000 internal staff. (Fortune, citing CNBC, 18 Nov 2026)
- Shutdowns carry a price. Cyber insurers told Insurance Business that clients should check how their policies treat a voluntary shutdown, the step the NSA advised for PHP systems that could not be updated. (Insurance Business, 22 Oct 2026)
Whose work this edition draws on
Tagged here so you can read their work directly.
- Shir Tamari: head of research, Wiz. With Sagi Tzadik, Nir Ohfeld and Tomer Schwartz, "PHP2Shell: AI uncovers critical RCE vulnerabilities affecting 70% of the Internet", 21 Oct 2026.
- Nir Ohfeld: head of vulnerability research, Wiz, co-author of the PHP2Shell research.
- Matthew Prince: co-founder and CEO, Cloudflare, on the first hours of PHP2Shell exploitation.
- TJ Sayers: senior director of threat intelligence, Center for Internet Security, quoted by Fortune.
- Christiaan Beek: vice president, Rapid7 Intelligence, on the week of outages.
- Cliff Steinhauer: director of information security and engagement, National Cybersecurity Alliance, quoted by Fortune.
- Emily Forlini: senior AI reporter, Fortune, on PHP2Shell (21 Oct 2026) and the outages (18 Nov 2026).
- Ravie Lakshmanan: The Hacker News, "PHP2Shell Attack Roots 25 Servers, Breaches U.S. Government-Affiliated Network", 28 Oct 2026.
- David DiMolfetta: cybersecurity and intelligence reporter, Nextgov/FCW, on the NSANet outage, 17 Nov 2026.
Sources
- Sagi Tzadik, Shir Tamari, Nir Ohfeld and Tomer Schwartz, Wiz Research, PHP2Shell: AI uncovers critical RCE vulnerabilities affecting 70% of the Internet, 21 Oct 2026. https://www.wiz.io/blog/php2shell-php-rce
- Emily Forlini, Fortune, AI helped discover the PHP vulnerability that could take down 70% of the internet. Now, the race is on to patch it before AI-powered hackers attack, 21 Oct 2026. https://fortune.com/2026/10/21/ai-tools-discovered-the-php-vulnerability-that-could-take-down-70-of-the-internet-now-the-race-is-on-to-patch-it-before-ai-powered-hackers-attack/
- National Security Agency, NSA Advisory: Critical Patches Recommended for PHP Vulnerabilities, 21 Oct 2026. https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4630238/nsa-advisory-critical-patches-recommended-for-php-vulnerabilities/
- Gia Snape, Insurance Business, PHP flaws put US cyber brokers on alert over shutdown coverage, 22 Oct 2026. https://www.insurancebusinessmag.com/us/news/cyber/php-flaws-put-us-cyber-brokers-on-alert-over-shutdown-coverage-594572.aspx
- Ravie Lakshmanan, The Hacker News, PHP2Shell Attack Roots 25 Servers, Breaches U.S. Government-Affiliated Network, 28 Oct 2026. https://thehackernews.com/2026/10/php2shell-attack-roots-25-servers.html
- Sinisa Markovic, Help Net Security, Google finds AI agent writing and launching exploits with no human in the loop, 17 Nov 2026. https://www.helpnetsecurity.com/2026/11/17/ai-powered-cyberattacks-gtig-report/
- Infosecurity Magazine, Fully Autonomous Agentic Attacks Are Three Months Away, Google Warns, Nov 2026. https://www.infosecurity-magazine.com/news/fully-autonomous-agentic-attacks/
- SOCRadar, PHP2Shell Exploited by AI Agents from Day One: Inside a Credential-Harvesting Campaign, 18 Nov 2026. https://socradar.io/blog/php2shell-ai-agents-credential-harvesting/
- David DiMolfetta, Nextgov/FCW, Classified NSA communications network down, people familiar say, 17 Nov 2026. https://www.nextgov.com/digital-government/2026/11/classified-nsa-communications-network-down-people-familiar-say/417277/
- Stepheny Price and Liz Claman, Fox Business, Jay Clayton addresses concerns amid widespread tech outages, 17 Nov 2026. https://www.foxbusiness.com/technology/jay-clayton-addresses-concerns-amid-widespread-tech-outages
- Marcus Schuler, Implicator, US Tech Outages: FAA, Microsoft, NSA, Apple and AI Patching, 17 Nov 2026. https://www.implicator.ai/us-tech-outages-ai-patch-rush/
- Emily Forlini, Fortune, 'A failure of implementation': AI played a key role in some outages, but not in the way you might think, 18 Nov 2026. https://fortune.com/2026/11/18/ai-played-a-major-role-in-the-nsa-banking-outages-but-not-in-the-way-you-may-think/
- CISA and partners, Countering Chinese State-Sponsored Actors Compromise of Networks Worldwide to Feed Global Espionage System, 27 Aug 2025. https://www.cisa.gov/news-events/alerts/2025/08/27/cisa-and-partners-release-joint-advisory-countering-chinese-state-sponsored-actors-compromise
- Department of War Chief Information Officer, Department of War Post Quantum Cryptography Strategy, 2026. https://dodcio.defense.gov/Portals/0/Documents/Library/DoW-PQC-Strategy.pdf