On this page
On 19 November 2026 the PHP team released PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36. This PHP security update covers every supported branch, and the team rated the worst issues as critical. The most serious bugs are in PHP-FPM and in PHP sessions, and in certain setups they can let an attacker run code on your server. None of the advisories I read say these bugs are being exploited in the wild, and BleepingComputer's report on the release does not mention any attacks either.
What to do: update PHP to the fixed version for your branch and restart PHP-FPM. If you cannot update today, turn off FastCGI connection reuse in your web server and switch off session upload progress until you can. If you are still on PHP 8.2, start planning your move now, because 8.2 stops getting security fixes on 31 December 2026.
Am I affected?
You are running the vulnerable code if your PHP version is older than 8.5.13, 8.4.28, 8.3.37 or 8.2.36, but the real risk depends on your setup. In its advance notice the PHP security team wrote: "The issues rated CRITICAL require either non-default configuration or uncommon setups." Some of these setups are still fairly common, so check your server against this list:
- PHP-FPM behind a web server that reuses FastCGI connections. For example nginx with
fastcgi_keep_conn on, Apachemod_proxy_fcgiwithenablereuse=on, or HAProxy keeping backend connections open. - Session upload progress turned on (
session.upload_progress.enabled) where different apps, pools or PHP settings share one session store. - Apps that keep user input in sessions while using the default
filessession handler. - PHP-FPM pools with
catch_workers_outputturned on. The default is off, but the advisory notes that the official PHP-FPM Docker images turn it on.
These commands only read settings and change nothing:
# PHP version on the command line
php -v
# On cPanel, each installed PHP version has its own binary
ls /opt/cpanel | grep ea-php
/opt/cpanel/ea-php84/root/usr/bin/php -v
# Is session upload progress on?
php -i | grep session.upload_progress.enabled
# Does nginx keep FastCGI connections open?
grep -rn "fastcgi_keep_conn" /etc/nginx/
# Is worker output capture on in any FPM pool?
grep -rn "catch_workers_output" /etc/php/ /opt/cpanel/ea-php*/root/etc/ 2>/dev/nullCommand line PHP can be a different version, or read a different php.ini, than the PHP your websites use. On cPanel, also check MultiPHP Manager in WHM to see which version each domain runs.
The PHP-FPM request smuggling bug (CVE-2026-129289)
If you run nginx or Apache with PHP-FPM, look at this one first. GitHub's advisory rates it critical with a CVSS v4 score of 9.2. When an application opened the request body (php://input) but did not read all of it, PHP could leave the unread bytes on the connection. If the web server then reused that FastCGI connection, those leftover bytes could be treated as a new request. The advisory says an unauthenticated attacker could use this to get around front-end routing, fake client addresses for access checks, change admin-level PHP settings and run their own PHP code as the FPM worker.

The good news is that, according to the advisory, standard nginx and Apache setups that close the FastCGI connection after each request are not affected by the demonstrated attack. The advisory credits three reporters and says the faulty code has been in PHP since 5.6.0.
A second FPM fix, CVE-2026-129291, is rated high (8.8). It needs an attacker who can already run PHP code in a worker, plus catch_workers_output turned on and the epoll event backend. If the FPM master runs as root, which the advisory says is common, that can end in root access.
The session bugs that can lead to code execution
Two critical session bugs, both scored 9.2, matter for WordPress, Laravel and any other PHP app that uses sessions.
- CVE-2026-126714 is in the default
filessession handler. PHP wrote new session data over the old file without clearing it first, so an interrupted write could leave old data at the end. Turning that into code execution needs attacker influence over session data, an interruption at the right moment and a suitable deserialization gadget in the app. The fix now empties the file before writing. - CVE-2026-115560 needs session upload progress to be on, with session data written by one serializer and read by another. That can happen when an app changes
session.serialize_handler, or when separate sites or pools share one session folder. The fix turns upload progress off by default.
The release also fixes other critical memory bugs, such as a timezone cache use-after-free (CVE-2026-129496). The full list is in the PHP 8 ChangeLog.
How do I install the PHP security update?
Update PHP to 8.5.13, 8.4.28, 8.3.37 or 8.2.36 (or newer), then restart PHP-FPM so no old workers keep running. If you use cPanel, the packages are already out. EasyApache 4 version 25.98, released on 19 November 2026, moves ea-php82 to 8.2.36, ea-php83 to 8.3.37, ea-php84 to 8.4.28 and ea-php85 to 8.5.13. It also backports the security fixes to ea-php74 (7.4.34), which helps if you still have old sites on PHP 7.4.

On Debian, the security tracker lists fixed packages for bookworm (php8.2 8.2.36-1~deb12u1) and trixie (php8.4 8.4.28-1~deb13u1). On other distros or third-party PHP repositories, check that vendor's security notices, because packaged builds sometimes carry backported fixes under a different version number.
# cPanel on AlmaLinux or Rocky Linux
dnf update 'ea-php*'
/usr/local/cpanel/scripts/restartsrv_apache_php_fpm
# Debian or Ubuntu (change 8.4 to your version)
sudo apt update && sudo apt upgrade
sudo systemctl restart php8.4-fpmIf you cannot update straight away, the PHP advisories list these workarounds. They lower the risk but do not replace the update.
| Bug | Temporary workaround |
|---|---|
| CVE-2026-129289, PHP-FPM request smuggling | Turn off FastCGI connection reuse (fastcgi_keep_conn off in nginx, no enablereuse in Apache) and never expose FPM listeners to untrusted networks. |
| CVE-2026-115560, session serializer mismatch | Set session.upload_progress.enabled = 0 in php.ini or the pool config, then restart PHP. |
| CVE-2026-126714, session files | Turn off upload progress if you do not use it and keep untrusted data out of sessions. |
| CVE-2026-129291, PHP-FPM epoll | Set catch_workers_output = no and, where possible, run the FPM master as a non-root user. |
PHP 8.2 reaches end of life on 31 December
PHP's supported versions page lists 31 December 2026 as the last day of security support for PHP 8.2. After that, a bug like the ones above will not get a fix from the PHP project for 8.2. In EasyApache 4 version 25.100 (24 November), cPanel already updated its EasyApache profiles, including the default one, to add ea-php84 and remove ea-php82.
PHP 8.6.0 also came out on 19 November, and cPanel added ea-php86 in the same 25.100 release. For live business sites, 8.4 or 8.5 is the safer target today. Give your plugins, themes and Composer packages time to support 8.6 first.
A short checklist for this week
- Find every PHP version on the server, including old ones that only one site still uses.
- Update to the fixed releases and restart PHP-FPM.
- Turn off FastCGI connection reuse and session upload progress if you do not need them.
- Book time to move any PHP 8.2 sites to 8.4 or 8.5, tested on a staging copy first.
If you would like me to check your server, get in touch.
Sources
- PHP: News Archive - 2026 php.net
- PHP-FPM request smuggling through an unread HTTP request body · Advisory · php/php-src · GitHub github.com
- Partially overwritten session files can lead to remote code execution · Advisory · php/php-src · GitHub github.com
- Session serializer mismatch can lead to remote code execution · Advisory · php/php-src · GitHub github.com
- PHP-FPM epoll use-after-free can lead to local privilege escalation · Advisory · php/php-src · GitHub github.com
- PHP: PHP 8 ChangeLog php.net
- PHP: Supported Versions php.net
- EasyApache 4 Change Log 25 | cPanel & WHM Documentation docs.cpanel.net
- CVE-2026-129289 security-tracker.debian.org
- PHP security updates fix 18 flaws, including critical RCE bugs bleepingcomputer.com
