PHP2Shell (CVE-2026-109618 and CVE-2026-109619): The Dual RCE Running Below WordPress That No Plugin Update Can Fix

The Floor of the Building Has a Hole

Your WordPress plugin audit is not going to catch this one.

Two critical remote code execution vulnerabilities in PHP itself went public on October 21, 2026. They are tracked as CVE-2026-109618 and CVE-2026-109619 and carry a CVSS v4.0 score of 9.2 apiece. Researchers started calling them PHP2Shell immediately, and the name is accurate: an attacker sends a crafted HTTP request and, on an unpatched server, gets a shell. No WordPress account required. No plugin involved. No application-layer defense stops it.

This is not a WordPress vulnerability. It is a flaw in the PHP runtime that WordPress runs on top of. Every update you pushed to client plugins this week did not touch it.

How the Two Flaws Work

CVE-2026-109618 lives in PHP’s memory management during request setup. When PHP runs out of memory partway through parsing a multipart form submission, it exits via a long jump. The problem is that request data may only be half-initialized at that point. Cleanup code then treats that half-built state as valid, and an attacker who can push PHP into that out-of-memory condition can redirect execution from there. Multipart form parsing, the format browsers use for any file upload, is one confirmed path to trigger it.

CVE-2026-109619 is a stale global state problem. PHP workers in persistent execution environments retain internal state that outlives the memory behind it. A later request on the same worker can act on that leftover data before normal initialization resets it. Session upload progress handling is one confirmed trigger path. On PHP 8.5, fatal error backtrace generation is another. The flaw is especially relevant to PHP-FPM, the process model used by virtually every performance-optimized WordPress hosting stack on the market today.

Apache mod_php is also affected. PHP’s own advisory rated it the highest-risk execution environment for these two flaws.

Beyond code execution, CVE-2026-109618 carries a memory disclosure component. PHP’s upload-progress handler can return freed worker memory to the client inside a PHPSESSID response cookie. That memory can contain passwords, session tokens, API keys, and TLS private keys from entirely different requests on the same server. The handler runs before any application code, which means the leak path works even when the WordPress application never calls session_start().

The vulnerable code path for CVE-2026-109618 traces back to PHP 5.4.0, released in 2012.

What the Exploitation Timeline Actually Looks Like

Amazon Threat Intelligence observed exploitation attempts against their MadPot honeypot network on October 17, four days before public disclosure, suggesting the vulnerability was either leaked or independently discovered before the coordinated release date.

The PHP security team accelerated their release timeline after details appeared on Hacker News on October 20. Patches shipped on October 21 at approximately 13:00 UTC. By 08:44 UTC that same morning, one managed WordPress host was already seeing requests targeting their platform using a public proof-of-concept.

October 24: researcher Adel Karimi confirmed successful exploitation against three honeypot servers running PHP 8.4.26. Shells executed attacker commands. October 26: Trail of Bits confirmed working exploits against pre-patch releases of PHP 8.2 through 8.5 and demonstrated a shell on MediaWiki, Symfony, Laravel, and phpBB.

Palo Alto Networks’ Cortex Xpanse telemetry flagged over 22.6 million potentially exposed PHP instances as of October 25. This is active exploitation at scale.

Where WordPress Sites Actually Stand

WordPress runs on PHP. Every page request your server handles starts by spinning up PHP, which then loads WordPress core, your theme, and every active plugin. The vulnerability is not in that code. It is in the runtime that executes it.

No WordPress plugin protects against PHP2Shell. No security plugin, no WAF running inside WordPress, and no WordPress core update addresses the underlying PHP engine flaw. Frameworks and CMSs built on PHP including WordPress, Drupal, Laravel, and Magento are all affected when they run on a vulnerable PHP runtime.

Fixed PHP versions are 8.5.12, 8.4.27, 8.3.36, and 8.2.35. For end-of-life branches (PHP 8.1, 8.0, and 7.4), the PHP security team released minimal source backports specifically because of the severity, but those branches will not receive further security patches. PHP 8.2 itself reaches end of life on December 31, 2026.

