Two critical PHP flaws, CVE-2026-109618 and CVE-2026-109619 (nicknamed PHP2Shell), let an attacker run code on a web server with a crafted request and no login. PHP shipped fixes on October 21, 2026, and CISA added both flaws to its Known Exploited Vulnerabilities catalog on October 26. If any system you run serves web pages through PHP, patch it this week, because updating is the only complete fix.
Your first three moves:
What are the PHP2Shell vulnerabilities, and which versions are affected?
PHP2Shell is a pair of flaws in the PHP engine itself, not in any single application, and both are rated 9.2 (critical) on the CVSS v4.0 scale. An unauthenticated attacker can exploit either one remotely.
Any PHP installation that serves web requests is in scope, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed. Applications built on PHP, such as content management systems, e-commerce platforms, and web frameworks, can be exposed through a vulnerable runtime.
|
PHP branch |
Vulnerable before |
Fixed in |
|
8.5 |
8.5.12 |
8.5.12 |
|
8.4 |
8.4.27 |
8.4.27 |
|
8.3 |
8.3.36 |
8.3.36 |
|
8.2 |
8.2.35 |
8.2.35 |
|
8.1 and earlier |
Treat as vulnerable |
No fix from the PHP project; migrate or get a backport from your vendor |
Linux distributions and long-term-support vendors received the patches in advance, so check your vendor for updated packages. A version number alone can mislead when a vendor backports a fix, so confirm patch status in your vendor's security tracker. Source: runZero's summary of PHP's advisory.
Is PHP2Shell being exploited?
Yes. CISA added both flaws to its Known Exploited Vulnerabilities catalog on October 26, 2026, with an October 29 deadline for federal civilian agencies. That deadline doesn't bind private companies, but CISA urges organizations outside the federal government to prioritize the fix.
|
Date |
What happened |
|
Oct 26 |
CISA adds both CVEs to its Known Exploited Vulnerabilities catalog |
|
Oct 24 |
A researcher records 35 successful shell executions across three honeypots running PHP 8.4.26 under Apache mod_php |
|
Oct 21 |
PHP releases 8.2.35, 8.3.36, 8.4.27, and 8.5.12 |
|
Oct 17 |
AWS spots exploitation attempts, four days before public disclosure |
By October 27, researchers at Delft University had tracked more than 50,000 exploitation requests from over 600 IP addresses in 70 countries. Of those, 171 addresses went beyond probing and sent exploit code or malware droppers. The honeypots used a favorable single-worker setup, so the results don't show how reliably the exploit works against production servers.
Treat claims about specific victims with care. Some early reports of successful intrusions were later walked back. Source: The Register, October 27, 2026.
What should IT teams do this week?
Patching comes first, but you can only patch what you can find. Work through these steps in order.
Sources: runZero for the mitigations, and The Register for the guidance on taking unpatchable systems offline and the attacker behavior to look for.
How can 7 Layer Solutions help with PHP exposure?
Fixing this quickly depends on knowing where PHP runs and on spotting exploitation if it has already happened. Three of our services map to the steps above.
To see what round-the-clock monitoring looks like in practice, read how our SOC contained an active ransomware intrusion at a manufacturer in 17 minutes. That case is unrelated to PHP.
If you want help finding and prioritizing PHP exposure, contact our team.
Sources