home / blog
2026-11-26 · high
CVE-2026-129291: Critical Privilege Escalation Vulnerability in PHP-FPM
PHP-FPM privilege escalation with epoll uses use-after-free for root code execution.

The vulnerability CVE-2026-129291 concerns a use-after-free condition in PHP-FPM when catch_workers_output is enabled and the epoll event backend is used. A local attacker who can execute PHP code in an FPM worker can crash the master process or execute code with root privileges.
The vulnerability is classified as severe (CVSS 8.8) and affects multiple PHP versions. It was officially published on November 19, 2026, and has already been reported on GitHub with a technical demonstration showing the differential behavior between the vulnerable and fixed versions.
The primary recommendation is to update PHP to non-vulnerable versions (8.2.36, 8.3.37, 8.4.28, 8.5.13). If updating is not possible, disable the catch_workers_output option in the PHP-FPM configuration file. Also implement appropriate restrictions on PHP code execution in FPM environments to reduce the attack surface.
At a glance
- What
- Use-after-free vulnerability in PHP-FPM when catch_workers_output is enabled with epoll backend
- Severity
- CVSS 8.8 (high)
- Affected versions
- PHP 8.1.20-8.1.34, 8.2.7-8.2.36, 8.3.*-8.3.37, 8.4.*-8.4.28, 8.5.*-8.5.13
- Fix
- Update to PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13
- Status
- Published on 2026-11-19, exploit available on GitHub
- Action
- Update immediately or disable catch_workers_output if update not possible
Sources: NVD, CVE-2026-129291