The fastest check for any WordPress site: go to Tools > Site Health, open the Info tab, expand Server, and read the PHP version field. If it is below the fixed versions listed above, the runtime is still vulnerable regardless of how current your plugins are.

One caveat: a regression in PHP 8.4.27 and 8.5.12 can crash processes in applications using the SimpleXML extension. PHP traced it to a separate garbage collector fix bundled into those releases, unrelated to the PHP2Shell patches themselves. A fix was merged into the PHP source but had not shipped in a release as of October 26. If client sites rely on SimpleXML, test the upgraded runtime on staging before pushing to production.

Also unresolved: CVE-2026-115560, a third session upload progress flaw PHP disclosed on October 23. It is a different code path from the PHP2Shell pair and is not fixed in the October 21 releases. The current guidance from PHP is to set session.upload_progress.enabled=0 in php.ini until the next routine bugfix release ships.

What Managed Hosts Have Done

WordPress.com, Pressable, WP Cloud, and Tumblr, all Automattic properties, patched platform-wide and require no action from site owners. Some managed WordPress hosts applied the patch in an emergency maintenance window on October 21. Vercel deployed WAF rules before public disclosure. Those WAF rules reduce exposure to known exploit patterns but do not replace patching the runtime itself.

Self-hosted environments on VPS or dedicated servers where the site owner or agency controls the PHP runtime need immediate manual action. This applies to any cPanel-based shared hosting account where PHP version management is exposed to the account holder. It also applies to every client site your agency manages on a server you control.

What to Do Now

Check the PHP version in Tools > Site Health on every site you manage. Update via your hosting control panel to the patched release for your branch. Move PHP 8.1 sites to 8.3 or 8.4 rather than 8.2, which expires December 31, 2026. Apply session.upload_progress.enabled=0 in php.ini as an interim mitigation for CVE-2026-115560 until PHP ships that separate fix. Audit server logs back to at least October 17, the earliest confirmed exploitation date, for unusual POST requests to multipart upload endpoints.

If your agency manages client servers directly, start with the PHP version inventory before touching anything else.

Frequently Asked Questions

My host says they have patched. Why should I still check Tools > Site Health?

Some hosts deploy server-side fixes that do not immediately update the version string visible inside WordPress. The version shown in Tools > Site Health is the PHP version your site is actually running. If that number is below 8.2.35, 8.3.36, 8.4.27, or 8.5.12, ask your host to confirm their deployment reached your specific account or server.

Does disabling session.upload_progress.enabled fully protect against both CVEs?

No. It blocks one confirmed trigger path. CVE-2026-109618 has other paths to the out-of-memory state. CVE-2026-109619 has additional trigger paths beyond session upload progress, including fatal error backtraces on PHP 8.5. The setting is an interim measure while you arrange the PHP runtime upgrade.

We run Nginx plus PHP-FPM. Is that higher or lower risk than Apache mod_php?

PHP rated mod_php the highest-risk environment and confirmed a working exploit there. PHP-FPM is also affected. CVE-2026-109619’s stale global state mechanism is inherent to persistent worker processes, which PHP-FPM uses. Both execution models need the PHP runtime updated.

Client sites are on PHP 8.1. Can they stay there with the source backport?

PHP released minimal source backports for 8.1, 8.0, and 7.4 due to severity. Most shared hosts will not deploy a source backport. If your client’s host has not explicitly confirmed they applied it, assume the 8.1 installation is still exposed. Migrate to PHP 8.3 or 8.4. Moving to 8.2 buys only two months before another forced upgrade on December 31.

Is CISA tracking these CVEs?

As of October 23, neither CVE-2026-109618 nor CVE-2026-109619 had been added to CISA’s Known Exploited Vulnerabilities catalog. That status does not change the exploitation evidence. Amazon Threat Intelligence confirmed attempts starting October 17. Trail of Bits confirmed working exploits on October 26. Treat these as actively exploited.

