What happened
On 21 October 2026, the PHP project shipped an emergency security release fixing two critical vulnerabilities that allow unauthenticated remote code execution on web servers. The security community has named them PHP2Shell.
Both flaws are rated 9.2 (Critical) on CVSS v4.0 by the PHP security team:
| CVE | Severity | What goes wrong |
|---|---|---|
| CVE-2026-109618 | 9.2 Critical | Out-of-memory handling can interrupt PHP while internal request data is only partially initialised. Request cleanup then treats the invalid data as valid. |
| CVE-2026-109619 | 9.2 Critical | Request-owned internal state can survive after its backing memory has been freed. A later request on the same worker may use that stale state. |
In plain terms: an attacker who can send requests to your website may be able to run their own code on your server, without any login, password or user account.
There is a second reason this needed an immediate response. Technical details leaked publicly on 20 October, a day before the patch existed. That gave attackers a head start, and proof-of-concept code became public. CISA had not observed successful exploitation at the time of its alert. The UK's National Cyber Security Centre has advised organisations to consider taking offline any system that cannot be patched quickly.
Who is affected
Every PHP installation that serves web requests. Not a plugin, not a theme, not a framework — the PHP interpreter itself.
That includes PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. If your site runs on WordPress, Drupal, Magento, Joomla, Laravel or any custom PHP application, it is exposed whenever the underlying PHP version is unpatched.
The affected range runs from PHP 5.4 through 8.5.11. This is the part that catches people out: being on a current major branch is not protection. PHP 8.4.26 was released recently and is still fully vulnerable. Only the specific patch releases listed below contain the fix.
A WordPress security plugin or a hardened wp-admin will not close this, because the flaw sits in PHP itself. A web application firewall may give some protection until you patch, but it is not a fix.
What Metanow Cloud did
We updated PHP across our entire hosting server, and no client sites were affected.
Step-by-step instructions for WordPress and Laravel sites are in our guide How to protect WordPress and Laravel sites from php2shell.
If you are hosted elsewhere, update today
Update to one of these four releases. The exact patch number matters — anything below it on the same branch is still vulnerable.
| PHP branch | Update to | Anything below this |
|---|---|---|
| 8.5 | 8.5.12 | Vulnerable |
| 8.4 | 8.4.27 | Vulnerable |
| 8.3 | 8.3.36 | Vulnerable |
| 8.2 | 8.2.35 | Vulnerable |
Still on PHP 8.1 or older? Those branches have reached end of life and will receive no fix. You are not waiting for a patch, because none is coming. Move to PHP 8.2.35 or newer now. If an old plugin or custom code is the reason you have stayed behind, that is a problem worth solving this week rather than next quarter.
How to check which version you are on
- WordPress: Tools → Site Health → Info → Server, under "PHP version"
- Any site: ask your host, or check your control panel's PHP settings page
- Command line: run
php -v, and on PHP-FPM setups confirm the FPM pool is on the same build
After updating, restart PHP-FPM or your web server. The patched binary does not take effect until the running workers are replaced.
If your host manages PHP for you, most will have rolled the minor update out automatically — but confirm it rather than assume it. A version check takes thirty seconds.
How we handle this at Metanow
PHP2Shell is a good illustration of why that matters. The gap between public disclosure and a working exploit was measured in hours. Sites running on a quarterly patch schedule were exposed for that entire window.
If you are currently on hosting where you are not sure who applies these updates, or how quickly, that uncertainty is itself the answer. Talk to us about moving to Metanow Cloud.
Sources and official advisories
- NCSC — Critical security issue affecting PHP
- Google Cloud — Responding to core PHP vulnerabilities CVE-2026-109618 and CVE-2026-109619
- Help Net Security — PHP2Shell: Critical PHP vulnerabilities patched, update now!
- Patchstack — Major security alert: PHP vulnerable to critical RCE
- Rapid7 — CVE-2026-109618 and CVE-2026-109619: Critical Unauthenticated RCE in PHP
- Huntress — Rapid Response: php2shell
- Cisco — Vulnerabilities in PHP Affecting Cisco Products: October 2026
GitHub Security Advisories: GHSA-w8hw-w9fx-j79w (CVE-2026-109618) and GHSA-6wmf-4rv5-p3rp (CVE-2026-109619).
Comments