Security

CVE-2026-129291: PHP-FPM Privilege Escalation - Which PHP Versions Are Affected?

Back to Blog
A modern alternative to cPanel, Plesk and CyberPanel — isolated, secure, AI-assisted.
Start free

Short answer: PHP published a security release for every supported branch on 19 November 2026 - 8.2.36, 8.3.37, 8.4.28 and 8.5.13 - with 17 fixes. If you run shared hosting, the one to read first is CVE-2026-129291 (CVSS 8.8): a use-after-free in PHP-FPM's epoll handling that can lead to privilege escalation. Panelica published the fixed packages the same day.

Why CVE-2026-129291 is the one that matters on a shared server

A remote code execution bug takes down one site. A privilege escalation inside PHP-FPM is a different class of problem: the attacker does not need to break into the server first. Somebody who can already run PHP there - one of your customers, or a compromised WordPress install belonging to one of them - can attempt to step outside their own user.

On shared hosting the whole threat model is "the tenant stays inside the tenant". That is what this issue puts at risk.

The affected ranges, as published by the PHP project:

  • 8.2: from 8.2.7, below 8.2.36 - fixed in 8.2.36
  • 8.3: below 8.3.37 - fixed in 8.3.37
  • 8.4: below 8.4.28 - fixed in 8.4.28
  • 8.5: below 8.5.13 - fixed in 8.5.13

The precondition, and why it is usually met

The issue needs PHP-FPM's worker output capture (catch_workers_output) to be on. PHP ships that setting off by default, so it is tempting to assume it does not apply. In practice control panels tend to turn it on, because it is how a customer's PHP errors end up in that customer's own log file instead of a shared one. Panelica enables it in every tenant pool, which is why we treated this as applying to every server rather than a subset.

The rest of the 19 November batch

  • CVE-2026-129474 - use-after-free in magic method backtraces, can lead to remote code execution.
  • CVE-2026-129496 - use-after-free in the timezone cache, can lead to remote code execution.
  • CVE-2026-126714 and CVE-2026-115560 - partially overwritten session files and a session serializer mismatch, both leading to remote code execution.
  • CVE-2026-129289 - PHP-FPM request smuggling through an unread request body.
  • CVE-2026-129538 - out-of-bounds read and write in PHP-CGI during PATH_INFO correction.
  • CVE-2026-128090 - PHAR OpenSSL signature bypass through algorithm downgrade.
  • CVE-2026-129292 - cross-site scripting in the FPM status endpoint. Only reachable where that endpoint is exposed.

The complete list with CVE identifiers is in the official PHP 8 ChangeLog.

End-of-life branches: the detail that is easy to miss

PHP's advisories list only supported branches. PHP 8.1 reached end of life in December 2025, so it does not appear in this batch at all. That does not mean 8.1 is unaffected - it means no advisory is written for it.

The Debian and Ubuntu repository that maintains those branches, deb.sury.org, published php8.1 8.1.34-13 on the same day. Its changelog says plainly "Backported from 8.2.36" and names 12 CVEs, including the PHP-FPM privilege escalation above. So a fix for 8.1 exists; it just does not come from php.net.

If you compile 8.1 or older from source yourself, those patches are not in your build. If you use your distribution's package, they arrive with a normal system update.

What Panelica did

We build PHP from source ourselves, so we check every advisory against our own build rather than forwarding it. For this batch we published php-8.2 8.2.36, php-8.3 8.3.37, php-8.4 8.4.28 and php-8.5 8.5.13. Each package was built with the same configure arguments, extensions and pinned dependency versions as the previous release - verified, not assumed: the configure command the binary reports and the shipped extension set are identical, and the file set matches with nothing added and nothing missing. Each passed our functional matrix on all nine supported operating systems, and each was applied through the panel's own update path on a server installed from the published release, including a reboot afterwards.

For PHP 8.1 we take the Sury backports into our own build as source patches, so sites still on 8.1 receive this batch's fixes. As a roadmap item, native 8.1 will be retired and 8.1 will move to the same Docker image architecture we already use for 5.6 through 7.4, where updates follow Sury's packages.

Existing servers pick the packages up under Updates in the panel, or with panelica package apply.

Security-first hosting panel

Stop bolting tools onto a legacy panel.

Panelica is a modern, security-first hosting panel — isolated services, built-in Docker and AI-assisted management, with one-click migration from any panel.

Zero-downtime migration Fully isolated services Cancel anytime
Share:
How secure is your hosting panel?