Source: Cloudflare Radar
The PHP project has published security releases for every supported branch: PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13, alongside PHP 8.6.0 which contains all the same fixes. Together they resolve 17 security advisories, seven of them rated critical with a CVSS v4.0 score of 9.2, four rated high and six medium.
The headline flaw has been named phpAfterShell, tracked as CVE-2026-126714. It lives in the default file-based session handler. If a session write is interrupted, the session file can end up containing the start of a new session and the end of the old one. The next session_start() then deserialises attacker-controlled data. Researchers at depthfirst, who discovered and reported the flaw, say they reached code execution even without a gadget chain in the target application. The security researchers credited in the CVE record are Leo Lin and Asahi.
Several of the critical issues need specific conditions rather than default settings, which is exactly why they get missed. CVE-2026-129289 lets an unauthenticated attacker smuggle a second FastCGI request into PHP-FPM and run PHP code as the worker, but only behind a front end that reuses backend connections, such as nginx with fastcgi_keep_conn on, Apache mod_proxy_fcgi with enablereuse=on or HAProxy. Others are use-after-free bugs in fatal error backtraces, a fresh worker crash path in non-thread-safe builds and an incomplete fix follow-up to the October php2shell release.
What to do this week
Inventory every PHP runtime serving web requests, including container images and managed hosting, then upgrade to the matching patched release and restart the workers so the new binary is actually loaded. Until you can patch, disabling session upload progress and FastCGI connection reuse removes some of the demonstrated attack paths. Note that distribution packages often backport fixes without changing the visible PHP version, so compare the full package version against your distribution advisory.
Why this matters for European web operations
A very large share of European e-commerce, public sector sites and CMS platforms still runs on PHP, frequently on configurations nobody has reviewed in years. No source reviewed on the day of the release reported exploitation in the wild, but seven critical flaws in the most widely deployed web runtime is not a quiet week. If you are not sure what PHP versions your servers, containers and hosting providers actually run, that gap is the finding.
If you want help auditing your PHP estate, applying these patches safely or hardening the configurations that make the critical bugs exploitable, contact us at Excello Digital for a practical, vendor-neutral assessment.
