Two AI-Assisted Teams Found PHP2Shell Flaw in PHP Core: 70% of the Web Runs on It, Patch Took Two Months
Two teams independently found two flaws in the PHP core under the shared name PHP2Shell. According to a review cited by the article, PHP runs about 70% of websites. Ryan Austin of Calif used GPT-5.6 Sol, while Wiz used Gemini 4 Argon. The fix was prepared in secret for two months before publication. For that reason, the official PHP patch should be installed immediately, and WAF rules are only a temporary stopgap, not a replacement for the update.
AI-processed from Latent Space (swyx); edited by Hamidun News
Imagine a crack found in the foundation of a building where most of your neighbors live. Changing the locks on apartment doors is pointless, because the problem is not there. That is roughly what the PHP2Shell story looks like.
In October 2026, two vulnerabilities were disclosed in the PHP core itself. PHP is the language that, according to the author of a Latent Space review, runs about 70% of the web. They received the identifiers CVE-2026-109618 and CVE-2026-109619.
AI models found them, notably GPT-5.6 Sol from OpenAI. Work on the fix continued for about two months before public disclosure, which is the "two-month patch" from the headline.
For practitioners, the takeaway is simple: waiting for a plugin or CMS update will not work here. You need to update PHP itself.
Who Found the Flaw and How
Two parties made the discovery independently. The first is Ryan Austin, a researcher at the security firm Calif. He worked under OpenAI's Patch the Planet program and used GPT-5.6 Sol. Access to cyber tools, judging by participants' posts, came through Daybreak, a separate OpenAI initiative backed by a $1 billion subsidy. These are two different things: Patch the Planet focuses on fixing vulnerabilities, while Daybreak provides access to the models.
The second party is Wiz, recently acquired by Google Cloud. It used Gemini 4 Argon, GPT-5.6 Sol, and its own tool, Wiz Atlas. An account linked to Wiz attributes to Gemini the search for flaws, the construction of exploit chains, the creation of detectors, and the verification of patches. This means the story involves several participants, not the victory of a single vendor.
According to the researchers' description, the bug sits in the internal handling of situations where PHP runs out of memory, along with fatal errors. The researchers demonstrated unauthenticated remote code execution in WordPress, Drupal, and Joomla, as well as a Heartbleed-style memory leak affecting any PHP application. A caveat: these are the researchers' own results. It does not follow that every installation is equally and immediately vulnerable.
Two Months of Preparation and an Urgent Release
OpenAI describes roughly two months of coordinated work before disclosure. The patch required a substantial change to the PHP engine. Maintainers, researchers, security vendors, and governments that were briefed confidentially took part. One of the researchers confirms that they worked with the PHP Foundation to strengthen the patch. These are accounts from participants; there is no independent audit of the timeline.
Other players joined before the release. Cloudflare enabled WAF rules for known attack vectors in advance, including on its free tier. The company's CTO explicitly called them a temporary measure and urged people to install the patch by 14:00 UTC. Cloudflare has already seen the first attack attempts, but it does not specify how many of them succeeded. The NSA advised preparing for an immediate update, and, if the flaw cannot be closed quickly, shutting systems down.
Some information is less firmly confirmed. It is reported that details leaked before the release, that about 1.5 million servers (an estimate citing Censys) remained unpatched, and that websites in Europe and other countries were taken offline because of the incident. None of these claims is backed by a primary source in the material, so they should be treated as unverified. After the disclosure, OpenAI published a repository with a Codex skill that helps check whether your site is affected.
What to Do in Practice
For an operations team, a sensible sequence is:
- Pull the official PHP and your distribution's security bulletins.
- Compile a list of every PHP runtime: on shared hosting, in containers, in background workers, and in legacy applications.
- Enable temporary protection, such as a WAF, while understanding its limits.
- Install the fixed packages and confirm that the new processes are actually running.
- Check for signs of compromise that predate the update.
A WAF can create a false sense of security. Cloudflare's statement is narrower than advice to "hide everything behind it": known vectors are closed, protection is being refined, and the patch remains mandatory. You should also verify that there are no bypass routes to the origin server.
What We Still Don't Know
The available material contains no direct bulletin from the PHP Foundation, no exact table of fixed versions, and no package identifiers. For that reason, a universal instruction to "update to version X" cannot be given here. There is also no confirmed data on exactly what leaked before the release.
For the industry, the takeaway is this: AI models are already finding critical flaws in foundational software, and this time defenders got a two-month head start. The review's author expects at least another year of similar discoveries, but considers it wrong to blame those who find them. A rising number of disclosures does not mean a rising number of successful breaches, but the load on administrators is definitely rising. If your PHP inventory and rapid rollout of updates are not in order, now is the time to fix them.
- Nov 25, 2026Stores Take 35% of Brand Mentions in ChatGPT, But They Aren't Recommendations
- Nov 25, 2026Amazon Is Negotiating with Meta to Let Its Muse Agent Back In, Which Accounts for 51% of Agentic Orders
- Nov 25, 2026Google's Cogentic Agent Wrote Six Papers, Including a New Factoring Algorithm
- Nov 25, 2026OpenAI says matrices can't be multiplied faster than n^2.25 operations, but no one has verified the claim yet
Key Questions Answered
Who Found the Flaw and How?
Two parties made the discovery independently. The first is Ryan Austin, a researcher at the security firm Calif. He worked under OpenAI's Patch the Planet program and used GPT-5.6 Sol. Access to cyber tools, judging by participants' posts, came through Daybreak, a separate OpenAI initiative backed by a $1 billion subsidy. These are two different things: Patch the Planet focuses on fixing vulnerabilities, while Daybreak provides access to the models. The second party is Wiz, recently acquired by Google Cloud.
What are the key details on Two Months of Preparation and an Urgent Release?
OpenAI describes roughly two months of coordinated work before disclosure. The patch required a substantial change to the PHP engine. Maintainers, researchers, security vendors, and governments that were briefed confidentially took part. One of the researchers confirms that they worked with the PHP Foundation to strengthen the patch. These are accounts from participants; there is no independent audit of the timeline. Other players joined before the release.
What to Do in Practice?
For an operations team, a sensible sequence is: Pull the official PHP and your distribution's security bulletins. Compile a list of every PHP runtime: on shared hosting, in containers, in background workers, and in legacy applications. Enable temporary protection, such as a WAF, while understanding its limits. Install the fixed packages and confirm that the new processes are actually running. Check for signs of compromise that predate the update. A WAF can create a false sense of security.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
