On November 18 and 19, 2026, the PHP project published security releases 8.2.36, 8.3.37, 8.4.28, and 8.5.13, alongside the general release of PHP 8.6.0. The releases fix 17 vulnerabilities, seven of them rated Critical with a CVSS v4.0 score of 9.2 out of 10.
For self-hosted WordPress and WooCommerce merchants, the key point is that these flaws sit in the underlying PHP runtime, not in WordPress Core, WooCommerce, or any plugin. Updating WordPress from the admin dashboard will not update PHP. On an affected server configuration, an unauthenticated attacker may be able to run PHP code with the permissions of the website’s PHP process.
As of November 19, 2026, Cloudflare’s PHP WAF briefing reported that none of the 17 vulnerabilities was in CISA’s Known Exploited Vulnerabilities catalog, and that its reviewed sources had not reported exploitation in the wild. Public technical details are available, though. Store operators should verify their runtime and hosting protections now rather than wait for evidence of exploitation.
This update follows our WordPress, PHP, and NGINX patch-window coverage. It includes a session-handling flaw related to the earlier PHP2Shell vulnerabilities.
Business Blast Radius: Which WooCommerce Deployments Are Actually Exposed?
Not every WordPress or WooCommerce site is exposed to every flaw. Each vulnerability has its own configuration and application requirements.
Wordfence’s CVE-2026-129289 analysis identifies this PHP-FPM request-smuggling flaw as the most directly relevant issue for WordPress. CVE-2026-126714, known as phpAfterShell, is a separate flaw that affects PHP’s file-based session handler.
Your next step depends on who manages the PHP runtime:
- Managed hosting: If your provider controls PHP, ask it to confirm that the runtime has been patched or that the fixes have been backported into its packages. A WordPress dashboard update does not patch the server’s PHP installation.
- Self-managed servers: Administrators must install the PHP fixes and restart or redeploy the affected services. Server settings also determine your exposure.
- Unsupported PHP branches: PHP 8.1 and earlier have no upstream fixed release for CVE-2026-129289. PHP says the vulnerable code dates to PHP 5.6.0, so older releases may be affected. Move to a supported, fixed branch.
Plain-English Breakdown of the Critical PHP Flaws
1. CVE-2026-129289: PHP-FPM Connection Reuse and WordPress REST API Exposure
A front-end web server such as NGINX checks incoming traffic and passes requests to PHP-FPM over a private connection.
What goes wrong: CVE-2026-129289, tracked in PHP advisory GHSA-qc49-hpvq-g2w6, can leave part of a request unread. If the web server reuses that private connection, PHP-FPM may treat the leftover bytes as a new request, one that skipped the web server’s normal routing and access checks. An attacker who knows the path to an existing PHP file may be able to run PHP code without logging in.
Why WordPress is relevant: The demonstrated attack needs an application path that opens php://input while affected bytes remain unread, and WordPress REST requests normally read that request stream. Wordfence reproduced unauthenticated code execution in an isolated lab using stock WordPress 7.1.5, PHP 8.2.35, and NGINX with PHP-FPM connection reuse enabled. The tested route did not require a vulnerable plugin, theme, or WordPress account.
The server setting matters: NGINX defaults to fastcgi_keep_conn off, but Wordfence reports that WordOps enables fastcgi_keep_conn on and cached PHP-FPM connections in its templates. Apache mod_proxy_fcgi with enablereuse=on and HAProxy configurations that reuse FastCGI connections can also meet the connection-reuse condition.
Wordfence’s same test did not run code once the target was updated to PHP 8.2.36, or once connection reuse was disabled.
2. CVE-2026-126714 (phpAfterShell): Interrupted Session File Corruption
Disclosed by depthfirst, CVE-2026-126714 affects PHP’s default file-based session handler. The CVE record credits Leo Lin and Asahi as reporters.
As described in SOCRadar’s phpAfterShell analysis, the flaw follows the October PHP2Shell vulnerabilities, CVE-2026-109618 and CVE-2026-109619. The earlier fix blocked object creation in a file-upload progress callback, but it did not change the session-file write behavior behind phpAfterShell.
What goes wrong: If a session-file write is interrupted, the file can end up holding the start of the new session data followed by stale data from the previous session. A later session_start() call can deserialize that mixed content. If an attacker can influence the session data, the result can be object injection and, under the right conditions, remote code execution.
PHP’s session upload-progress feature can give an unauthenticated client a way to influence session data during a multipart upload. Applications that store large user-controlled strings in sessions offer another possible path. Exploitation also requires an interruption at a useful moment and, ordinarily, a suitable application gadget chain. Cloudflare reports that depthfirst demonstrated code execution without an application gadget by chaining a separate, undisclosed memory-corruption bug in a native PHP class.
This specific flaw affects the file-based session handler. According to SOC Prime’s session flaw briefing, applications using Redis, databases, or other non-file session handlers fall outside this defect’s scope. That does not protect them from the other PHP vulnerabilities.
3. Other Flaws in the Release
The release also addresses vulnerabilities with different preconditions:
- CVE-2026-115560: A session serializer mismatch that can permit object injection when upload progress is enabled and contexts sharing a session store use incompatible serializers. It is separate from
phpAfterShell. - CVE-2026-15353 and CVE-2026-129506: Flaws in PHP’s SOAP extension.
- CVE-2026-129496: A timezone-cache use-after-free that can crash a fresh worker and potentially run code.
PHP Version Exposure & Remediation Matrix
Use this table when checking the runtime with your hosting provider or administrator. The ranges for CVE-2026-129289 and the fixed releases come from Wordfence’s analysis, linked above. Individual vulnerabilities have different preconditions.
| PHP Branch | Version Exposure | Fixed Release or Action |
|---|---|---|
| PHP 8.6 | Pre-release builds before 8.6.0 | 8.6.0 includes the fixes |
| PHP 8.5 | 8.5.0 through 8.5.12 affected by CVE-2026-129289 | 8.5.13 |
| PHP 8.4 | 8.4.0 through 8.4.27 affected by CVE-2026-129289 | 8.4.28 |
| PHP 8.3 | 8.3.0 through 8.3.36 affected by CVE-2026-129289 | 8.3.37 |
| PHP 8.2 | 8.2.0 through 8.2.35 affected by CVE-2026-129289 | 8.2.36; plan a migration before its December 31, 2026 end of life |
| PHP 5.6–8.1 | Unsupported releases may also be affected by CVE-2026-129289 | No upstream fixed release; move to a supported, fixed branch |
Backports: Linux distributions and hosting vendors may backport fixes without changing the first three version numbers. Verify the complete package version or the provider’s security notice rather than relying only on the version shown in WordPress.
Perimeter Defense vs. Runtime Patching: What Cloudflare WAF Covers
Cloudflare’s briefing, linked above, says its WAF can add a layer of defense but does not replace patching PHP.
- Known
phpAfterShellpatterns: Cloudflare updated an existing PHP remote-code-execution rule on November 19. It is included in both the Free Managed Ruleset and the Cloudflare Managed Ruleset, is enabled by default, and has a default action of Block. - PHP-FPM and SOAP rules: Cloudflare added rules for CVE-2026-129289, CVE-2026-15353, and CVE-2026-129506 to its paid Managed Ruleset. Their default action is Log, because matching patterns can also appear in legitimate traffic. Customers can review the matches before switching the action to Block.
- Limits: Some flaws depend on server configuration or can be reached through paths a WAF never sees. Upgrading PHP and restarting workers remain necessary.
Prioritized Audit & Patch Checklist for Store Leaders and Agencies
Step 1: Verify PHP and Restart Affected Workers
Check WordPress Admin → Tools → Site Health → Info → Server, or ask your administrator or host to verify the runtime and package build.
- The October releases 8.2.35, 8.3.36, 8.4.27, and 8.5.12 do not contain the
phpAfterShellfixes. Upgrade to the applicable fixed release or verify a vendor backport. - After installing an update, restart or redeploy the affected PHP workers so they load the patched runtime.
Step 2: Audit Front-End Connection Reuse
If patching is delayed, have an administrator review the front-end configuration:
- NGINX / WordOps: Check for
fastcgi_keep_conn on. Wordfence’s tested attack did not run code when connection reuse was disabled. - Apache / HAProxy: Check whether FastCGI backend connections are reused, including Apache
mod_proxy_fcgiwithenablereuse=on. Consider disabling reuse until the runtime is patched.
Treat this as a mitigation for the connection-reuse attack path, not a substitute for the PHP update.
Step 3: Review Session Handling
If the store or any auxiliary PHP application uses native sessions:
- Confirm whether
session.save_handleruses files or a non-file handler. A non-file handler is outside the scope of the specificphpAfterShelldefect. - Review whether PHP session upload progress is actually needed. It is one possible path for an unauthenticated client to influence session data, and applications can also store user-controlled strings in sessions.
Step 4: Review Cloudflare WAF Matches
If you use the paid Cloudflare Managed Ruleset, review Security Events for matches to the rules covering CVE-2026-129289, CVE-2026-15353, and CVE-2026-129506. After ruling out false positives, consider changing their action from Log to Block. Keep patching PHP, because WAF rules do not provide complete coverage.