Vulnerability · critical · CVSS 9.2
phpAfterShell: PHP session flaw can lead to code execution
Tier A · Patch today – Before you go home
Who’s exposed: PHP apps with default file sessions and exploitable gadget chains
Tier A because: Core infrastructure or popular tool AND remote, no login AND full takeover
Reach
Attack
Damage
Fix
Popular tool · Remote, no login · Full takeover
What to do
- Apply PHP's November 2026 security release, which patches seven critical flaws
The Brief
- PHP's default file-based session storage can be made to return objects an attacker chose, by cutting off a session write at the right moment.
- Reaching code execution also requires a second weakness, such as a suitable gadget chain in the application.
- PHP's November monthly security release patches seven critical flaws; exploitability varies and depends heavily on configuration.
Why it matters
Developers running PHP applications with file-based sessions should check their configuration and patch level, since exploitability depends on the app's code and setup.
The checklist behind the tier
Checklist · 4 of 10 yes
| Yes | Hits tech teams | PHP is a server-side language that developers and ops teams build and run applications with. |
| No | Core infrastructure | PHP is a widely used language runtime, not foundational infrastructure like OpenSSH or the Linux kernel. |
| Yes | Popular tool | PHP is a mainstream web platform powering many frameworks and applications, such as WordPress. |
| No | Exploited in the wild | No source reports observed attacks; Cloudflare only released detection rules and Wiz describes detection and mitigation. |
| No | Public exploit | Sources explain the mechanism but none says exploit code or a step-by-step proof-of-concept is published. |
| Yes | Remote, no login | CVSSCVE-2026-126714: CVSS 9.2 – network, no privileges, no user interaction |
| Yes | Full takeover | CVSSCVE-2026-126714: CVSS rates confidentiality and integrity impact high |
| No | Secrets exposed | No source reports stolen credentials, tokens, configs, source code or customer data. |
| No | Supply chain | Flaws are in PHP's session handling and code execution; no source reports compromised packages, updates or pipelines. |
| No | No fix yet | Darkreading: November's monthly security release patches seven critical PHP flaws, so a fix is available. |
The official record
From CVE.org, CISA’s Known Exploited Vulnerabilities catalog, FIRST EPSS and the GitHub Advisory Database. Where these answer a checklist fact, they win over the reporting.
CVE-2026-126714 ↗CVSS 9.2 critical AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Partially overwritten session files can lead to remote code execution
- Exploited
- Not in CISA’s exploited catalog
- Weakness
- CWE-367, CWE-662
Timeline
Full coverage · 4 sources
First seen · 4 sources · Full story page · How tiers are decided