Emergency November 2026 Release: 7 Critical Flaws (CVSS 9.2) - phpAfterShell

PHP 7 Critical Flaws & phpAfterShell Vulnerability Scanner

Critical Disclosure: In November 2026, the PHP maintenance team released urgent security patches resolving 7 critical vulnerabilities (CVSS 9.2). Flaws include CVE-2026-115560 (session serialization mismatch leading to RCE), phpAfterShell (CVE-2026-126714) TOCTOU in file session handlers, CVE-2026-129289 (PHP-FPM FastCGI request smuggling), and multiple Use-After-Free conditions.

Continuously discover and audit all your external PHP-powered endpoints, WordPress clusters, Laravel platforms, and API gateways for the November 2026 critical vulnerabilities before adversaries trigger remote code execution.

  • Continuous PHP Perimeter Recon: Fingerprints PHP interpreters across Apache, Nginx, PHP-FPM, and cloud container ingress points.
  • Precise Patch Level Verification: Detects vulnerable branches (< 8.2.36, < 8.3.37, < 8.4.28, < 8.5.13) and highlights unpatched EOL installations (PHP 8.1 and earlier).
  • Safe, Non-Destructive Probing: Evaluates HTTP response headers, session cookies, and runtime behaviors without interrupting live application traffic.
  • Actionable Hardening Guidelines: Step-by-step upgrade instructions and configuration hardening for session serialization and upload progress settings.
bspeka-scanner // php_critical_flaws_audit
Critical Severity (CVSS 9.2) portal.enterprise-app.com:443
7 Critical PHP Flaws Exposed (CVE-2026-115560 & phpAfterShell CVE-2026-126714)
Detected PHP 8.4.26 with active PHPSESSID session management. Vulnerable to session-serialization mismatch RCE, file session TOCTOU object injection (phpAfterShell), and FastCGI request smuggling.
Upgrade PHP to 8.4.28+ & run: systemctl restart php8.4-fpm
Informational portal.enterprise-app.com
PHP Session Engine Active
PHPSESSID cookie generated by server, exposing session storage to serialization analysis.
Low Severity portal.enterprise-app.com
PHP Version Banner Disclosed
Header exposes 'X-Powered-By: PHP/8.4.26'. Suppress via 'expose_php = Off' in php.ini.

Technical Breakdown: The 7 PHP Critical Flaws

How session serialization errors, file TOCTOU race conditions, and FastCGI multiplexing flaws enable remote compromise.

Session Serialization Mismatch (CVE-2026-115560)

When an application or server configuration mixes differing session.serialize_handler formats (e.g. php vs php_binary or php_serialize) in conjunction with session.upload_progress, input validation boundaries collapse. Unauthenticated attackers can inject arbitrary serialized objects into active session files, leading to remote code execution.

phpAfterShell TOCTOU (CVE-2026-126714)

Dubbed phpAfterShell, this flaw resides in PHP's default file-based session handler. Due to a Time-of-Check Time-of-Use race condition during session persistence, prematurely terminating TCP connections or sending concurrent requests causes the storage engine to return partially written files, deserializing attacker-chosen object chains.

PHP-FPM Request Smuggling & Memory UAFs

CVE-2026-129289 exploits FastCGI connection pooling within PHP-FPM, allowing adversaries to smuggle environment variables and request bodies to adjacent workers. Simultaneously, multiple Use-After-Free bugs (CVE-2026-129182/481/496) allow heap corruption during request termination.

Affected Versions & Remediation Matrix

Verify your PHP branch and minimum required patch version.

PHP Branch Vulnerable Versions Patched Version Status
PHP 8.2 8.2.0 through 8.2.35 8.2.36+ Critical (CVSS 9.2)
PHP 8.3 8.3.0 through 8.3.36 8.3.37+ Critical (CVSS 9.2)
PHP 8.4 8.4.0 through 8.4.27 8.4.28+ Critical (CVSS 9.2)
PHP 8.5 8.5.0 through 8.5.12 8.5.13+ Critical (CVSS 9.2)
PHP 8.6 8.6.0+ (Shipped with fixes) 8.6.0+ Patched
PHP 8.1 & Older (EOL) All versions (8.1.x, 8.0.x, 7.x) None (End of Life) Permanently Vulnerable

Frequently Asked Questions

Everything you need to know about the November 2026 PHP security update.

What is CVE-2026-115560?
CVE-2026-115560 is a critical input validation vulnerability arising from inconsistent session serialization handlers. When an application accepts file upload progress data (session.upload_progress) while differing serialization formats are used across modules or vhosts, arbitrary serialized objects can be forged in session storage, yielding unauthenticated RCE.
What is phpAfterShell (CVE-2026-126714)?
phpAfterShell is a TOCTOU race condition in PHP's default file-based session handler. If a network connection drops or is intentionally truncated while PHP is saving session state, the session file can be truncated to an attacker-predictable byte sequence. When subsequent requests read the session file, PHP instantiates attacker-controlled objects through POP gadget chains.
Why is restarting PHP-FPM essential after upgrading?
When operating system packages update PHP binaries on disk, existing PHP-FPM master and pool processes continue executing the older vulnerable library code mapped into memory. To eliminate the vulnerability, you must execute systemctl restart php-fpm (or systemctl restart php8.x-fpm).
How can I mitigate these flaws immediately if patching is delayed?
1. Disable session upload tracking: session.upload_progress.enabled = Off in php.ini.
2. Enforce a single consistent session serialization handler: session.serialize_handler = php_serialize.
3. Switch session storage from files to an external store (Redis or Memcached) with atomic session locking.
4. Hide version tokens: expose_php = Off.
Does bspeka cause downtime when scanning for PHP flaws?
No. bspeka relies on non-invasive HTTP banner analysis, session cookie structure interrogation, and passive fingerprinting. It does not send disruptive exploit payloads or trigger session corruption on your production servers.

Audit Your Perimeter for PHP 7 Critical Flaws

Don't leave your web perimeter exposed to phpAfterShell and FastCGI smuggling. Scan and protect your PHP applications with bspeka continuous attack surface management.

Start 14-Day Free Audit