The Plain Record

Neutral daily news — clear headlines, complete facts.

National

AI Discovery of PHP Security Flaws Prompts Global Patching Effort and Website Outages

Researchers used AI to find a decade-old vulnerability in the PHP programming language, leading to emergency patches and government website shutdowns.

Published October 22, 2026 at 11:21 AM EDT

The short answer

Researchers used AI to find a decade-old vulnerability in the PHP programming language, leading to emergency patches and government website shutdowns. Cybersecurity researchers using artificial intelligence models have identified two critical vulnerabilities in PHP, a programming language that powers approximately 70% to 75% of websites globally.

AI Discovery of PHP Security Flaws Prompts Global Patching Effort and Website Outages

The Facts

Who
PHP Foundation, OpenAI, Google, Wiz, Calif, FBI, and various European governments.
What
Identification and patching of two critical PHP vulnerabilities discovered via AI.
When
Wednesday, October 21, 2026
Where
Worldwide, with reported outages in Europe and Asia.
Why
The flaws affect up to 75% of websites and could allow unauthorized actors to take control of servers and steal data.

Cybersecurity researchers using artificial intelligence models have identified two critical vulnerabilities in PHP, a programming language that powers approximately 70% to 75% of websites globally. The discovery, disclosed on Wednesday, October 21, 2026, prompted the PHP Foundation to release emergency security updates and led several government agencies in Europe and Asia to take their websites offline to prevent potential exploitation.

The security flaws, collectively nicknamed "PHP2Shell," had existed in the PHP codebase for at least a decade. While human researchers had previously noted unusual behavior in the code, the complexity of the bug made it difficult to develop a functional exploit manually. Researchers from the firms Calif and Wiz used AI tools, including OpenAI’s GPT-5.6 Sol and Google’s Gemini 4 Argon, to uncover the vulnerabilities. According to Wiz, the AI was able to perform the tedious, long-term task of identifying the flaw much faster than a human could.

The vulnerabilities allow for remote code execution, which the FBI's cyber division stated could permit hackers to take control of servers, install malware, or steal sensitive data. Amazon reported that its security team detected an attempt to exploit the flaws against a "honeypot" decoy system on October 17, four days before the public disclosure. Following the announcement on October 21, several governments, including those of the Netherlands, Denmark, Finland, and France, took various public portals and services offline as a precaution.

For the average internet user, the risk involves the potential theft of personal information stored on vulnerable websites, such as names, dates of birth, physical addresses, and email addresses. While visiting a PHP-based site does not automatically compromise a user's device, a breach of the website's server could expose their account data. The UK’s National Cyber Security Centre rated the danger at 9.2 out of 10, warning that the public release of the fix allows hackers to use AI to reverse-engineer the bug and launch automated attacks against servers that have not yet been updated.

Moving forward, the PHP Foundation and government agencies like the FBI and NSA are urging all organizations to install the emergency patches immediately. Those unable to apply the updates are encouraged to take their websites offline temporarily to prevent unauthorized access. The PHP Foundation released the technical details and update instructions on its official website on October 21. Cybersecurity experts indicate that a "race to exploit" is currently underway, and website owners will continue to be at risk until the new software versions are successfully deployed across their servers.

Timeline of what happened

Key dates and decisions, in the order they occurred.

  1. August 1, 2026

    Cybersecurity firm Calif identifies flaws using AI tools

  2. October 16, 2026

    White House is notified of the PHP vulnerabilities

  3. October 17, 2026

    Amazon detects exploit attempt on decoy honeypot system

  4. October 21, 2026

    PHP Foundation releases emergency patches and public disclosure

Summaries are written by The Plain Record to state the facts of a story plainly and without political slant. Drafted with AI assistance and checked against the source record before publication. See how we report, or report a correction.

← Back to the front page

Questions readers ask

What happened: AI Discovery of PHP Security Flaws Prompts Global Patching Effort and Website Outages?

Cybersecurity researchers using artificial intelligence models have identified two critical vulnerabilities in PHP, a programming language that powers approximately 70% to 75% of websites globally. The discovery, disclosed on Wednesday, October 21, 2026, prompted the PHP Foundation to release emergency security updates and led several government agencies in Europe and Asia to take their websites offline to prevent potential exploitation.

Who is involved?

PHP Foundation, OpenAI, Google, Wiz, Calif, FBI, and various European governments.

When did this happen?

Wednesday, October 21, 2026

Where did this happen?

Worldwide, with reported outages in Europe and Asia.

Why does this matter?

The flaws affect up to 75% of websites and could allow unauthorized actors to take control of servers and steal data.