No upload form. No login. PHP’s own advisories confirm unauthenticated code execution over ordinary HTTP on Apache mod_php. On PHP-FPM it was shown through the CVE-2026-109619 session path, and CVE-2026-109618 is rated susceptible there from source analysis. That is php2shell. This page exists so you patch before it reaches you.
PHP ships an out-of-cycle security release at 14:00 UTC, 2026-10-21 for 8.2 / 8.3 / 8.4 / 8.5. Have your update staged now. The gap between patch and weaponisation is expected to be tiny.
An urgent request for tonight.
PHP’s security team has issued an advisory about two critical vulnerabilities in PHP, which is used by a great many websites.
Please check whether your public sites use PHP, and prepare to apply the fix released tonight at 23:00 JST as quickly as possible.
If applying it promptly is difficult, temporarily taking the site offline is one effective way to reduce risk.
Our national cyber office is posting related information on its X account too, so please refer to that as well.
Quoted from Prime Minister Sanae Takaichi (@takaichi_sanae) on X, posted shortly before 22:00 JST on 2026-10-21. English translation of the Japanese original.Original post on X
When the head of government announces your maintenance window, “I’ll get to it after lunch” stops being a plan. 23:00 JST = 14:00 UTC, the same clock ticking at the top of this page.
An ordinary web shell is the story of one vulnerable app getting one file dropped in it. php2shell is different. The flaw is reported to live in PHP itself, with no special feature and no risky setting required. If your site runs PHP, you’re in scope.
It isn’t a bug in some WordPress plugin or one framework. It’s reported in the PHP interpreter, so it doesn’t care what your site is built with.
The demonstrated path for CVE-2026-109619, session.upload_progress, has been on by default since PHP 5.4. Nobody has to misconfigure anything for it to apply.
Even a site with no upload feature can be reached by a POST to any PHP endpoint. “We blocked uploads” does not save you.
Leaked footage reportedly showed it working on WordPress, Drupal, Joomla, Magento, Laravel, Symfony, MediaWiki, phpBB and WHMCS.
You don’t need exploit details to grasp why this is bad. Here is the shape of it, at a level that informs defenders without handing anyone a weapon.
Mechanism below is high-level, based on PHP’s own advisories (GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp). They are two separate bugs. No reproduction steps are shown here.No login and no special feature. For CVE-2026-109619 the demonstrated route is PHP’s built-in upload-progress tracking, which is on by default, so an ordinary POST can reach it.
CVE-2026-109618: an out-of-memory bailout fires while request memory is only half set up, and shutdown cleanup then touches the broken memory. CVE-2026-109619: a long-lived worker keeps internal state pointing at memory freed by an earlier failed request (use-after-free). Both can be steered into running attacker code.
The end result is remote code execution: commands run as the PHP / web-server process. From there: read secrets and DB credentials, pivot inward, drop a persistent shell.
From the attacker’s side, it’s a routine. Watch the stages they walk through, and what you lose at each one. This is the consequence, not a how-to.
Attackers mass-scan the internet for servers in the vulnerable PHP range. Nobody singled you out; your address simply matched.
A single normal-looking POST reaches the core flaw. No login, no upload form, and little that reads as “an attack” in your app logs.
With code execution, the machine answers to them. They read your application source, its configuration and its environment.
Database credentials, API keys, session secrets and customer records are collected and quietly sent out.
Stolen credentials and internal reach let them move to the database, internal services and neighbouring hosts, their traffic dressed as normal web requests.
A hidden backdoor is left behind, and ransomware may be staged. Closing the hole does not evict someone already inside.
Pick your situation. This is a quick orientation, not a scan. When in doubt, assume exposed and patch.
What makes php2shell frightening isn’t only the bug. It’s the timeline. Details got out before the fix, turning disclosure into a sprint.
Information leaked ahead of coordinated disclosure. PHP issues an advance notice; CERT-EU publishes Security Advisory 2026-018.
PHP ships fixes for 8.2, 8.3, 8.4 and 8.5. End-of-life branches get nothing.
Sansec warned that diffing the patch could lead to mass exploitation within minutes. It later revised that to “less likely”.
The coordinated disclosure date the leak jumped ahead of. Cloudflare had already reported attack traffic against its customers on 10-21.
PHP flags CVE-2026-115560, a narrower upload-progress bug the patched releases still have. It only matters if an app switches session.serialize_handler to php at runtime.
CISA adds both CVEs to the Known Exploited Vulnerabilities catalog.
PHP fixed only the supported branches. Older ones get no official release; upgrading is the way out.
Distro packages backport the fix, so their version numbers won’t match upstream. Fixed packages as of 2026-11-07:
Reportedly demonstrated against, among others:
Perfect detection is hard; removing the precondition is stronger. The priority is simple: get onto a patched version. Everything else buys time until you do.
“Disable system() or use a WAF and you’re fine.” Not here. This is a memory-safety bug in PHP’s core, so disable_functions is irrelevant, and CSP is for client-side (XSS), not a server-side core RCE. A WAF filter helps for hours; the patch is the fix.
Update to 8.5.12 / 8.4.27 / 8.3.36 / 8.2.35 or later (or your distro’s fixed package), restart PHP-FPM / the web server, and confirm with php -v. This is the only real cure.
Until patched, block or heavily restrict multipart/form-data POSTs at a WAF / Cloudflare. Emergency rules exist as a stopgap, not a replacement for patching.
Set session.upload_progress.enabled=0 in php.ini or the FPM pool (not ini_set()) and restart the workers. Partial only: it blocks the known path for CVE-2026-109619, not CVE-2026-109618.
Only if you cannot update yet. Set fatal_error_backtraces=0 in php.ini or the FPM pool (not per request) and restart every worker. This removes the producer in the confirmed CVE-2026-109619 RCE path. Partial only: it does not cover other request-owned state.
Only if you cannot update yet. Set and enforce memory_limit=-1 administratively for CVE-2026-109618, restart every worker, and check that no pool, directory or app setting restores a finite limit. PHP itself calls this incomplete: a failed underlying allocation can still hit the bug. Keep post_max_size conservative while it is on.
8.1, 8.0, 7.x and 5.x get no official release. Take a vendor backport if you have one, then upgrade to 8.3+.
Alert on the web process spawning a shell, unfamiliar child processes, or new files in web dirs. Right after the patch is public is when scanning spikes.
Confirm the running PHP version on every host: containers, legacy VMs, that one forgotten box. Fleets fail where a single unpatched server hides.