CVE-2026-129289 is a critical flaw in PHP-FPM, the part of PHP that runs WordPress on most servers. On some server setups, a plain WordPress REST request is enough for a stranger to run code on your site, no login needed. Updating WordPress won’t fix it: PHP has to be updated, and that’s usually your host’s job.

Last updated: 26 November 2026.

In 30 seconds

  1. Updating WordPress won’t fix it. The fix is a PHP update: 8.2.36, 8.3.37, 8.4.28, 8.5.13 or 8.6.0.
  2. Not every site is exposed. The attack needs a server that reuses its connections to PHP-FPM, which isn’t the default, but some WordPress server tools turn it on.
  3. Ask your host if PHP is patched and if PHP-FPM was restarted. There’s a message to copy below.
  4. On your own server, update PHP, restart PHP-FPM, and check one line of your web server config.

What is CVE-2026-129289?

Your web server (NGINX or Apache) receives each visit, checks it, and hands it to PHP-FPM over a private connection. PHP-FPM is what actually runs WordPress. On 19 November 2026, PHP published this flaw, rated 9.2 out of 10: in some cases, PHP leaves part of a request unread on that private connection.

That’s harmless if the connection is closed after each request. But if the web server keeps the connection open and reuses it, PHP can read the leftover bytes as a brand new request, one that never went through the web server’s checks. An attacker who knows the path of any PHP file on the server can use it to run their own PHP code. No password, no plugin bug, no timing luck needed.

Where WordPress comes in: the leftover bytes appear when the application reads the raw request body, and the WordPress REST API does exactly that for every request. Wordfence reproduced the attack on a stock WordPress 7.1.5 in their lab, with no plugin, no account and no special content. This isn’t a WordPress bug, but WordPress gives the attack the door it needs.

Is my site affected?

Two things have to be true at the same time:

  • Your PHP is older than the fix. The bug goes back to PHP 5.6, so every unpatched version is concerned.
  • Your web server reuses its connections to PHP-FPM. On NGINX that’s fastcgi_keep_conn on; on Apache it’s enablereuse=on. Neither is the default. But WordOps, a popular tool to set up WordPress servers, turns it on in its NGINX templates, and some hosts enable it for speed.

If you’re on shared or managed hosting, you can’t see the second point from wp-admin, so ask. Honestly, I wouldn’t try to guess: update PHP either way, because the same PHP releases also fix six other critical flaws.

These are the first fixed versions:

PHP branchFixed from
8.68.6.0 (the new branch, released the same day)
8.58.5.13
8.48.4.28
8.38.3.37
8.28.2.36
5.6 to 8.1No fix: these branches are no longer maintained. Move to a supported one.

Linux distributions and hosts often patch PHP without changing those numbers, so a version that looks old may already be fixed. Trust their security notice over the first three digits. You can see the PHP version that runs your site in Tools → Site Health → Info → Server. Be careful with php -v in a terminal: the command-line PHP can be a different version from the one serving your pages.

What do I need to do?

If a hosting company runs your server, updating PHP is their job. Your part is to ask and get a real answer.

Message for your host

Hi, about the PHP security releases of 19 November (CVE-2026-129289, PHP-FPM): is the PHP version serving my site patched, and was PHP-FPM restarted after the update? Also, does your web server reuse its connections to PHP-FPM (fastcgi_keep_conn or enablereuse)? Thank you!

The restart matters: a running PHP-FPM keeps the old code in memory until it restarts.

If you run your own server (a VPS, a cloud server), install your distribution’s PHP security update, then restart PHP-FPM and the web server. With Docker, rebuild from a fixed PHP base image and redeploy: restarting an old container changes nothing inside it.

To see if your web server reuses its connections, run one of these on the server. If NGINX prints fastcgi_keep_conn on, or Apache finds enablereuse=on, you were in the exposed setup:

sudo nginx -T 2>/dev/null | grep -n fastcgi_keep_conn
sudo grep -rn enablereuse /etc/apache2 /etc/httpd 2>/dev/null

If you can’t update PHP today, turn that reuse off (remove fastcgi_keep_conn on, or the enablereuse=on option) and reload the web server. It blocks this attack, but not the other flaws fixed in the same releases, so it’s a stopgap, not the fix.

After updating, open a few pages, the block editor and anything that relies on the REST API, and check again in Site Health that the new PHP version is the one serving the site.

How would I know if I was hacked?

As of 25 November, nobody has reported this flaw being used against real sites, and it isn’t in CISA’s list of actively exploited flaws. But the technical details are public, so if your server was in the exposed setup, take five minutes:

  • Users: in wp-admin, open Users and filter by Administrator. Anyone you don’t know?
  • Plugins: anything installed that you didn’t install?
  • Uploads folder: a .php file inside wp-content/uploads is a red flag.
  • Your logs, if you can read them: strange POST requests to /wp-json/ with odd bodies, or requests to PHP files that your site never links to.

None of these signs is proof on its own. If something looks wrong, ask your host to scan the server and restore a backup from before it appeared, then change your passwords and keys. There’s more in my PHP2Shell guide.

Quick answers

Will a WordPress update or a security plugin fix it? No. The flaw is in PHP, below WordPress. Only your host, or you on your own server, can update PHP. A firewall plugin also runs inside PHP, after the smuggled request is already there.

Should I turn off the REST API? No. The block editor and many plugins need it, and it only removes one path. Update PHP instead.

Is it the same as PHP2Shell? No. PHP2Shell was an earlier PHP flaw. This one is new and fixed by the November releases, so a host that patched PHP2Shell still needs to update again.

Is my site safe on PHP 8.6? Yes for this flaw: 8.6.0 came out with the fix. If you were planning the move anyway, test your plugins first (should you move to PHP 8.6?), it’s a brand new branch.

I look after many client sites. Where do I start? Group them by host and ask each host once. Then check your own servers and containers, including staging and old ones, and look for WordOps or any config with fastcgi_keep_conn on first.

Timeline

  • 18 and 19 November PHP releases 8.2.36, 8.3.37, 8.4.28, 8.5.13 and 8.6.0, which fix it along with six other critical flaws.
  • 19 November PHP publishes CVE-2026-129289 (GHSA-qc49-hpvq-g2w6), rated 9.2 out of 10.
  • 20 November Wordfence reproduces it on a stock WordPress 7.1.5 behind NGINX with connection reuse, and confirms the attack fails once PHP is updated or reuse is off.
  • 25 November Still not in CISA’s catalog of actively exploited flaws.

Sources: Wordfence’s analysis, the PHP 8 changelog, and the CISA catalog.

Hear about the next one early

Server flaws like this one keep coming, and WordPress can’t warn you about them. If you work with an AI assistant (Claude, ChatGPT, Codex, Cursor…), connect it to Today WP ↗, a free server we made that knows what is true in WordPress today. Give it your WordPress and PHP versions and your plugins, and it tells you what to update first: core security releases, PHP versions that need a fix, server-level flaws like this one, and known vulnerabilities in the exact versions you run, refreshed every day. It’s read-only and needs no account. Add https://todaywp.com/mcp as a connector, then ask it: is my site safe?

Questions? Come talk about it on our Discord. Stay safe 🙂