Saturday, 24 October 2026Independent · Nonpartisan · SourcedExistential.nz
The Weekly Existential

Sober reporting on the risks to humanity's future

Artificial intelligence · Acute

Black October: AI finds the bugs, and the web scrambles

AI-assisted researchers found two critical flaws in PHP, the language behind most of the world's websites. The details leaked a day early, governments pulled sites offline, and exploit attempts ran into the millions within a day.

By The Weekly Existential24 October 2026

On 21 October the PHP project shipped emergency fixes for two flaws in the core of the language, tracked as CVE-2026-109618 and CVE-2026-109619 and nicknamed PHP2Shell. Both let an attacker run code on a web server without logging in and without anyone on the server doing anything. PHP's security team rated each 9.2 out of 10; some early reports said 10.1 PHP sits under WordPress, Drupal, Magento and Laravel, and runs about 70% of websites whose server-side language can be identified, according to W3Techs.2 The bugs had been in the code for more than a decade.3

How AI found them

The security firm Calif found one of the flaws in August, during an audit of PHP funded by OpenAI and carried out with help from an OpenAI model. Wiz, owned by Google, independently found and reported both.4 Wiz said exploiting them took a complex chain of steps "at the edge of what human researchers could practically achieve", and that researchers used AI to adapt the exploitation techniques.5

That is the new element. Old bugs in widely used software are not unusual. What changed is the cost of finding them, and of turning a finding into a working attack, in code that thousands of people had read for years.

The leak and the scramble

Disclosure was meant to be coordinated, with patches released at the same moment the flaws were made public. Instead the details leaked on 20 October, a day early, and the release was pulled forward.6 The fixed versions are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Older branches get no upstream fix, and the PHP developers said no configuration change fully blocks the attacks: upgrading is the only complete defence.1

Officials told operators who could not patch at once to take their sites down. The NSA and Europe's cyber-security agency urged immediate action, and the FBI warned of remote code execution.4 Government sites in France, Denmark, Finland and the Netherlands went offline while fixes were applied, including the Dutch national cyber-security agency's own site. In Australia the government's cyber-security site went down, and in Japan ANA, JR West and the bank MUFG suspended some web pages and services.23

Attacks: attempts in the millions, compromises unconfirmed

Germany's federal cyber-security agency, the BSI, rated the threat orange, its second-highest level, and advised operators who could not patch quickly to consider taking their servers offline. Attempts are not compromises: by 23 October no successful break-in had been publicly tied to PHP2Shell, and the BSI and Japan's government had confirmed none. Most of the outages were precautions taken while patching.9 With millions of unpatched servers and a working attack in circulation, that will not last.

A bad week elsewhere

Two confirmed compromises landed the same day, though neither has been tied to AI-found flaws. Version 1.107.0 of LiteLLM, a widely used open-source tool for connecting software to AI models, was published with a credential stealer and a backdoor after its release pipeline was compromised. PyPI quarantined it.10 The cloud platform Railway disclosed that an unauthorised party may have obtained some customers' decrypted environment variables, which typically hold passwords and API keys. It told customers to rotate their secrets and invalidated all Railway API tokens.11 Commentators have taken to calling the month "Black October".12

Why it matters beyond this week

PHP2Shell is the largest case so far of a pattern that has been building for a year:

An Anthropic executive told Bloomberg this week that disruption of this kind would "get a lot worse before they get better".15

The other side of the ledgerThe same capability cuts both ways. These flaws were found by defenders, reported, and fixed in a co-ordinated release, and the leak, not the AI, is what removed the head start. AI-assisted auditing of foundational code is also the most promising way to find such bugs before attackers do. What this week showed is how little time separates disclosure from mass exploitation, and how many systems cannot be patched in that time.

Does it pass the mechanism test?

A website outage is not an existential event. The pathway this site watches is narrower: AI that makes it cheap to find and exploit flaws in software that everything else depends on, faster than the world can patch. Taken far enough, that threatens the systems that run power, water, finance and government at the same moment. PHP2Shell does not show that this has happened. It shows the first stage at internet scale: the flaws were found with AI, the attacks began before disclosure, and the response depended on millions of operators patching within hours. We are treating it as a leading indicator, not a catastrophe.

Sources

  1. BleepingComputer, PHP ships emergency patches for critical PHP2Shell flaws; Help Net Security, PHP2Shell: critical PHP vulnerabilities patched, 21 October 2026; Canadian Centre for Cyber Security, Alert AL26-026; AWS, Security bulletin 2026-143.
  2. W3Techs, Usage statistics of PHP for websites; CNN, Websites shut down globally after AI finds cybersecurity flaw affecting 70% of the internet, 21 October 2026; ABC7, Websites shut down globally as operators address AI-detected flaw.
  3. iTWire, PHP2Shell: the 14-year-old bugs that pulled cyber.gov.au and government sites worldwide offline.
  4. PBS NewsHour, AI discovered a software vulnerability that could impact 70% of websites worldwide; Axios, OpenAI model uncovered massive flaw in web's foundational code, 21 October 2026.
  5. Fortune, AI helped discover the PHP vulnerability that could take down 70% of the internet, 21 October 2026; Wiz, PHP2Shell: AI uncovers critical RCE vulnerabilities (primary, discoverer).
  6. watchTowr, PHP2Shell RCE exploited; SecurityWeek, PHP2Shell: mass exploitation looms for leaked critical PHP flaws.
  7. Amazon Web Services, Amazon Threat Intelligence identifies PHP2Shell exploitation prior to public disclosure (primary).
  8. The Hacker News, PHP2Shell exploit attempts hit millions as attackers try to deploy Mirai malware; TechTarget, PHP2Shell: 22M exposed servers at risk; CybelAngel, 2.24M internet-facing PHP hosts.
  9. The Register, Hackers pile on PHP2Shell as AWS reveals attacks began before disclosure; Malwarebytes, PHP2Shell: why many websites had to go offline; Stuttgarter Zeitung, PHP-Panne weltweit (BSI warning level).
  10. The Hacker News, LiteLLM compromised in supply chain attack delivering credential stealer and backdoor.
  11. Railway disclosure as summarised by HOL Guard.
  12. CNBC, AI's 'Black October': PHP vulnerabilities trigger fresh wave of alarms, 23 October 2026.
  13. Anthropic, Firefox security work with Mozilla; TechCrunch, Anthropic's Claude found 22 vulnerabilities in Firefox over two weeks, 6 March 2026.
  14. SecurityWeek, Google detects first AI-generated zero-day exploit; The Hacker News, Hackers used AI to develop first known zero-day 2FA bypass for mass exploitation, May 2026.
  15. Bloomberg, AI ushers in era of rapid-fire software vulnerabilities, 23 October 2026.