PHP Updates Fix 18 Vulnerabilities, Including phpAfterShell and a PHP-FPM Code-Execution Flaw

Summary
PHP's November 19, 2026, releases fix 18 vulnerabilities. The article details phpAfterShell session-file corruption and a PHP-FPM flaw exploitable under specific FastCGI conditions, and recommends updating affected systems.
Key points
- PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 fix 18 vulnerabilities; seven are rated Critical by the PHP project.
- phpAfterShell (CVE-2026-126714) can corrupt default file-based session data, enabling object injection and potentially code execution under additional conditions.
- Exploiting phpAfterShell requires influence over session data and a suitably timed interruption during a session write; applications using external session backends are not affected by this specific flaw.
- CVE-2026-129289 can allow unauthenticated code execution through a forged FastCGI request when backend connections are reused and applications leave request data unread.
- The article identifies connection-reuse configurations that may be exposed and notes standard nginx and Apache configurations are not affected; LiteSpeed's confirmed impact is service disruption.
- Install the November updates and restart PHP-FPM workers. Disabling FastCGI connection reuse or upload progress can reduce specific exposure while updates are scheduled, but does not replace patching.
- As of November 20, 2026, the article reports no public indications of exploitation of the newly disclosed vulnerabilities.
Article Details
- Vulnerability Types
- PHP session-file corruption leading to object injection
- Forged FastCGI request injection
- Affected Versions
- PHP 8.2 before 8.2.36
- PHP 8.3 before 8.3.37
- PHP 8.4 before 8.4.28
- PHP 8.5 before 8.5.13
- PHP 7.4 unpatched builds
- PHP 8.0 unpatched builds
- PHP 8.1 unpatched builds
- Exploitation Status
- not_reported
- Exploit Availability
- unknown
- Patch Status
- available
- Workarounds
- Disable FastCGI backend connection reuse to remove the documented attack path for CVE-2026-129289.
- Move file-based sessions to a backend that replaces records atomically to avoid the specific phpAfterShell file-handling issue.
- Set session.upload_progress.enabled=0 and restart PHP workers to remove the attack path demonstrated by the researchers.
MITRE ATT&CK
CVE
CVE-2026-126714PHP Group · PHPResearchers published technical details for phpAfterShell, tracked as CVE-2026-126714, showing how corruption of PHP's default session files can lead to object injection and, when combined with a suitable gadget chainCVE-2026-129289PHP Group · PHPThe release also addresses CVE-2026-129289, a vulnerability in PHP-FPM, the component that executes PHP code behind web servers such as nginx and Apache.
Products
PHPPHP released versions 8.5.13, 8.4.28, 8.3.37, and 8.2.36 on November 19, 2026, fixing 18 vulnerabilities across supported branches, including seven vulnerabilities rated Critical by the PHP project.PHP-FPMThe most relevant environments to review are internet-facing PHP applications using PHP-FPM with FastCGI connection reuse enabled and applications relying on PHP's default file-based session storage.
