PHP patches phpAfterShell flaw with RCE risk
A vulnerability in PHP can let attackers run code on a server. The attacker can then mix old and new session data to create a corrupted file. When the server uses this file, it can trigger the creation of objects and run their code. The flaw is tracked as CVE-2026-126714 with a CVSS score of 9.2. PHP patched this issue in versions 8.6.0, 8.5.13, 8.4.28, 8.3.37, and 8.2.36. Affected: PHP versions before 8.6.0, 8.5.13, 8.4.28, 8.3.37, and 8.2.36. What to do: * Update PHP to a patched version. * Use secure session storage to reduce the risk of session data corruption. * Monitor server logs for signs of interrupted session operations. * Limit user input to prevent attackers from controlling session data.
Read the full article on SecurityWeek
CVEs in the original article
This brief was written with AI from the original article and checked for copied wording. Confirm details with SecurityWeek before acting. Spotted an error, or are you the publisher and want this brief removed? Email us and we will act on it promptly.