WordPress 7.2 Beta 1 Is Live: What Your Client Sites Need Tested Before RC1 Locks the Build

Beta 1 Dropped Yesterday. RC1 Is Four Weeks Out.

WordPress 7.2 Beta 1 went live on October 20, 2026. Release Candidate 1 follows on November 17. After RC1, the feature set is locked and testing feedback stops shaping code. The final release is December 8.

That four-week window is the cheapest moment to find problems. Every issue filed before RC1 has a real shot at being fixed before it reaches the hundreds of millions of sites running WordPress. After November 17, the team shifts to verification only.

Test on staging. Not on production. The WordPress Beta Tester plugin, a direct zip download, WP-CLI (wp core update --version=7.2-beta1), or a WordPress Playground instance all get you there without touching client sites.

Ipsum: The End of Year-Named Default Themes

WordPress 7.2 ships with Ipsum, the first default theme in 16 years that does not use a year as its name. The Make Core post announcing it was direct: default themes will “change when the design calls for it, not when the calendar does.” The name comes from the lorem ipsum placeholder text that fills a page until real content arrives.

The design is deliberately minimal. Nearly all styles live in theme.json and Global Styles rather than a stylesheet. Style variations can retheme the entire page including images, and every combination is built to WCAG AA color contrast. Headers, heroes, and sidebars are available when needed but stay out of the way while someone writes.

Existing sites keep their active theme after updating. Ipsum only applies to new installs. For agencies building starter themes or white-label onboarding flows, Ipsum is worth pulling from GitHub now. Its minimal CSS approach and accessibility baseline will likely influence what clients expect from new builds in 2027.

The Change Most Likely to Break Something Quietly

wp_kses() is being rebuilt on the HTML API. The old version used regular expressions. The new version is a proper parser.

The new parser normalizes markup output differently from the regex-based predecessor: tags come out lowercase, attributes get double quotes, entity encoding adjusts, and the contents of <script> and <style> elements are stripped entirely. The sanitized HTML is still correct. The specific character-level output is no longer identical to what the old parser produced.

Any plugin or theme code that sanitizes HTML and then compares the result, stores it for string comparison, or tests equality against the sanitized output will likely behave differently after this update. That category is wider than it sounds. Custom post meta workflows, comment moderation tools, theme preview systems, and anything caching sanitized markup are all candidates.

The WordPress Developer Blog noted: “If your plugin or theme sanitizes HTML and then compares, stores, or tests the result, run that code against trunk now.”

A temporary filter, wp_kses_force_legacy_parser, restores the old behavior. Use it as a short-term bridge while fixing the underlying code, not as a permanent solution. File anything that breaks on the Trac ticket. There is a testing tool at wp-kses-new-parser-tester.space.fast for checking specific HTML inputs against the new parser.

140 Pull Requests of Design Tool Cleanup

Gutenberg 24.1 switched on existing block supports for Core blocks that previously lacked them. Around 140 PRs covered background images, gradients, shadows, link and button colors, borders, text columns, and text alignment across a significantly wider set of blocks.

For theme authors, custom CSS written to force a shadow on a Code block or a background on a Latest Posts block can often move into theme.json under styles.blocks. The result is fewer overrides to maintain across client sites.

One specificity detail worth catching before you update client sites: Accordion, Tabs, Tab Panel, and Post Template blocks now output has-link-color and related utility classes. If your theme styles links inside any of those blocks, check for collisions.

Responsive Controls Are Now a Public API

Responsive style states shipped in WordPress 7.1, but the helpers blocks needed to build per-breakpoint controls were private. Only Core blocks could use them. Gutenberg 24.1 made getStyleForState() and setStyleForState() public inside @wordpress/block-editor.

Custom blocks can now offer the same viewport-specific settings Core blocks expose. Position can vary by viewport too: a header can be sticky on mobile and static on desktop without a line of custom CSS. For agencies maintaining custom blocks with hard-coded responsive logic, this is a clean path to move that logic into the official API and reduce long-term maintenance.

