# CVE-2026-129289 and Other Critical PHP Vulnerabilities: What WordPress Site Owners Need to Know

PHP-FPM leaves unread request bytes on reused web-server connections, letting an unauthenticated attacker run PHP code via a stock WordPress REST request.

- Payout: Research
- Severity: critical
- Program: PHP
- Found by (vendor credit): Stephan Lipp (Ada Logics / Anthropic), David Korczynski (Ada Logics / Anthropic), Aviral Srivastava
- Write-up by: Alex Thomas
- Disclosed: 2026-11-20
- CVE: CVE-2026-129289
- Write-up quality: 7/10
- Original: https://www.wordfence.com/blog/2026/11/cve-2026-129289-wordpress-php-vulnerabilities/
- Library page: https://bugbountylibrary.com/r/blog%3Awordfence-com-blog-2026-11-cve-2026-129289-wordpress-php-vulnerabilities
- Tags: area:web domain:web impact:rce kind:research platform:research sev:critical tech:nginx tech:php tech:wordpress technique:source-review vuln:rce vuln:request-smuggling

**Target:** PHP-FPM behind NGINX/Apache mod_proxy_fcgi with connection reuse
**Root cause:** PHP-FPM can leave part of a request unread when the parser stops early; if the web server keeps and reuses the private FastCGI connection, PHP treats the leftover bytes as a new request that bypassed web-server routing and access checks.
**Steps:**
1. Target runs vulnerable PHP-FPM (e.g. 8.2.35) behind NGINX with fastcgi_keep_conn on (or Apache mod_proxy_fcgi enablereuse=on).
2. Send a specially formed request body to a stock WordPress REST endpoint so PHP's parser stops early, leaving crafted bytes unread on the FastCGI connection.
3. WordPress REST handling calls WP_REST_Server::get_raw_data(), which opens php://input while the affected bytes remain unread.
4. The web server reuses the private connection; PHP parses the leftover bytes as a new request that never passed web-server checks.
5. Attacker who knows the path to an existing PHP file gets PHP code executed with the site's PHP process permissions.
**How found:** Wordfence Threat Response noted PHP's advisory requirement that the app open php://input while affected bytes remain unread, and matched it to stock WordPress REST behavior (serve_request/get_raw_data reading php://input), then reproduced in an isolated lab with PHP 8.2.35 behind NGINX with connection reuse enabled.
**Exploitation:** Unauthenticated attacker sends a crafted body to a stock WordPress REST request; PHP's early parser stop leaves bytes on the reused FastCGI connection, which PHP then executes as a fresh request, yielding code execution as the PHP process user. Requires vulnerable PHP-FPM plus web-server connection reuse; no account, session, plugin, or timing race needed.
**Insight:** When a runtime advisory names an application behavior (here: reading php://input mid-request), grep popular frameworks for that exact call path — stock WordPress REST satisfies it, turning a server-config-dependent PHP bug into an unauthenticated RCE on real deployments.

