CVE-2026-129291PHP sapi-fpm >= 8.2.7, Use After Free
NVD
Vulnerability Summary
PHP-FPM epoll use-after-free can lead to local privilege escalation. PHP-FPM can dispatch an epoll event that refers to a freed worker record when worker output capture is enabled. An attacker who can execute PHP code in an unprivileged FPM worker can exploit this use-after-free to execute commands with the privileges of the FPM master, which commonly runs as root.
CVSS v4.0 Base Metrics — Score 8.8 (HIGH)
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HAttack VectorLocal
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)High
Integrity (Subsequent System)High
Availability (Subsequent System)High
Affected & Patched Versions
- PHP sapi-fpm >= 8.2.7, < 8.2.36
- PHP sapi-fpm >= 8.3.0, < 8.3.37
- PHP sapi-fpm >= 8.4.0, < 8.4.28
- PHP sapi-fpm >= 8.5.0, < 8.5.13
- PHP 8.2.36
- PHP 8.3.37
- PHP 8.4.28
- PHP 8.5.13
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run PHP sapi-fpm >= 8.2.7, and which version.
- Update to a patched version listed above, then confirm the new version.
- Until you can update, follow the vendor workaround: As a temporary workaround, disable catch_workers_output in affected pools. Running the FPM master without root limits the privileges obtainable through this vulnerability, but does not correct the use-after-free. Disabling Curl or OPcache only removes parts of the demonstrated exploit chain and should not be treated as a complete mitigation.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new PHP sapi-fpm >= 8.2.7, CVEsYou are reading CVE-2026-129291. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
Data last checked: Nov 19, 2026 14:43 UTC