The same release also expands Gallery block controls: columns, image cropping, and aspect ratios can all vary by breakpoint in the Flex layout.

Plugin Publishers: Your Release Process Changed

Plugins on the WordPress.org directory now go through an automated security review during the release cooldown. Multiple AI models and Jetpack Scan score each new release. High-risk releases are blocked automatically, and committers receive an email with the findings.

The practical implication is narrow but important. If a flagged release notification lands in an inbox nobody reads, client plugin updates stall silently. Make sure the email on every committer account is actively monitored. The WordPress Developer Blog put it plainly: “Make sure the address on your committer accounts is one somebody actually reads.”

Core Icons: Strokes, Not Fills

Roughly 330 Core admin icons were redrawn as stroke-based SVGs in Gutenberg 24.1. Each sets fill: none inline on the <svg> element. A CSS fill property or fill prop no longer recolors them. The correct property is now color.

Any admin styles in your themes or plugins that include svg { fill: #value; } rules targeting Core icons will stop working after this update. When updating, change @wordpress/icons and @wordpress/components together. Mixing new stroke-based icons with an older Icon component version drops the merged styles.

A Secrets API and Hardened Application Passwords

WordPress 7.2 introduces a Secrets API: a standardized, secure way for plugins and integrations to store sensitive credentials such as API keys and authentication tokens. It supports encryption at rest and credential rotation. In this release the API is CLI-only. A UI is planned for a future version.

Application Passwords also receive hardening in 7.2: email notification when one is added, detection of non-HTTPS environments, safer default_role values, and SameSite cookie support. For agencies running multi-user sites or enterprise clients handling OAuth and third-party integrations, these are meaningful credential-handling improvements.

Admin Loading Changes Architecture

WordPress 7.2 replaces script and stylesheet concatenation with individual file loading plus a prefetching mechanism. Instead of one large combined file on each admin page load, assets load individually for better browser cache reuse. The prefetcher anticipates which admin screen a user is likely to visit next and begins loading its resources in advance.

Agencies doing performance audits of WordPress admin interfaces should account for this architectural shift in benchmarks after December. The raw TTFB on an initial admin page load may change in either direction depending on hosting stack and caching configuration.

WordPress Playground Gains a Terminal and an Email Inbox

Two new Playground tools make it meaningfully more useful for compatibility testing. The Dev Tools Dock adds a terminal that runs PHP and WP-CLI commands against the live Playground instance without needing a TTY. The Email tool captures anything sent through wp_mail() and renders it in the browser without an external mail catcher.

For quick Beta 1 compatibility checks before investing in a full staging build, Playground is now a much more capable starting point.

The Key Dates

| Milestone | Date | |—|—| | Beta 1 | October 20, 2026 | | Release Candidate 1 | November 17, 2026 | | Final Release | December 8, 2026 |

Feedback filed before RC1 on November 17 can still change what ships. Report issues in the Alpha/Beta support forum on WordPress.org or via Trac.

Frequently Asked Questions

Will WordPress 7.2 replace my site’s current theme? No. Ipsum applies only to new installs. Any site with an active theme keeps it after updating to 7.2.

Is real-time collaborative editing included in 7.2? No. Collaborative editing is intentionally off the 7.2 roadmap. The team is rebuilding it through a server-aware approach, and the work lives in a separate feature plugin for now.

Is the Secrets API accessible through the WordPress dashboard? Not in 7.2. The initial release is CLI-only. A UI is planned for a later release.

What happens if the new wp_kses() breaks something in my plugin? Add the wp_kses_force_legacy_parser filter as a temporary bridge while you fix the underlying code, then file a Trac report so the core team can assess whether the new parser needs adjustment.

When should client sites update to 7.2? Not before December 8, and ideally not on release day. Give plugins a week to push compatibility updates, then begin a staged rollout starting with lower-traffic sites.