CVE-2026-129289: Unauthenticated RCE in PHP-FPM affecting WordPress sites
PHP fixed a critical vulnerability (CVSS 9.2) on 19 November allowing unauthenticated RCE on PHP-FPM with reused FastCGI connections.
UptimeMag editorial team · 21 November 2026 · 2 min read

On 19 November 2026, the PHP team published security advisories for the quarterly release and distributed corrected versions. WordPress hosting administrators must update PHP as soon as possible: Wordfence has flagged this and also reproduced an exploit scenario in the lab on a WordPress site.
The most critical flaw: CVE-2026-129289
On 19 November 2026, PHP published CVE-2026-129289, a critical vulnerability in PHP-FPM with a CVSS v4.0 score of 9.2 out of 10. According to the official php-src advisory (GHSA-qc49-hpvq-g2w6), the issue arises because PHP does not discard unread bytes from the body of an HTTP request before reusing a persistent PHP-FPM or LSAPI connection: an attacker who knows the path of an existing PHP script can execute arbitrary code by setting allow_url_include=1 and auto_prepend_file=php://input via forged FastCGI parameters.
The exposure depends on front-end configuration: installations are at risk with fastcgi_keep_conn enabled on NGINX, enablereuse=on on Apache mod_proxy_fcgi, or FastCGI/LSAPI backends that keep the connection open, combined with application code that opens php://input without reading it to completion. Wordfence reports that its lab verification confirmed code execution using PHP 8.2.35 behind NGINX with PHP-FPM connection reuse enabled, a condition that WordPress can generate through its own REST requests before even authentication.
Patched versions
| PHP version | Fix |
|---|---|
| 8.2.x (up to 8.2.35) | 8.2.36 |
| 8.3.x (up to 8.3.36) | 8.3.37 |
| 8.4.x (up to 8.4.27) | 8.4.28 |
| 8.5.x (up to 8.5.12) | 8.5.13 |
The first PHP 8.6.0 was released the same day, which includes the fixes.
Other critical vulnerabilities in the release
The same update patched six other flaws classified as critical: CVE-2026-115560 (sessions, unsafe deserialisation with session upload progress), CVE-2026-126714 (sessions, file handler, TOCTOU on interrupted writes), CVE-2026-129496 (date extension, use-after-free in timezone cache), CVE-2026-129481 (sessions, use-after-free on interrupted shutdown, branches 8.3–8.5), CVE-2026-129182 and CVE-2026-129474 (engine, use-after-free limited to PHP 8.5).
What to do if you cannot update immediately
For CVE-2026-129289, the official advisory recommends as temporary mitigation: disable backend connection reuse to PHP-FPM, leaving fastcgi_keep_conn disabled on NGINX or enablereuse disabled on Apache, or configure the FastCGI front-end in use to close the connection after each request. None of the seven critical flaws appears, as of 20 November 2026, in CISA's Known Exploited Vulnerabilities catalogue or is being actively exploited.
Wordfence is a security plugin for WordPress; it is not a Prime Software product.
Written with the help of artificial intelligence and checked by the editors (EU AI Act, art. 50). Source: Wordfence – vulnerabilità WordPress.