Brief · Builders
Critical PHP Security Release: Patch, Rebuild, Skip the PoCs
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:
- Confirmed RCE on researcher honeypots. On Oct 24, Adel Karimi documented 35 confirmed remote code executions on his honeypots. Wiz, writing on Oct 27, calls that report the most robust public evidence of request-to-execution it has seen, and notes the decoys used a favorable single-worker Apache
mod_phpsetup, so the findings do not prove the same chain is reliable on other deployments. This is confirmed RCE on researcher decoys, not a count of production breaks. - A confirmed campaign against Check Point gateways. On Nov 12, Check Point Research said that beginning Oct 30, attackers hit unpatched Check Point Security Gateways through Mobile Access portals with PHP2Shell, then escalated with CVE-2026-123039, a local privilege-escalation bug in the DynamicCLI interface. The first wave, on Oct 30, targeted Israeli organizations and included destructive activity against some of them, including a
destroy_v6wiper on a VMware ESXi host. A broader second wave on Nov 2 hit organizations in multiple countries and sectors, with no evidence of destructive activity. Check Point Research says the evidence does not support a high-confidence attribution. This is a separate appliance campaign from the Dream/Fragnesia report in the Oct 28 update. CISA added CVE-2026-123039 to its Known Exploited Vulnerabilities catalog on Nov 13, with a due date of Nov 16 (vendor Check Point, product Multiple Products). - The Oct 21 emergency packages are no longer the current line. On Oct 23, Cloudflare and PHP said a related session-upload-progress bug, CVE-2026-115560, still affected fully patched releases, including 8.5.12, and would be fixed in the next regular release. That release shipped Nov 19: 8.2.36, 8.3.37, 8.4.28, 8.5.13, and 8.6.0 (GHSA-658j-r8rw-q6mx). It is a separate, configuration-dependent issue from CVE-2026-109619. If you cannot move yet, keep
session.upload_progress.enabled=0, and check that nothing explicitly turns it back on: the fix changes the default, and an explicit enable wins.
Update, Oct 28, 2026:
- Now it's in KEV. CISA added CVE-2026-109618 and CVE-2026-109619 to its Known Exploited Vulnerabilities catalog on Oct 26, with a due date of Oct 29 (catalogVersion 2026.10.28). A KEV listing means CISA has evidence of active exploitation. The PHP entries don't say where, or whether anyone got in, and CISA lists known ransomware use as "Unknown." (CISA)
- The Oct 29 date is a federal deadline. It applies to Federal Civilian Executive Branch agencies under CISA's BOD 26-04, which also requires a forensic triage: checking whether the system was compromised before the patch went on. Everyone else isn't bound by it, but CISA encourages all organizations to prioritize KEV bugs, so treat it as a hint, and a fairly loud one.
- Sophos still sees nothing in its customers. Sophos's Oct 28 update still reports "no evidence of exploitation in Sophos customer telemetry." That's one vendor looking at its own customers, and it doesn't cancel out whatever CISA saw. Both can be true at once. Sophos also says it is monitoring third-party reports of exploitation "but has not confirmed the claims."
- First reported break-in on real systems. Security firm Dream said on Oct 26 that it found artifacts of a campaign that rooted 25 servers on Oct 23 and 24, including systems in a US government-affiliated environment. Per Dream, the attackers chained a custom, non-public PHP2Shell exploit with a Linux kernel privilege-escalation bug, Fragnesia (CVE-2026-46300), to root 24 of one vendor's firewalls through their internet-exposed management interfaces (the targeted versions run PHP 8.0.30), then used the same chain on an internal firewall management server, for 25 in all. Dream hasn't named the vendor or a threat actor. SecurityWeek reported it on Oct 28; we haven't independently verified Dream's findings. On Oct 28, CISA also added Fragnesia to KEV, saying it "can be chained with CVE-2026-109618 and CVE-2026-109619 to implant PHP webshells and run commands as root."
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:
- Unit 42 retracted its intrusion report. On Oct 23, Unit 42 reported a European government intrusion it tied to these bugs. On Oct 25 it retracted that update: it says the attack was against a European government agency "in the context of a vulnerable PHP application," but it is "unable to confirm that initial access is associated with the specific PHP2Shell CVEs." An earlier version of this update called that intrusion the first successful compromise in our sources. It isn't a confirmed PHP2Shell compromise. The morning of Oct 23, SecurityWeek (8:45 AM ET) reported that "no successful in-the-wild compromise has been confirmed so far." As of Oct 25, no successful PHP2Shell compromise of a production system was confirmed in our sources (see the Oct 28 update).
- Mirai operators are trying. Per SecurityWeek, Sophos says attackers tried to use PHP2Shell to install Potassium, which it believes is a Mirai variant. Sophos says the payload "was not delivered since the exploitation attempt was unsuccessful due to being blocked by Sophos countermeasures," and Sophos corrected an earlier update that had reported a successful exploitation. Hunt.io says the PHP2Shell traffic it sees comes from "an established Mirai-style IoT botnet." Arctic Wolf said its data doesn't show PHP2Shell requests fetching or running the malware.
- An ASLR bypass, but VulnCheck's isn't public. Per SecurityWeek, VulnCheck's exploit for CVE-2026-109618 gets past ASLR on x86-64 systems with PHP error display turned off, "which is the recommended setup for production." It's available to VulnCheck's Initial Access Intelligence customers. VulnCheck said it wasn't aware of "any other public or commercial exploit that achieves RCE on multiple versions of PHP in production configurations, though we expect that to change." VulnCheck also says at least one public PoC bypassed ASLR on x86-64, but only for PHP 8.4.26 with default heap configurations, and it didn't work outside that setup in VulnCheck's testing.
- Sansec walked back its prediction. Per SecurityWeek, Sansec said in an Oct 22 update that attackers need detailed knowledge of a server and particular conditions on it, and that the public exploits fail against PHP installations with default settings.
- Not in KEV as of Oct 25. Neither CVE was in the Oct 23 catalog available on Oct 25; CISA added both on Oct 26. (See the Oct 28 update.)
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:
- The first swing came before the patch. AWS says its MadPot honeypots caught a PHP2Shell exploitation attempt on Oct 17, four days before disclosure, from an anonymization network. AWS says it's unclear how the attacker got the details, and unclear whether any of the attempts it saw would have worked on real systems. It also says PHP2Shell "is now being broadly exploited in the wild."
- The other side: watchTowr's Jake Knott told SecurityWeek that the exploits being sprayed "either don't work at all, test for timing-based differences, or crash the target." Lots of attempts, no confirmed successful compromise in any of these sources. Don't relax on that: VulnCheck says it has a working exploit for its paying customers. Neither CVE is in KEV as of the latest feed (still catalogVersion 2026.10.21).
- Volume: Cloudflare CEO Matthew Prince says Cloudflare saw "thousands of attempts" in the 10 hours before the announcement, "tens of thousands in the 45 minutes post announcement, hundreds of thousands within 2 hours, and millions now." He posted that on Oct 21 at 9:25 PM ET; SecurityWeek carried the same numbers.
- Fake PoCs showed up on schedule. JFrog found prank PoCs on GitHub. One hides a Base64 string that looks like a malware dropper and actually changes your wallpaper to NSFW content. This one was a prank; the next one may not be. The advice below stands.
- The leak fight: PHP blames Chainguard for publishing patched images more than six hours before the coordinated release, per The Register. Chainguard's CEO told The Register the company "didn't leak" and shipped because people were already being hit.
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:
- Now:
- Inventory PHP: servers, images, managed hosts, appliances, WordPress-type stacks, and anything an agent deployed. Note who patches each and its SAPI. Do mod_php first.
- If you can't patch right away, isolate internet-facing PHP apps from public networks until you can, as CERT-EU advises.
- If your PHP site is proxied through Cloudflare (orange cloud), Cloudflare's CTO says it has "an initial set of WAF rules deployed for the known exploit vectors" on all plans, including free. He also calls it "a STOPGAP only": it buys time until you patch.
- Patch:
- Update to 8.6.0, 8.5.13, 8.4.28, 8.3.37 or 8.2.36. Those Nov 19 releases also fix CVE-2026-115560. CISA gave federal civilian agencies until Oct 29 for the original two bugs; for everyone else, that date was a hint. On Linux, patch the kernel too (CVE-2026-46300, Fragnesia), which CISA says attackers chained with these bugs to get root.
- If you run Check Point Security Gateways with Mobile Access, CVE-2026-123039 is in KEV as of Nov 13. Follow Check Point's own advisory; this is a local-escalation bug on the gateway, not a second PHP package.
- 8.1 or older gets no official release. PHP posted source-only backports for 7.4, 8.0 and 8.1; the real fix is a supported branch.
- That's not a niche case. VulnCheck counts more than 1.1 million internet-facing hosts on end-of-life branches. If that's you, the Cloudflare WAF rules or isolation above buy time; moving to 8.2 or later is the fix.
- If a third-party repo lags the official packages, switch to distro packages or build from source.
- Restart every PHP worker, rebuild images, and confirm the version your web server actually runs (e.g.
php-fpm -vor a non-publicphpinfo()page), not justphp -v. Managed hosts included. - Can't patch yet?
session.upload_progress.enabled=0in php.ini or the FPM pool (notini_setor.user.ini), then restart workers. Partial: PHP says it blocks only the confirmed session paths of CVE-2026-109619, not other variants. The Nov 19 fix for CVE-2026-115560 also turns that feature off by default, so check that nothing explicitly turns it back on. - Don't count on production settings to save you. Per SecurityWeek, VulnCheck's exploit works with ASLR on and error display off. VulnCheck's exploit isn't public, but VulnCheck says at least one public PoC already gets past ASLR on one PHP version (8.4.26).
- Don't run random PoCs, on prod or on a laptop with credentials. Use PHP's advisory.
- Treat LLM-written rules and analysis as hints, not proof.
- Incident response:
- Preserve web server, proxy, WAF and PHP logs from Oct 17 onward (AWS saw its first attempt that day), off-host, before rotating anything. Snapshot suspicious hosts before patching. Note each host's PHP version and patch time.
- Hunt for odd multipart requests followed by memory-limit errors or repeated 500s, malformed
PHPSESSIDcookies, unexplained worker restarts and new.phpfiles. A quiet log isn't proof you're clean. - Look for web shells and for shells or recon commands started by your PHP worker. Unit 42's published hunting query flags commands such as
whoami,id,unameandcat /etc/passwdwhen a PHP or web server process (php-fpm, php-cgi, apache2/httpd, FrankenPHP, LiteSpeed) or the web account (www-data, apache, nginx) starts them. Unit 42 says the query isn't specific to these CVEs and may produce false positives. - If anything looks off, rotate session tokens and secrets the PHP user could read. Researchers report memory disclosure.
- If a compromised host could reach password hashes or MFA secrets, treat them as taken. Reset those passwords and re-enroll MFA so the old secrets stop working. The resets are my advice.
- Patched isn't the same as clean. CISA requires federal civilian agencies to run a forensic triage on these, and everyone else should too: look for PHP files that appeared in web-accessible folders, root-owned changes your team didn't make, and new tunnels or services. In the chain Dream describes, the attackers overwrote /etc/pam.d/su to get root, planted a small PHP webshell, and set up a reverse SSH tunnel that survives reboots. If you find one, preserve the host before you patch or rebuild it, and treat every credential stored on it as taken.
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.
Want the next one?
One email, weekly-ish. The week's briefs, how worried to be, and what to do about it. No doom.
Subscribe on Beehiiv ↗Free. Opens Beehiiv in a new tab. Unsubscribe whenever, I won't be offended.Sources
- Wiz: PHP2Shell, Exploitation Attempts and Remediation Trends (Oct 27, 2026)
- Check Point Research: PHP2Shell Exploitation on Check Point Gateway (Nov 12, 2026)
- CISA Known Exploited Vulnerabilities catalog (CVE-2026-123039 added Nov 13, 2026; catalogVersion 2026.12.03)
- PHP advisory GHSA-658j-r8rw-q6mx (CVE-2026-115560, published Nov 19, 2026)
- PHP 8 ChangeLog: 8.6.0, 8.5.13, 8.4.28, 8.3.37 and 8.2.36 (Nov 19, 2026)
- PHP: Informational advisory, Session upload progress (Oct 23, 2026)
- Cloudflare: PHP vulnerabilities, WAF protection (Oct 21, 2026; updated Oct 23)
- W3Techs: Usage statistics of PHP for websites (Oct 21, 2026)
- PHP: security release advisory for CVE-2026-109618 and CVE-2026-109619 (news archive, Oct 21, 2026)
- PHP advisory GHSA-w8hw-w9fx-j79w (CVE-2026-109618)
- PHP advisory GHSA-6wmf-4rv5-p3rp (CVE-2026-109619)
- php-src: PHP 7.4 source-only backport branch
- php-src: PHP 8.0 source-only backport branch
- php-src: PHP 8.1 source-only backport branch
- Sansec: PHP2Shell (Oct 21, 2026)
- Wiz: PHP2Shell
- Calif: PHP2Shell
- Cloudflare CTO on X: initial WAF rules, "a STOPGAP only" (Oct 21, 2026)
- Cloudflare blog: PHP vulnerabilities and WAF protection (Oct 21, 2026)
- The Record: warnings on the PHP vulnerabilities, with watchTowr (Oct 21, 2026)
- Precursor Security: PHP2Shell live blog (Oct 21, 2026)
- Huntress blog on the leaked critical PHP vulnerabilities (Oct 21, 2026)
- X: a PoC author on using Grok, DeepSeek and Nemotron (Oct 21, 2026)
- X: StopForumSpam on a chatbot-suggested upload_progress mitigation (Oct 20, 2026)
- Beazley Security Labs, BSL-A1233: PHP2SHELL advisory (updated Oct 27, 2026; its Oct 25 Update 2 still cites Unit 42's retracted attribution)
- CERT-EU Security Advisory 2026-018 (PDF)
- CISA Known Exploited Vulnerabilities Catalog (CVE-2026-109618 and CVE-2026-109619 added Oct 26, 2026; catalogVersion 2026.10.28)
- AWS Security Blog: Amazon Threat Intelligence identifies PHP2Shell exploitation prior to public disclosure in MadPot (Oct 21, 2026)
- SecurityWeek: PHP2Shell Exploitation Started Days Before Patches (Oct 22, 2026)
- Cloudflare CEO Matthew Prince on X: exploit-attempt counts (Oct 21, 2026)
- JFrog Security Research: PHP2Shell, all you need to know (Oct 21, 2026)
- VulnCheck: PHP2Shell Vulnerabilities (Oct 21, 2026)
- The Register: PHP blames Chainguard (Oct 22, 2026)
- PHP Foundation: Today's PHP Security Release, and How We're Strengthening PHP Security (Oct 21, 2026)
- Unit 42: Threat Brief: Critical Vulnerabilities in PHP, CVE-2026-109618 and CVE-2026-109619 (updated Oct 25, 2026; Oct 23 update retracted)
- SecurityWeek: Mirai Botnet Operators Join PHP2Shell Attacks as ASLR Bypass Exploits Emerge (Oct 23, 2026)
- Sophos: Proof-of-concept exploit released for PHP vulnerabilities (CVE-2026-109618, CVE-2026-109619) (updated Oct 28, 2026)
- CISA: Critical Vulnerabilities in PHP Require Immediate Patching (revised Oct 26, 2026)
- CISA: CISA Adds Two Known Exploited Vulnerabilities to Catalog (Oct 26, 2026)
- Dream Research: Chained PHP2Shell Exploit Roots 25 Servers (Oct 26, 2026)
- SecurityWeek: Dream report on PHP2Shell chained with Fragnesia to root firewalls (Oct 28, 2026)
- CISA, Oct 28, 2026: CISA Adds Two Known Exploited Vulnerabilities to Catalog