CCSI
← CVE Security Watch

November 21, 2026 at 8:55 AM EST

phpAfterShell (CVE-2026-126714): public proof-of-concept exploits now available

critical

Several public proof-of-concept repositories for the critical PHP session-file RCE CVE-2026-126714 appeared on GitHub after the November 19 PHP security releases. No in-the-wild exploitation has been confirmed and it is not on CISA KEV. Update PHP to 8.2.36, 8.3.37, 8.4.28 or 8.5.13.

PHP: phpAfterShell, CVE-2026-126714

  • What: A non-atomic in-place write of the session file by PHP's upload-progress callback (session.upload_progress, on by default) can be interrupted and leave a spliced session file. On the next session_start() this can inject an attacker-chosen object, leading to remote code execution when the application has a usable gadget. It affects the default file-based session handler and can be triggered by an unauthenticated multipart request. Advisory: GHSA-fm2m-fjf5-v3cp, NVD.
  • Severity: Critical, CVSS 4.0 score 9.2.
  • Exploited: Public proof-of-concept code is now on GitHub, including a full lab and an HTTP exploit launcher (example). No confirmed in-the-wild exploitation yet, and it is not on CISA KEV.
  • Fixed in: PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13 (released November 19, 2026). The October "PHP2Shell" releases are still vulnerable.
  • What to do: Update PHP and restart PHP-FPM or the web server so the new binary is loaded. If you can't update right away, set session.upload_progress.enabled = 0 to remove the vulnerable code path, and watch for unexpected new PHP files in web roots.

General information only. Confirm fixed versions in the linked official advisories before patching.