
Today, we’re disclosing phpAfterShell (CVE-2026-126714), a critical vulnerability in PHP discovered by depthfirst researchers using the depthfirst platform using a combination of models including our in house model. The vulnerability affects how PHP handles file-based sessions. Under default configurations, an unauthenticated attacker could exploit it to execute code on the server. It has a CVSS v4.0 score of 9.2. We reported the issue privately to the PHP team and worked with the maintainers on developing the patch. We recommend upgrading to the latest patched version of PHP as soon as possible or turn off session upload progress as a temporary mitigation if upgrading requires more time. To help organizations assess their exposure, we’re offering language runtime scans of repositories and container image scans to identify potentially vulnerable PHP versions. Our team can also help assess temporary mitigations for organizations that can’t upgrade immediately. Read more about phpAfterShell and request a scan: http://phpaftershell.com Technical writeup: https://depthfirst.com/research/phpaftershell


















