International
The Morning Dev

Only the news worth knowing

‹
 
A66/100

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

  1. 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
YesHits tech teamsPHP is a server-side language that developers and ops teams build and run applications with.
NoCore infrastructurePHP is a widely used language runtime, not foundational infrastructure like OpenSSH or the Linux kernel.
YesPopular toolPHP is a mainstream web platform powering many frameworks and applications, such as WordPress.
NoExploited in the wildNo source reports observed attacks; Cloudflare only released detection rules and Wiz describes detection and mitigation.
NoPublic exploitSources explain the mechanism but none says exploit code or a step-by-step proof-of-concept is published.
YesRemote, no loginCVSSCVE-2026-126714: CVSS 9.2 – network, no privileges, no user interaction
YesFull takeoverCVSSCVE-2026-126714: CVSS rates confidentiality and integrity impact high
NoSecrets exposedNo source reports stolen credentials, tokens, configs, source code or customer data.
NoSupply chainFlaws are in PHP's session handling and code execution; no source reports compromised packages, updates or pipelines.
NoNo fix yetDarkreading: 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

    NVD

Timeline

  1. PHP November monthly security release patches seven critical flaws

  2. Cloudflare changelogs

    WAF - WAF Emergency Release - 2026-11-19

  3. The Hacker News

    phpAfterShell Explained: How Hackers Could Turn a PHP Session Flaw Into Code Execution

  4. darkreading

    Critical PHP Flaws Allow Code Execution, But Don't Panic 'PHP2Shell'-Style

  5. Wiz Blog | RSS feed

    phpAfterShell and Critical PHP RCE Vulnerabilities: Everything You Need To Know

Full coverage · 4 sources

First seen · 4 sources · Full story page · How tiers are decided

Tier A: phpAfterShell: PHP session flaw can lead to code execution – The Morning Dev