WordPress core isn’t the problem here; PHP is. Your server needs PHP 8.2.36, 8.3.37, 8.4.28 or 8.5.13 (or a distro build with the fixes), and WordPress, plugin and security-plugin updates don’t touch it. The setup to worry about is PHP-FPM behind a web server that reuses FastCGI connections, where Wordfence reported code execution with an ordinary REST request.
On this page
Does updating WordPress fix this?
No. The bugs fixed on 19 November are in PHP itself, the software your host runs to execute WordPress. Updating WordPress core, your plugins or a security plugin changes the PHP code of your site, not the PHP engine underneath it. Wordfence made the same point in its write-up of the release.
The fixed PHP versions are 8.2.36, 8.3.37, 8.4.28 and 8.5.13, released together on 19 November 2026 (everything that release fixed). On shared and managed hosting, your host installs them. On your own server or VPS, you do.
Which of the November flaws matter for WordPress?
PHP fixed seven critical issues. Their conditions differ a lot, and for WordPress they don’t weigh the same:
| CVE | What it needs | WordPress angle |
|---|---|---|
| CVE-2026-129289 | PHP-FPM plus a web server that reuses FastCGI connections | The real risk this month. Wordfence reproduced it with a stock WordPress REST request |
| CVE-2026-126714 | PHP file sessions with attacker-influenced data | Core doesn’t use PHP sessions; only plugins that do |
| CVE-2026-115560 | Session upload progress on, plus mixed session serializers | Same: plugin territory, and a narrow combination |
| CVE-2026-129496 | Startup warnings written to a file-based error log | A server setting, not something WordPress controls |
| CVE-2026-129474 | PHP 8.5 with development-style error settings | Blocked by a production php.ini |
| CVE-2026-129481 | A fatal error during session cleanup, PHP 8.3 or newer | Depends on plugins; no code execution shown |
| CVE-2026-129182 | PHP 8.5 with unusual per-directory config | Rare; no code execution shown |
In practice, one issue deserves your attention now, and it depends on how the server is set up rather than on WordPress.
The setup that matters: FastCGI connection reuse
CVE-2026-129289 is a request smuggling bug in PHP-FPM. It only works when the web server in front of PHP keeps its connections to PHP-FPM open and reuses them: nginx with fastcgi_keep_conn on, or Apache with enablereuse=on. Standard nginx and Apache configs close the connection after each request and aren’t exposed to the demonstrated attack, according to PHP’s advisory.
Wordfence reported reproducing unauthenticated PHP code execution in an isolated lab with nothing more than an ordinary request to a stock WordPress 7.1.5 REST endpoint. The test server ran PHP 8.2.35 behind NGINX with FPM connection reuse. No plugin, theme, account or session was needed. The same request didn’t run code on PHP 8.2.36, or with reuse switched off. Wordfence only tested NGINX.
Wordfence also reported that WordOps ships fastcgi_keep_conn on in its templates. If your server was set up with WordOps, or with a performance guide that told you to enable FastCGI keepalive, check it today. As of 20 November, Wordfence said the CVE wasn’t on CISA’s list of known exploited vulnerabilities.
What about sessions?
WordPress core doesn’t use PHP sessions; it keeps logins in its own cookies. So the two session bugs, CVE-2026-126714 (“phpAfterShell”) and CVE-2026-115560, mostly matter through plugins that call session_start(). Some form, membership, shop and page-builder plugins do. mySites.guru made the same observation for WordPress in its analysis of the release.
If you have shell access, you can see which plugins start PHP sessions:
cd /path/to/wordpress
grep -rl "session_start" wp-content/plugins wp-content/themes | cut -d/ -f1-3 | sort -u
A hit doesn’t mean you’re exploitable. It means the PHP update matters more for that site, and that the session settings on the server deserve a look.
How to check your PHP version in WordPress
In the dashboard, go to Tools > Site Health > Info, open the Server section and read PHP version. Wordfence noted that this shows the PHP of the web process actually serving WordPress, which is the one that counts. You can paste the number into our version checker.
What Site Health can’t tell you:
- Backports. Ubuntu, Debian and RHEL packages keep older version numbers and add fixes underneath. An Ubuntu 24.04 server can be fully patched and still report PHP 8.3.6. Only the package changelog settles it (how to check).
- Restarts. A host can install the new PHP and leave old workers running until PHP-FPM is restarted. The version shown comes from the process that answered, so a fresh number is a good sign, but it says nothing about other sites or pools on the same server.
- Server settings. It doesn’t show whether FastCGI connection reuse is on.
On shared or managed hosting: ask your host
You can’t update PHP yourself there, and you shouldn’t have to. Send support these questions:
- Has PHP on my plan been updated to 8.2.36, 8.3.37, 8.4.28 or 8.5.13, or to a build that includes the fixes for CVE-2026-129289 and CVE-2026-126714?
- Has PHP-FPM been restarted since the update?
- Does your web server reuse FastCGI connections to PHP-FPM (
fastcgi_keep_connorenablereuse)? If so, was it switched off until PHP was patched? - Is
session.upload_progress.enabledturned off in the PHP configuration for my site?
A good host answers the first two with a date. mySites.guru suggested similar questions, plus asking whether the host back-ports fixes into existing builds. Did my host patch? lists what hosts said during PHP2Shell, which is a fair guide to how each one handles PHP updates.
If your host is still on PHP 8.1 or older for your plan, ask to move to 8.3 or newer. The PHP project released no fix for those branches; see PHP 8.1 and older.
On your own server or VPS
You run PHP, so you install the update. Three steps:
- Update PHP with the guide for your platform: Ubuntu & Debian, RHEL, AlmaLinux & Rocky, cPanel, Plesk & DirectAdmin or Docker.
- Restart PHP-FPM for every installed PHP version, so no old worker keeps running.
- Check connection reuse:
sudo nginx -T 2>/dev/null | grep -n fastcgi_keep_conn
sudo grep -rniE 'enablereuse' /etc/apache2 /etc/httpd 2>/dev/null
If either prints on, switch it off until PHP is patched; CVE-2026-129289 shows how. The rest of the pool settings worth checking are in the PHP-FPM hardening checklist.
Was anyone already in?
No attacks using the November flaws had been reported as of 20 November. PHP2Shell, the October pair, was exploited, so if your site ran an unpatched PHP in late October it’s worth a look anyway. Two quick WordPress checks, with WP-CLI and shell access:
# PHP files in uploads are almost never legitimate
find wp-content/uploads -name '*.php' -newermt 2026-10-17
# Administrators you don't recognise
wp user list --role=administrator --fields=ID,user_login,user_registered
Anything odd there, follow the full compromise checklist. Our older PHP2Shell guide for WordPress covers rotating salts and keys.
Rather not do it yourself? We patch and verify one server, from €79. Or get an email the next time PHP ships a security release.
Sources
- php.net: PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 released (19 Nov 2026)
- PHP security advisory GHSA-qc49-hpvq-g2w6 (CVE-2026-129289)
- PHP security advisory GHSA-fm2m-fjf5-v3cp (CVE-2026-126714)
- Wordfence: CVE-2026-129289 and other critical PHP vulnerabilities for WordPress
- mySites.guru: PHP 19 November 2026 security releases for Joomla and WordPress