MOSIR
No. 34 · Free Published by MOSIR

No. 34 · Nov 24, 2026 · Security & Privacy Watch

PHP fixes phpAfterShell, a session flaw that can lead to code execution

Depthfirst disclosed CVE-2026-126714 (CVSS 9.2), a PHP session flaw fixed Nov 19 in 8.6.0, 8.5.13, 8.4.28, 8.3.37 and 8.2.36; no attacks in the wild are reported.

By the Local Intelligence Wire desk · Wimberley, Texas ·

Researchers at Depthfirst have published details of CVE-2026-126714, which they call phpAfterShell. It needs a specific set of conditions: PHP's default file-based session storage, a route such as upload-progress tracking, an interrupted session write, a later session start, and a deserialization path that leads to code execution. When those line up, an attacker can run code on the web server. The flaw is rated 9.2.

What is new since the paper's Nov 20 report on PHP's batch of 18 fixes: the researchers have now named this flaw, explained the attack path and tied it to the PHP project's advisory GHSA-fm2m-fjf5-v3cp. Fixed versions are 8.6.0, 8.5.13, 8.4.28, 8.3.37 and 8.2.36. SecurityWeek reports no exploitation in the wild.

Why it mattersMany self-hosted business tools placed beside a private AI system, such as wikis, ticket desks and intake forms, run on PHP. Published attack details shorten the time before exploits appear.

For consultantsUpdate PHP on every client web app to a fixed version this week, and check container images, which often pin older PHP builds.

Sources

Read the full Nov 24, 2026 edition