PHP2Shell was found by AI, leaked before its fix, and drew millions of exploit attempts within a day. The patch closes two CVEs. Only a workforce that can use AI closes the next hundred.
Facts current as of October 25, 2026
What is the PHP security bug?
The PHP security bug is PHP2Shell: two critical remote code execution vulnerabilities (CVE-2026-109618 and CVE-2026-109619) in the PHP interpreter, patched on October 21, 2026. Both are rated 9.2 on CVSS v4.0 and affect every PHP version from 5.4 through 8.5.11, which means most of the server-side web. An unauthenticated attacker can run code on any unpatched server that handles web requests.
Two things make this incident different from the hundreds of critical CVEs published every year. First, the flaws were found by AI. Researchers at Calif, working inside OpenAI’s Patch the Planet program, and independently at Wiz used frontier models to find bugs that had sat in PHP for over a decade. Second, the same AI capability that found them lowers the cost of exploiting them: within a day of disclosure, exploit attempts had reached the millions. That combination is the reason incidents like this will become more frequent, and the reason the enterprise response has to be a workforce response, not only a patching one.
What is happening with PHP2Shell right now?
PHP shipped emergency fixes a day early after details leaked, exploit attempts reached the millions within a day, and a further PHP advisory followed two days later. As of October 25, 2026, this is where things stand:
| Date (2026) | Event | Source |
|---|---|---|
| Aug 1–24 | Calif (with OpenAI’s GPT-5.6 Sol) and Wiz (with Gemini 4 Argon, Wiz Atlas and GPT-5.6 Sol) independently find and report the flaws to PHP | GIGAZINE, CNN |
| Oct 17 | Amazon Threat Intelligence later identifies an exploitation attempt in honeypot telemetry, four days before disclosure | The Hacker News |
| Oct 20 | Details leak on social media ahead of the planned Oct 22 disclosure; PHP moves the release up | watchTowr |
| Oct 21 | Fixed releases ship: 8.5.12, 8.4.27, 8.3.36, 8.2.35. PHP states there are no complete mitigations and updating is the only safe choice | PHP release |
| Oct 21 | CISA urges immediate patching; organizations that cannot update, or that run PHP 8.1 or earlier, are told to take PHP systems offline | CISA |
| Oct 21–22 | Cloudflare logs tens of thousands of exploit attempts within 45 minutes of disclosure and millions by early Oct 22; the Dutch NCSC investigates first signs of successful misuse | The Hacker News, Cloudflare |
| Oct 21–24 | Banks, retailers, hospitals and government agencies in several countries take websites offline to patch | TechCrunch, Al Jazeera |
| Oct 23 | PHP publishes an informational advisory for a separate session-handling issue, CVE-2026-115560, not fixed by the Oct 21 releases; recommends disabling session upload progress until the next routine release | The Hacker News |
| Oct 23 | Sophos and Arctic Wolf report attempts to install a Mirai botnet variant via PHP2Shell; those attempts have so far failed, and researchers report a reliable exploit is proving harder to build than expected | The Hacker News |
| Oct 25 | Neither CVE is yet listed in CISA’s Known Exploited Vulnerabilities catalog; no public attribution | RadioCSIRT |
The two bugs are memory-safety flaws. CVE-2026-109618 is triggered when an out-of-memory error interrupts PHP while request data is only partially initialized. CVE-2026-109619 lets request state survive after its memory is freed, so a later request on the same worker can use it (Google Cloud).
The exposure is large. PHP runs roughly 70–80% of websites whose server-side language is known, including WordPress, Drupal, Joomla and Laravel. Researchers counted about 1.9 million internet-exposed hosts, and most servers that disclose a version run branches that no longer receive security updates (CyberScoop). For those, there is no patch to apply, only an upgrade or a shutdown.
Why will incidents like PHP2Shell happen more often?
Incidents like PHP2Shell will become more frequent because AI has lowered the cost of both finding and exploiting deep software flaws, while the human capacity to patch has not changed.
Four forces are compounding:
- AI is finding bugs that humans missed for years. The out-of-memory flaw behind CVE-2026-109618 was spotted in a 2024 audit but never fixed, because no exploit existed and maintainers could not agree on a fix (Wikipedia). AI models produced the exploit. OpenAI says PHP2Shell is one of several significant vulnerabilities it has already found, and that it expects similar findings to increase sharply in the coming months (CyberScoop). In the same month, researchers reported using a public OpenAI model to build a full Chrome exploit chain in six days (The Hacker News), an AI-found Linux kernel flaw that gives local users root (The Hacker News), and an AI-found flaw across HEIF image decoders (CyberScoop).
- Exploits that used to require specialists are now cheap to adapt. Wiz’s researchers note that writing a working exploit for a memory bug across many PHP versions and configurations used to take rare expertise. Large language models can now adapt an exploit to a new version or memory layout and run the testing loop, which changes the economics of both discovery and exploitation (CyberScoop). Attackers get the same tools defenders do.
- The window between disclosure and mass exploitation is now measured in hours. Fastly observed active probing across PHP applications within a day and put the gap between disclosure and repeatable exploitation at hours to a few days for a flaw of this severity (CyberScoop). Cloudflare logged tens of thousands of exploit attempts within 45 minutes of disclosure and millions by the next morning, and by October 23 botnet operators had joined in. A reliable exploit was still proving harder to build than expected, and confirmed compromises remained few: that gap is the window defenders get, and it closes with every iteration an attacker’s model runs (The Hacker News).
- Vulnerability volume is already at record levels. Microsoft’s October 2026 Patch Tuesday fixed 1,413 vulnerabilities, more in one month than any prior annual total (CyberScoop). The PHP Foundation that had to ship the PHP2Shell fix has 13 full- and part-time employees (Wikipedia).
The net effect: more critical flaws, found faster, exploitable sooner, landing on security and IT teams whose headcount is flat. The bottleneck has moved from the vendor’s patch to the enterprise’s ability to find every affected system and act on it before the exploit is automated.
What turns a known vulnerability into a breach inside an enterprise?
In most enterprises, the gap between a published patch and a patched estate is a people problem, not a tooling problem.
PHP2Shell makes that visible: the fix existed on October 21, exploit attempts began the same hour, and the organizations still exposed days later are the ones that could not inventory, triage and update fast enough. Correlation One’s discovery work with enterprises in 2026 keeps surfacing the same four conditions behind that lag.
Each of these conditions existed before PHP2Shell. The incident is the first time many leaders will feel their cost in hours.
Why is AI enablement for the workforce one of the best security investments an enterprise can make?
Because the constraint PHP2Shell exposed is human throughput, and AI enablement is the only investment that raises it for every future incident at once.
A patch fixes one CVE. A WAF rule blocks one exploit pattern. A workforce that can use AI competently on inventory, triage, remediation and communication gets faster on all of them, and the gains compound as vulnerability volume grows. Three reasons the return is unusually high right now:
- The licenses are already paid for. Most large enterprises have sanctioned AI tools deployed to tens of thousands of seats. One large financial services firm we spoke with had enabled Copilot Chat for more than 70,000 associates without a formal rollout. The period between tool availability and productive use is where the value is won or lost. Enablement converts a sunk cost into capability; it does not add a new line item of the same size.
- The attacker’s advantage is a skills advantage. Wiz’s point is that AI reduced the specialist effort needed to turn a decade-old memory bug into a working exploit. The defender’s equivalent is an engineer who can use the same class of model to scan a codebase for affected versions, draft the upgrade across every image and pipeline, write the regression tests, and summarize exposure for the board, in hours rather than days. That engineer is trained, not hired; the market does not have enough of them to hire.
- Governance only works at the keyboard. Incidents are when policy is most likely to be bypassed. An enablement program that pairs persona-based permissions with training, so that each tier of employee knows what they may do, with which tool, on which data, is the control that holds when a team is working at 2 a.m. to take a PHP 7.4 server offline. Written AI policy without trained behavior does not.
The programs that produced measurable results in our 2026 engagements shared a sequence: calibrate to real workflows, establish a measured baseline, build shared fluency, split into role tracks (engineering separate from corporate), redesign actual workflows in applied labs, then sustain with champions and governance built in. Security and IT teams belong in the engineering track, with incident response as one of the workflows redesigned.
What should enterprise leaders do about PHP2Shell this week?
Patch first, then use the incident to find out how fast your organization can actually move.
- Update every PHP installation to 8.5.12, 8.4.27, 8.3.36 or 8.2.35, then restart the PHP process. Include container images, CI/CD base images and vendor appliances, not only servers. Anything on 8.1 or earlier has no patch: upgrade it or take it offline, per CISA.
- Set
session.upload_progress.enabled=0until the next routine PHP release. It is PHP’s listed mitigation for CVE-2026-109619 and its recommended action for the separate CVE-2026-115560 advisory of October 23. - Hunt back to October 17. Amazon’s telemetry shows attempts four days before disclosure. Check web-server logs for shells spawned by the PHP worker and unexpected files in the web root.
- Inventory what you could not find quickly. Every PHP host that took more than a day to locate is a gap in asset visibility. Record it.
- Time the response. Hours from advisory to full remediation is the metric that matters as disclosure-to-exploitation windows shrink. Most organizations have never measured it.
- Ask which teams used AI during the response, and how. If the answer is “nobody” or “unofficially,” that is the enablement gap. If someone used an unsanctioned tool on production data under pressure, that is the governance gap.
- Baseline AI fluency in security, IT and engineering before the next one. PHP2Shell will not be the last critical flaw found by a model this quarter. Build the engineering AI track, with incident response as a redesigned workflow, while the cost of the lag is still fresh.
Key takeaways
- PHP2Shell is two CVSS 9.2 remote code execution flaws in PHP 5.4 through 8.5.11, patched October 21, 2026, with exploit attempts in the millions by the next day.
- AI found the flaws, AI made them practical to exploit, and OpenAI expects similar findings to increase sharply. Disclosure-to-exploitation is now hours.
- The enterprise bottleneck is human throughput: inventory, triage, remediation and reporting across a sprawling estate.
- Four conditions we see in discovery turn a known CVE into exposure: tools without fluency, no baseline, engineers trained on the wrong tools, and uncoordinated IT, enablement and governance.
- AI enablement raises throughput for every future incident at once, on licenses already paid for, and makes governance a trained behavior rather than a document.
Frequently asked questions
PHP2Shell is the name given to two critical remote code execution vulnerabilities in PHP, CVE-2026-109618 and CVE-2026-109619, disclosed and patched on October 21, 2026. Both are rated 9.2 on CVSS v4.0 and allow an unauthenticated attacker to run code on a vulnerable web server.
All PHP versions from 5.4 through 8.5.11. Fixed releases are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and earlier branches are unsupported and have no fix; CISA advises upgrading or taking those systems offline.
Exploit attempts are running at scale: Amazon logged a first attempt on October 17, four days before disclosure, and Cloudflare reported attempts rising from tens of thousands within 45 minutes of disclosure to millions by October 22. Confirmed compromises were still few as of October 25; the Dutch NCSC was investigating first signs of successful misuse, and botnet attempts reported by Sophos and Arctic Wolf had failed. CISA had not added the CVEs to its Known Exploited Vulnerabilities catalog as of October 25, 2026.
Researchers at the security firm Calif, working within OpenAI’s Patch the Planet program and using the GPT-5.6 Sol model, reported the first flaw in August 2026. Wiz, owned by Alphabet, independently found and reported the flaws using Gemini 4 Argon, Wiz Atlas and GPT-5.6 Sol.
AI models can now find deep memory-safety bugs that human audits missed and adapt exploits across software versions and configurations, work that previously required rare specialist skill. OpenAI has said it expects similar findings to increase sharply in the coming months. The same capability shortens the window between disclosure and mass exploitation to hours.
AI enablement raises the speed at which security, IT and engineering teams can inventory affected systems, remediate them across environments, and report exposure, using AI tools the enterprise has usually already licensed. Paired with persona-based permissions and training, it also makes AI governance a behavior employees apply under pressure rather than a policy document.
Sources
- CISA: Critical Vulnerabilities in PHP Require Immediate Patching (Oct 21, 2026)
- PHP 8.4.27 release notes (Oct 21, 2026)
- watchTowr: PHP2Shell FAQ (updated Oct 22, 2026)
- CyberScoop: PHP releases emergency fixes for 2 critical vulnerabilities (Oct 21, 2026)
- Cloudflare: Deploying protections against php2shell (Oct 21, 2026)
- Google Cloud / Wiz: Responding to core PHP vulnerabilities (Oct 21, 2026)
- The Hacker News: PHP warns of another unpatched RCE risk (Oct 23, 2026)
- TechCrunch: How two critical web bugs almost broke the internet (Oct 24, 2026)
- RadioCSIRT Newsletter 69 (Oct 25, 2026)
- CNN, Al Jazeera, GIGAZINE, Wikipedia: PHP2Shell
Find out how fast your teams can move before the next one
Correlation One designs and delivers AI enablement programs for enterprise security, IT and engineering teams, with a measured baseline and governance built in from the first session.
Correlation One delivers AI, data and cybersecurity workforce training for enterprises, governments and development programs. Since 2015 we have trained more than 500,000 professionals across 50+ countries and delivered programs for 500+ employer partners, measuring success in applied business outcomes, verified jobs and wages.

.png?width=207&height=108&name=Mega%20menu%20%E2%80%93%20Featured%20Image%20Template%20(1).png)
Poland
Japan

