Tech News · Cybersecurity
PHP2Shell exploited: what WordPress site owners should do now

“This is now confirmed RCE with usable memory disclosure, not just a crash followed by a suspicious process.”
— Adel Karimi, Perplexity, via BleepingComputer
What happened
The PHP2Shell vulnerabilities, two critical flaws in the PHP language that powers WordPress and most of the web, are now being exploited in real attacks. On Monday, October 26, 2026, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) added both bugs, CVE-2026-109618 and CVE-2026-109619, to its Known Exploited Vulnerabilities catalog and gave federal agencies until October 29 to fix them.
The PHP security team released fixes on October 21 in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Both flaws carry a CVSS score of 9.2 and can let an unauthenticated attacker run code on a web server. Early attack traffic was mostly scanning and exploits that didn’t work. That changed on October 24, when Perplexity’s Adel Karimi reported a successful remote code execution against an Apache mod_php honeypot running PHP 8.4.26. Marcus Hutchins of Expel independently backed up the finding. Karimi noted the test used an intentionally favorable single-worker setup, so it doesn’t show how reliable the exploit is everywhere. Still, the “theoretical risk” phase of this PHP vulnerability is over.
The scale is large. PHP runs on roughly 70% of websites, and Censys estimates more than 32.5 million PHP services are still on an affected version. Tenable says older branches are exposed too: PHP 7.4 through 8.1 got source-only backports rather than official releases, and PHP 5.4 through 7.3 are end-of-life with no fix from the PHP project.
FuzeForth’s take
For most small and mid-size businesses, this isn’t a WordPress plugin problem you can solve with one click in your dashboard. PHP2Shell lives in the server software underneath your site. So the most important step is a short message to whoever hosts or manages your website: “Is our server patched for PHP2Shell (CVE-2026-109618 and CVE-2026-109619), and were the PHP workers restarted afterward?” Get a yes in writing. Several large managed WordPress hosts patched their platforms within a day or two of disclosure. Budget shared hosting, self-managed VPS servers and sites that were “set up years ago and left alone” are where the real risk sits.
Don’t rely on the version number in your hosting panel alone. Kinsta warned its customers that “the PHP version displayed doesn’t necessarily indicate whether a security patch has been applied,” because many hosts and Linux distributions backport fixes without changing the version label. The reverse is also true: a site on PHP 7.x or early 8.x may have no official patch at all, which makes this a good moment to plan an upgrade to a supported PHP version. If your site breaks on newer PHP, that tells you your theme or plugins are overdue for a website rebuild or modernization.
Next, watch for signs of compromise, not just the patch. A server that was exposed before it was fixed may already have been touched. Look for unknown admin users, unfamiliar files in upload folders, and unexpected redirects or spam pages. If you don’t have someone checking this regularly, ongoing WordPress security and maintenance pays for itself the first time it catches something early. Ecommerce stores, clinics and law firms that handle customer data should treat this as urgent this week, not next month.
Key points
- CISA added the PHP2Shell flaws (CVE-2026-109618 and CVE-2026-109619) to its Known Exploited Vulnerabilities catalog on October 26, 2026.
- Fixed versions are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, released October 21. PHP 5.4 through 7.3 get no official fix.
- WordPress, WooCommerce and other PHP sites are affected at the server level. Your host or IT provider has to apply the patch and restart PHP.
- Tenable says configuration changes, such as setting
session.upload_progress.enabled=0, reduce exposure but don’t replace updating. - Tenable also flags a SimpleXML regression in PHP 8.4.27 and 8.5.12 that can crash some applications, so test after updating.
Frequently asked questions
Is my WordPress site affected by PHP2Shell?
If your site runs on a PHP version released before October 21, 2026, and your host hasn’t applied a backported fix, it’s likely exposed. WordPress itself isn’t the bug. The flaw is in PHP on the server, so ask your host to confirm the patch.
How do I fix the PHP2Shell vulnerability?
Update PHP to 8.5.12, 8.4.27, 8.3.36 or 8.2.35 (or your vendor’s patched package), then restart every PHP worker. Updated packages don’t protect processes that are already running.
Can a WordPress security plugin protect me from PHP2Shell?
Not fully. A web application firewall, like the rules Cloudflare deployed, can block some attack traffic, but Cloudflare calls its rules a stopgap. Patching PHP is the only complete fix.
Sources
- The Hacker News — CISA Confirms Active Exploitation of Two PHP2Shell Flaws Enabling Remote Code Execution
- BleepingComputer — PHP2Shell security flaws now successfully exploited in the wild
- Security Affairs — U.S. CISA adds PHP flaws PHP2Shell to its Known Exploited Vulnerabilities catalog
- Tenable — php2shell (CVE-2026-109618, CVE-2026-109619): Frequently asked questions
- Kinsta — PHP2Shell: How Kinsta protected WordPress sites