Seven new critical PHP bugs enable unauthenticated remote code execution
The seven critical PHP vulnerabilities allow unauthenticated attackers to achieve remote code execution on default installations.
Security & privacy Wiz Research 19 Nov 2026 Disclosure Deployed evidence
Published as “phpAfterShell and Critical PHP RCE Vulnerabilities: Everything You Need To Know”
Why it matters
Organizations must patch affected PHP versions promptly and adjust configurations to block the newly disclosed unauthenticated RCE vectors.
Summary
The PHP group released patches for 17 vulnerabilities, seven of which are critical (CVSS 9.2) and provide unauthenticated RCE paths. The main vectors involve non-atomic session file writes (phpAfterShell) and FastCGI request smuggling in PHP-FPM. No wild exploitation has been observed, but the authors warn that specific configurations are required for successful attacks. Patching to the latest minor releases and applying temporary configuration mitigations are recommended.
What they found 1
- Seven critical flaws provide direct unauthenticated RCE paths.
“Seven of these flaws are rated Critical (CVSS 9.2) and present direct pathways to unauthenticated remote code execution (RCE).”
Caveats 4
- As of yet, no exploitation in the wild has been observed by Wiz or mentioned in public reporting.
- executing them successfully requires specific conditions.
- phpAfterShell (CVE-2026-126714) requires file-based sessions (the PHP default) and relies on finding an exploitable gadget chain in the application's code (which isn’t guaranteed to exist in every application) to achieve code execution.
- the vast majority of the other critical vulnerabilities in this release require non-default configurations or uncommon setups.
What’s new here 4
- Seven new critical CVSS 9.2 bugs that enable unauthenticated RCE.
- phpAfterShell exploits non-atomic session file writes during upload progress.
- PHP-FPM request smuggling allows hidden FastCGI requests over reused connections.
- Detailed mitigation steps including configuration flags and container image updates.
In the news
- —PHP Foundation releases patches for seven critical remote code execution flaws CVE-2026-126714, CVE-2026-129289
- —Cisco advisory warns of critical PHP RCE flaw (CVE-2026-126714) affecting select products CVE-2026-126714
- —PHP session RCE (CVE‑2026‑126714) and vCenter exploit (CVE‑2026‑123890) highlighted in SANS Stormcast CVE-2026-126714