> status: mostly fine. patch anyway.practical AI security · est. 2026

Brief · Builders

Critical PHP Security Release: Patch, Rebuild, Skip the PoCs

By alkizz ·

You'd think the whole internet broke at 10 AM ET. It didn't. W3Techs says PHP is used by 69.3% of websites whose server-side language it can detect. That's most of the web, not the internet, and running PHP isn't the same as being exploitable.

Update, Dec 4, 2026:

Update, Oct 28, 2026:

The panic is still mostly doom talk. PHP is used by 69.3% of websites whose server-side language W3Techs can detect (as of Oct 21, 2026), and there is still no public sign of a mass break of ordinary PHP websites. CISA putting both bugs in KEV is real, though it hasn't said where or how widely they were exploited. Confirmed and reported compromise so far is appliance-shaped: Dream's report of 25 servers rooted, which we haven't verified, and Check Point Research's later write-up of unpatched gateways, including a wiper in the first wave (see the Dec 4 update). The spray on ordinary sites was noise. The fix is the same boring one, on the Nov 19 version line: patch PHP, including the PHP buried inside appliances and vendor products, restart your workers, and patch the kernel too. If a PHP box was exposed before you patched, go look.

Correction, Oct 26, 2026: An earlier version of the Oct 25 update said Unit 42 had reported the first successful PHP2Shell compromise: a European government entity where attackers, who Unit 42 said were using agentic AI tools, reached password hashes and MFA secrets within two hours. Unit 42 retracted that report on Oct 25. It says it is "unable to confirm that initial access is associated with the specific PHP2Shell CVEs." We've removed those claims and the advice built on them. Nothing else in the to-do list changes, and the score stays 5.

Update, Oct 25, 2026:

The spray is still mostly noise, and the hard part is still getting in. The one reported break-in turned out not to be confirmed as PHP2Shell, which is a good reminder to read Day 3 headlines the way you read Day 1 PoCs. That's not a reason to relax: the bugs are still unauthenticated RCE, and a working exploit exists. Patch, and if a PHP box was exposed before you patched, check it.

Update, Oct 22, 2026:

In this case, the gap between disclosure and exploitation went negative. Someone was trying it on AWS's honeypots four days before there was a patch to install. That's one case, not a law. It's also the one in front of you, so don't wait for KEV. Don't wait for the first confirmed breach, either. Patch today.

What's confirmed: PHP's Oct 21 release fixes CVE-2026-109618 (RCE via out-of-memory corruption) and CVE-2026-109619 (RCE via stale global state). Each is CVSS v4.0 9.2, with high attack complexity, and gives unauthenticated code execution as the web worker. PHP says any install serving web requests is at risk: FPM, mod_php, php-cgi, FrankenPHP, LiteSpeed. mod_php is worst, because the demonstrated exploit fires before any app code runs.

Confirmed: threat actors are already trying. Cloudflare says it "observed attack traffic targeting our customers" and saw attackers "mutating the attack payload" to get past its protections. On Oct 21, watchTowr told The Record it was seeing exploitation attempts in the wild, some using PoC tools built with AI's help, and that "nobody has been successful to date." Precursor Security reports attempts against both CVEs. At the time, no successful compromise was confirmed. Unit 42 reported one on Oct 23, then on Oct 25 retracted its link to these CVEs (see the Oct 25 update). On Oct 26, CISA added both CVEs to its Known Exploited Vulnerabilities catalog (see the Oct 28 update). Sansec says writeups and an exploit tool are public. It first expected mass exploitation; in an Oct 22 update, per SecurityWeek, it said attackers need detailed knowledge of a server and particular conditions on it. Don't wait for a breach of your own. Patch now. The pre-release demo Huntress says was posted and then pulled was a video of Calif's proof of concept, published by mistake, per the PHP Foundation.

Before release, the gap filled with unverified PoCs; at least one author said AI models helped write theirs. Then watchTowr said AI-vibecoded PoC tools were being fired at real servers, and as of Oct 21 none had worked, according to watchTowr.

The irony: AI helped with the real bugs too. Researchers at Calif, Wiz and OpenAI found and weaponized the bugs with help from frontier AI models; Sansec says all three credit frontier models with making the exploits practical. Wiz says it used Gemini 4 Argon and GPT-5.6 Sol; Calif says no special harness or models that weren't generally available were used in the initial discovery, and that knowing the target drove the find.

A random PoC may be fake, hit a different bug, or be malware aimed at people who run random PoCs. The config "mitigation" some traced to a chatbot answer, turning off session upload progress, was partly right: PHP now lists it as a mitigation for the session paths of CVE-2026-109619 only, not a fix. A fluent guess can be partly right, which is exactly why it's a hint and not a fix.

What to do:

It's real and worth patching today. It's also a patch, not the end of the internet. Update, rebuild, keep the logs, go back to work.

Sources

← All briefs