Executive Summary
The PHP project released security updates for 17 vulnerabilities, including seven critical flaws with CVSS scores of up to 9.2. Depending on the deployment, exploitation could allow remote code execution, local privilege escalation, information disclosure, or service disruption. Prioritize internet-facing applications running affected PHP versions.
Three critical vulnerabilities warrant particular attention. CVE-2026-126714 (phpAfterShell) can allow code execution when PHP leaves a session file partially overwritten. CVE-2026-115560 can allow code execution when PHP applications or processes read and write shared session data using incompatible serializers. CVE-2026-129289 can allow a request to bypass frontend routing and execute code as a PHP-FPM worker in affected deployments that reuse FastCGI connections.
Upgrade affected deployments to PHP 8.2.36, 8.3.37, 8.4.28, or 8.5.13, according to the branch in use. If patching is delayed, disable session.upload_progress.enabled where the feature is unnecessary. This reduces exposure to upload-related session attacks, while applications using file-based sessions still need the update to address CVE-2026-126714.
Detection Guidance
• Confirm exposure. Verify the PHP version serving each web application and review effective settings, including PHP-FPM pool and virtual host overrides. Check session.save_handler, session.save_path, session.serialize_handler, and session.upload_progress.enabled. Identify applications that use file-based sessions or share a session store across processes with different serializers.
• Review suspicious session activity. Look for multipart POST requests to routes that rarely or never accept uploads. Where the WAF inspects request bodies, review unexpected use of PHP_SESSION_UPLOAD_PROGRESS. Correlate these requests with session errors, worker crashes, or spikes in HTTP 5xx responses on the same application.
• Investigate PHP-FPM request smuggling. For CVE-2026-129289, focus on deployments that reuse FastCGI connections. Compare reverse proxy and PHP-FPM access logs for unexpected PHP scripts being served or backend requests with no corresponding frontend entry. Verify log coverage and timestamp alignment before escalating a mismatch.
• Hunt for signs of compromise. Review endpoint and network telemetry for PHP workers spawning unexpected shells or download utilities, making unusual outbound connections, or creating or modifying PHP files in web-accessible directories. For CVE-2026-129291, prioritize unexpected privileged commands launched by the PHP-FPM master process.
Key Details
Threat Name
PHP Security Release
Affects
PHP 8.2, PHP 8.3, PHP 8.4, PHP 8.5, PHP 8.6, PHP, PHP 8.5 < 8.5.13, PHP 8.4 < 8.4.28, PHP 8.3 < 8.3.37, PHP 8.2 < 8.2.36, PHP 8.2.28-8.2.35, PHP 8.3.18-8.3.36, PHP 8.4.5-8.4.27, PHP 8.5.0-8.5.12, 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 Group PHP 8.3 before 8.3.37, PHP Group PHP 8.4 before 8.4.28, PHP Group PHP 8.5 before 8.5.13, PHP 8.5.0 before 8.5.13, PHP 8.2.0 to before 8.2.36, PHP 8.3.0 to before 8.3.37, PHP 8.4.0 to before 8.4.28, PHP 8.5.0 to before 8.5.13, PHP-FPM 8.2.7–8.2.35, PHP-FPM 8.3.0–8.3.36, PHP-FPM 8.4.0–8.4.27, PHP-FPM 8.5.0–8.5.12, 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 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 8.2.0 to 8.2.35, PHP 8.3.0 to 8.3.36, PHP 8.4.0 to 8.4.27, PHP 8.5.0 to 8.5.12, PHP Group PHP (8.2.* before 8.2.36), PHP Group PHP (8.3.* before 8.3.37), PHP Group PHP (8.4.* before 8.4.28), PHP Group PHP (8.5.* before 8.5.13), PHP Group PHP, PHP 8.5.0 through 8.5.12, PHP-FPM, mod_php, PHP 8.2+, PHP 8.3+, PHP 8.4+
Adversary
—
Malware/Tools
None identified