What is PHP2Shell & WordPress?
PHP2Shell in WordPress means the CVE-2026-109618 and CVE-2026-109619 flaws reaching WordPress sites through the PHP interpreter rather than through WordPress core, plugins or themes. A WordPress update cannot fix it, because the server's PHP build must be upgraded to 8.5.12, 8.4.27, 8.3.36 or 8.2.35.
If your WordPress site runs on PHP below 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or on any end-of-life PHP version, it is exposed to PHP2Shell, and clicking Update in the WordPress dashboard does not fix it. The flaw is in the PHP interpreter underneath WordPress, one layer below anything a WordPress administrator normally controls, so your host or server administrator must upgrade PHP. Wiz Research showed unauthenticated remote code execution against a default, fully updated WordPress install with no vulnerable plugin and no weak password, and Wordfence warned that automatic WordPress updates will not apply the fix. This guide shows how to check your PHP version in two minutes, what to ask your host in writing, how to protect WooCommerce stores, and why many businesses are using this moment to move off WordPress altogether. For the technical background on the two CVEs, read PHP2Shell Explained.
Why WordPress is in the blast radius
WordPress is written in PHP and runs only on PHP. According to W3Techs, WordPress powers 59.2% of all websites whose CMS is known, which makes it the biggest single group of sites exposed to PHP2Shell. When Wiz Research disclosed the two flaws, both rated 9.2 on CVSS v4.0, they showed unauthenticated remote code execution against a default, fully updated WordPress install: no vulnerable plugin, no weak password and no admin access were needed. Wiz confirmed working RCE against WordPress on 21 August 2026, two months before the public patch. Perfectly maintained WordPress sites were therefore vulnerable, because the weakness sits one layer below anything a WordPress administrator normally controls. For the full technical background, see PHP2Shell Explained.
Why Update WordPress won't help
It helps to see WordPress as one layer of a stack: content and design, then themes and plugins, then WordPress core, then the PHP interpreter where PHP2Shell lives, then the web server, then the operating system and hosting. WordPress's auto-updater can update core, plugins and themes. It cannot update the PHP interpreter, because that belongs to the server. As Wordfence warned, automatic updates will not apply the fix, and site owners need to find out who is responsible for updating PHP on their server. Meow Apps and BrillMark make the same point: no plugin and no WordPress release fixes PHP2Shell.
Who owns PHP depends on your hosting. Managed WordPress hosts such as WP Engine, Kinsta, Pressable and WordPress VIP usually upgrade PHP automatically, but you should confirm in writing. On shared hosting with cPanel or Plesk the host provides the builds and you may need to select the new version yourself. On a VPS or cloud server from DigitalOcean, AWS EC2, Linode or Hetzner, you or your developer own it. With Docker or Kubernetes you must rebuild images on a patched base image, and if an agency manages the site, ask them today.
flowchart TB
A[Your content and design] --> B[Themes and plugins]
B --> C[WordPress core]
C --> D[PHP interpreter: PHP2Shell lives here]
D --> E[Web server: Apache / Nginx / LiteSpeed]
E --> F[Operating system and hosting]
style D fill:#fde2e2,stroke:#d33,stroke-width:2pxCheck your PHP version and confirm with your host
The fastest check needs no technical skills: log in to wp-admin, go to Tools, then Site Health, then Info, expand the Server section, and read the PHP version line, for example 8.3.36. In cPanel open Select PHP Version or MultiPHP Manager, and in Plesk open PHP Settings for the domain. On a VPS, run php -v on the command line and also check the version actually serving web requests, because FPM may differ from the CLI. Watch out for backports: Debian, Ubuntu and RHEL often backport security fixes without changing the version number, so if php -v shows an older number, check your distribution's security advisory before assuming you are vulnerable. Then email your host and ask four things in writing: the exact PHP version and build serving your domain, whether it includes the fixes for CVE-2026-109618 and CVE-2026-109619 through PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35 or a vendor backport, the date and time the patch was applied and PHP-FPM or the web server restarted, and whether they saw exploitation attempts against your account from 20 October 2026 onward. Keep the reply as part of your audit trail, because compliance obligations such as PCI DSS v4.0 requirement 6.3.3 expect critical patches within one month, and many acquirers expect faster for actively exploited flaws.
php -v
# Also check the version actually serving web requests (FPM may differ from CLI):
php-fpm8.3 -v # adjust to your installed versionWooCommerce, membership sites and signs of compromise
PHP2Shell can expose PHP worker memory, and on a WordPress site that memory can hold database credentials from wp-config.php, authentication keys and salts, payment gateway API keys from Stripe, PayPal or Square, customer session cookies that allow account takeover, and SMTP and CRM API credentials. Wiz showed that attackers can read memory holding passwords, tokens, API keys and certificates from other users' requests even without full code execution. If you run WooCommerce, LearnDash, MemberPress or another site that handles logins and payments, rotate the database password, the WordPress salts and every payment and API key after patching, review payment gateway dashboards for unexpected refunds, payout changes or new webhooks, check for new administrator accounts and unknown plugins in wp-content/plugins, and talk to your PCI DSS assessor. Patchstack reported multiple active exploitation incidents from hosting partners before the patch was released, so check for compromise too: unknown PHP files in wp-content/uploads, admin users you did not create, unexpected cron jobs in WP-Cron and the server crontab, spam pages or redirects in Google results, repeated allowed memory size exhausted errors around unusual multipart requests, and php-fpm or apache2 processes spawning sh, bash, curl or wget. Exploitation happens below WordPress, so security plugins that inspect WordPress activity may see nothing; a step-by-step incident checklist is in the PHP2Shell Emergency Checklist.
Warning
Worker memory on a store can contain payment API keys and customer sessions, so rotate keys and review payment dashboards after patching.
Patch now, then decide: stay or move
Not every WordPress site needs to be replaced, so be honest about which group you are in. Staying on WordPress is reasonable if you are on managed hosting that patched PHP within hours and confirmed it, you run few well-maintained plugins, and the site is a simple brochure or blog with no logins or payments. It is time to plan a move if you run PHP 8.1 or older and the upgrade breaks plugins or your theme, your site relies on abandoned plugins or a heavily customised theme, you handle customer accounts, payments or regulated data, page speed and Core Web Vitals are already hurting SEO, or nobody on your team is confident patching the server. For these businesses the modern alternative is Payload CMS, an open-source, TypeScript-native headless CMS that runs inside a Next.js application with no plugin marketplace running untrusted code. Content is modelled in typed code and public pages can be statically generated and served from a CDN, so most visitors never reach a live application server. Payload was acquired by Figma in June 2025, and weekly npm downloads grew from about 20,000 to 90,000 during 2024. For a full head-to-head, see Payload CMS vs WordPress in 2026, and read our step-by-step migration guide if you decide to move.
Sources and references
Wiz Research published PHP2Shell: AI uncovers critical RCE vulnerabilities affecting 70% of the Internet at wiz.io/blog/php2shell-php-rce, and Recorded Future explained the exploitation timeline at recordedfuture.com/blog/php2shell-vulnerability-exploitation. CNBC covered why governments pulled websites offline at cnbc.com/2026/10/22/php2shell-vulnerability-what-is-it-and-is-your-data-at-risk.html. Meow Apps wrote PHP2Shell: what it is, and what to do on your WordPress site at meowapps.com/php2shell-wordpress, and BrillMark published its affected-site guide at brillmark.com/php2shell-php-vulnerability-patch. SOCRadar listed affected versions and fixes at socradar.io/blog/php2shell-cve-2026-109618-cve-2026-109619, W3Techs published WordPress usage statistics at w3techs.com/technologies/details/cm-wordpress, Patchstack's State of WordPress Security sits at patchstack.com/whitepaper/state-of-wordpress-security-in-2025, and the PCI Security Standards Council document library is at pcisecuritystandards.org/document_library.
Reading your PHP version
| Your version | Status |
|---|---|
| 8.5.12+, 8.4.27+, 8.3.36+, 8.2.35+ | Patched, but still check for compromise from before you patched |
| Lower 8.2 to 8.5 builds | Vulnerable. Upgrade today |
| 8.1, 8.0, 7.4 | End of life. Source backports only, so use a vendor patch or upgrade the branch |
| 7.3 and older | No fix exists. Upgrade or take the site offline |
Anything below a fixed release, or on an end-of-life branch, stays exposed until your host upgrades PHP or confirms a vendor backport.
Check and confirm your PHP build in four steps
- 1
Open Site Health
In wp-admin, go to Tools, then Site Health, then Info, expand the Server section, and read the PHP version line.
- 2
Compare against the fixed releases
Patched versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35 or later. Anything lower, or an end-of-life branch, is vulnerable unless your vendor confirms a backport.
- 3
Ask your host in writing
Request the exact PHP build serving your domain, confirmation it includes the CVE-2026-109618 and CVE-2026-109619 fixes, and the date and time the patch was applied.
- 4
Rotate and review if you handle payments
WooCommerce and membership sites should rotate database passwords, WordPress salts and payment keys after patching, then check gateway dashboards and admin accounts.
A confirmed patched PHP build, written evidence for your audit trail, and secrets rotated if worker memory may have been exposed.
WordPress dominates the CMS market According to W3Techs, 59.2% of all websites whose CMS is known run WordPress. Because WordPress runs only on PHP, that entire install base sits directly in the PHP2Shell blast radius.
Conclusion
Patch PHP today, then decide whether you want to keep managing PHP, WordPress core, dozens of plugins and a theme, or move to a modern, typed, CDN-first stack your marketing team will enjoy using. App Corp runs emergency PHP2Shell reviews and pre-built WordPress to Payload CMS migrations for teams that want that decision made and delivered, with content, SEO and redirects moved and search rankings kept through one-to-one redirects.
Frequently Asked Questions
Key Takeaways
- PHP2Shell reaches WordPress through the PHP interpreter, so no WordPress, plugin or theme update fixes it
- Wiz Research proved unauthenticated remote code execution against a default, fully updated WordPress install on 21 August 2026
- Check your PHP version in wp-admin under Tools, Site Health, Info, and compare it with 8.5.12, 8.4.27, 8.3.36 and 8.2.35
- Who patches PHP depends on your hosting: managed hosts usually do it, VPS and Docker owners must do it themselves
- WooCommerce and membership sites should rotate database passwords, WordPress salts and payment API keys after patching
- Patchstack reported active exploitation before the patch, so review logs from 20 October 2026 even after you upgrade