# PHP fixes seven critical flaws, one exposing some WordPress servers to attack

PHP published advisories for seven critical vulnerabilities on 19 November 2026, with fixed versions released on 18 and 19 November. Wordfence says the most serious, CVE-2026-129289, can let an attacker run code on some WordPress servers without logging in.

- Page: https://www.cognivise.co.uk/news/php-cve-2026-129289-critical-php-fpm-flaw-wordpress
- Topic: Running software
- Published: 2026-11-22
- Updated: 2026-11-22
- Author: Cognivise
- Source: Wordfence (press), CVE-2026-129289 and Other Critical PHP Vulnerabilities: What WordPress Site Owners Need to Know (https://www.wordfence.com/blog/2026/11/cve-2026-129289-wordpress-php-vulnerabilities/)

## Key takeaways

- PHP released fixes for seven critical vulnerabilities on 18 and 19 November 2026, in versions 8.2.36, 8.3.37, 8.4.28 and 8.5.13.
- CVE-2026-129289 can let an attacker run code on a WordPress server without logging in, if PHP-FPM is unpatched and the web server reuses connections to it.
- Updating WordPress or its plugins does not update PHP, so check with your host or update the server yourself.

## What PHP disclosed on 19 November

PHP published security advisories on 19 November 2026 for seven critical vulnerabilities. Fixes for the four branches PHP still supports came in versions 8.2.36, 8.3.37, 8.4.28 and 8.5.13.

The one that matters most for WordPress is CVE-2026-129289, a flaw in PHP-FPM, the part of PHP that handles requests passed on by the web server. It scores 9.2 out of 10 on the CVSS v4.0 scale. According to an analysis by [Wordfence](https://www.wordfence.com/blog/2026/11/cve-2026-129289-wordpress-php-vulnerabilities/), the bug can leave part of a request unread, so a reused connection between the web server and PHP carries a second, hidden request that skips the web server’s checks. An attacker can then run PHP code with the website’s own permissions, without logging in.

Wordfence reproduced this on a standard WordPress 7.1.5 site running PHP 8.2.35 behind NGINX with connection reuse switched on. It failed on PHP 8.2.36 and with reuse switched off. As of 20 November the flaw was not on CISA’s list of known exploited vulnerabilities, but technical details are public.

## Which WordPress sites are exposed

Two conditions must both apply: the server runs an affected PHP-FPM version, and the web server reuses its connections to PHP-FPM. NGINX does not do this by default, but WordOps, a server-management tool for WordPress, switches it on. PHP’s advisory also lists Apache with connection reuse enabled; Wordfence tested only NGINX.

No vulnerable plugin, theme or account is needed, because WordPress’s built-in REST API supplies the behaviour the attack relies on. The flaw is in PHP itself, so updating WordPress, plugins or themes does not fix it.

PHP 5.6 to 8.1 may also be affected and will get no fix, as those branches are unsupported. The other six flaws need more specific settings or code to be exploited on a typical WordPress site, but the same fixed releases close them too. A site that does not run on PHP is not affected.

## How to update PHP and confirm the fix

Wordfence advises updating as soon as possible, rather than first working out whether your set-up is exposed.

- On managed or shared hosting, look for your host’s notice about the 19 November PHP updates and follow it.
- On your own server, install a fixed release or your vendor’s patched package, then restart PHP-FPM and the web server. Vendors may patch without changing the version number, so check their notice.
- In containers, rebuild the image on a patched PHP base and redeploy it; an old container that is merely restarted still holds the vulnerable files.
- If no update is available yet, switch off PHP-FPM connection reuse. This blocks CVE-2026-129289 but not the other six.
- On PHP 8.1 or older, move to a supported branch.

Afterwards, check that pages load, the REST API responds, scheduled tasks run and key plugins behave as before. Then confirm which PHP-FPM version the website is really running on, since it can differ from the command-line version.

If you are unsure [what your support arrangement covers](https://www.cognivise.co.uk/blog/what-application-support-covers), ask your developer or host whether PHP updates are included. Cognivise’s [ongoing support and ownership](https://www.cognivise.co.uk/services/ongoing-support-and-ownership) service handles updates of this kind.

## Related

- [Ongoing support and ownership](https://www.cognivise.co.uk/services/ongoing-support-and-ownership)
- [What should software support cover after launch?](https://www.cognivise.co.uk/blog/what-application-support-covers)
