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.

AI Crawlers Now Outnumber Human Visitors: What the Bot Traffic Majority Means for Your WordPress Site

More Than Half the Traffic Hitting Your Site Right Now Is Not Human

That threshold was crossed earlier in 2026 than most web teams expected. As of June 2026, bots generate more web traffic than people do — 57.5% of HTML requests on Cloudflare’s global network, per data shared publicly by Cloudflare CEO Matthew Prince. Imperva’s independently-published Bad Bot Report 2026 puts the broader figure at 53% across all web traffic, counting API and app calls alongside HTML requests. Two different measurement methodologies pointing in the same direction.

For WordPress site owners, the headline number is only part of the story. The mix and behavior of that automated traffic is what actually determines whether your hosting bill stays predictable, your server has capacity for real visitors, and your analytics give you an accurate picture of what is actually happening.

AI Crawlers Are Driving the Surge

Not all bot traffic carries the same risk profile. The structural shift in the past 12 months is specifically AI-driven. Akamai’s Digital Fraud and Abuse Report 2025 documented AI crawler traffic growing 300% in a single year. TollBit’s network data translates that into practical terms: at the start of 2025, roughly 1 in every 200 web visits was an AI bot. By year-end that ratio had moved to 1 in 31.

Cloudflare’s own telemetry shows AI crawlers reached 4.2% of HTML requests by late 2025, swinging between 2.4% in early April to 6.4% in late June — nearly a 3x range within a single year. GPTBot alone grew 305% between May 2024 and May 2025, per Cloudflare data.

Here is the part that makes the server math frustrating: 80% of all AI crawling activity is for model training, not for surfacing answers in response to live user queries. That means the overwhelming majority of AI bot traffic generates zero referral visits back to your site. The crawlers consume your server resources and return nothing commercially useful in exchange.

Why WordPress Sites Are Especially Exposed

Standard caching plugins and managed WordPress hosting are built around a reasonable assumption: most pages are static enough that a page cache layer absorbs the load before PHP ever runs. AI crawlers break that model at exactly the endpoints that matter most.

They hit dynamic URLs that cannot be cached: add-to-cart pages, filtered product listings, checkout steps, and query string variations. Each of those requests runs PHP, hits the database, and counts against your server’s resource limits. Kinsta’s analysis of more than 10 billion HTTP requests across its managed WordPress infrastructure found that ClaudeBot alone sent 3.75 million requests to a single WordPress cart page in a 24-hour window. Across all tracked crawlers, requests to add-to-cart URLs totaled 7.67 million within the same 24 hours.

A product page with color, size, sort, and pagination filters looks like a single URL to a human visitor. A crawler sees hundreds of unique URL variations and requests every one. Cloudflare and ETH Zurich researchers documented in April 2026 that even well-behaved crawlers like Googlebot get caught in the same query-string loop patterns — which makes the problem harder to address cleanly, because blocking Googlebot to reduce server load is not a realistic option.

For WooCommerce stores and membership sites in particular, this translates to higher server resource consumption, slower PHP response times during bot surges, and hosting bills that keep climbing even when human traffic stays flat.

The Crawl-to-Referral Gap

Botify published crawl-to-visit ratio data in March 2026 that puts the economics in sharp relief. For every single visit that OpenAI’s systems deliver to a retail website, those systems perform 198 crawls first. Google generates one visit per six crawls. The disparity shows why AI crawler volume does not translate into meaningful traffic gains for publishers — at least at current AI search referral rates.

Adobe Analytics data from Q1 2026 does show AI-referred traffic to US retailers grew 393% year over year, reaching a peak of 1,151% YoY growth in December 2025. The referral traffic that does arrive is commercially valuable. The challenge is that training crawlers — which represent 80% of AI bot activity — produce none of it.

How Managed Hosting Is Responding

Kinsta’s June 9, 2026 launch of Bot Protection — built directly into its MyKinsta dashboard and included on every plan at no additional cost — reflects how managed WordPress hosts are repositioning themselves around this problem. The feature includes four preset protection levels, a Block AI Crawlers toggle, CAPTCHA challenges powered by Cloudflare bot scores, and a dedicated analytics tab that breaks traffic into verified bots, AI crawlers, automated traffic, and likely human visitors.

The Block AI Crawlers toggle targets training crawlers like GPTBot while explicitly preserving Googlebot and Bingbot access, so search engine indexing continues normally. Kinsta’s own documentation names the trade-off clearly: blocking AI crawlers reduces how often your content surfaces in AI-generated answer summaries. For sites where AI search visibility is a strategic priority, a middle path — blocking aggressive crawlers while challenging others — may fit better than a blanket block.

Cloudflare also launched Cloudflare OS on August 5, 2026, aimed at safe AI agent deployment, continuing its pattern of adding edge-level controls as agentic web traffic grows alongside traditional crawler traffic.

Practical Steps for WordPress Site Owners

  • Check server-level reports, not just analytics dashboards. Google Analytics and most WordPress analytics plugins filter or miss bot traffic. If server resource usage is climbing while reported traffic is flat, bots are likely the cause.
  • Review your hosting platform’s bot management tools. Not all managed hosts include bot filtering. Cloudflare’s free tier provides basic bot protection and rate limiting at the edge before requests reach your server.
  • Apply path-specific protections to dynamic endpoints. Cart pages, checkout URLs, and filtered product listings are the highest-cost targets. Rate limiting those specific paths reduces compute consumption without affecting normal page delivery.
  • Audit your robots.txt file. Explicit disallow rules for specific AI crawler user agents (GPTBot, ClaudeBot, CCBot) prevent training crawlers from indexing content you want to protect, though compliance depends on the crawler respecting the standard.
  • Set performance alerts alongside uptime alerts. Bot surges show up in PHP response time and thread usage metrics before they appear in downtime numbers. Monitoring both gives you earlier warning.

Frequently Asked Questions

Does blocking AI crawlers affect my Google rankings?

No. Bot protection tools like Kinsta’s Block AI Crawlers toggle target training crawlers while preserving access for Googlebot and Bingbot. Your search engine indexing is unaffected. The trade-off is reduced exposure in AI-generated answer summaries, not traditional organic rankings.

How do I tell if bot traffic is hurting my site’s performance?

Look at server-level request logs rather than front-end analytics. High-volume requests against non-cacheable paths (add-to-cart URLs, query string variations, checkout steps) and elevated PHP response times are the clearest signals. If your thread limits are regularly maxing out and your human traffic looks normal, bots are the likely cause.

Is AI crawler traffic the same as malicious bot traffic?

Not exactly. AI training crawlers like GPTBot and ClaudeBot are not malicious in the traditional security sense. The problem is volume and behavior at uncacheable endpoints. That said, Imperva’s 2026 Bad Bot Report found that 40% of all bot traffic is genuinely malicious — up from 37% the prior year. AI training crawlers add an infrastructure cost on top of that existing malicious traffic baseline.


Sources: