← AI Switchboard
SAFETY · November 20, 2026
Nov 19

PHP patches a critical session flaw rated 9.2 that depthfirst says its AI models found, four weeks after the AI-found PHP2Shell fixes

By the AI Switchboard · researched and written with AI from the sources listed on this page, each point checked against its source before publishing · how we work · report a mistake

The bug, CVE-2026-126714, sits in PHP's default file-based session storage. PHP's advisory credits a reporter by a handle and does not mention AI.

PHP released 8.5.13, 8.4.28, 8.3.37 and 8.2.36 on 19 November, each described on php.net as “a security release”, alongside PHP 8.6.0. One of the fixes is GitHub advisory GHSA-fm2m-fjf5-v3cp, “Partially overwritten session files can lead to remote code execution”, CVE-2026-126714, rated Critical with a CVSS 4.0 score of 9.2 and published on 19 November. PHP's file-based session handler can leave a session file holding parts of two sessions, and reading it back can let an attacker rebuild objects of their choosing.

Security firm depthfirst calls the bug phpAfterShell. Its write-up says: “This vulnerability was discovered by depthfirst’s frontier AI models working with depthfirst researchers.” It notes that file-based storage is the default, and says it reported the flaw privately in late October 2026. PHP's advisory credits a reporter with the handle “zplinn” and says nothing about AI, so the AI-discovery account is depthfirst's own.

A dated timeline: on 21 October PHP shipped fixes for the two critical PHP2Shell flaws that AI-assisted Wiz researchers found with Calif and OpenAI (Switchboard, 23 October); in late October depthfirst reported this new flaw, which those releases do not fix; on 19 November PHP published the fix. That makes two AI-found critical PHP flaws in four weeks, on the same day the Switchboard ran Calif's account of finding Java4Shell in OpenJDK with OpenAI's Codex. Neither PHP nor depthfirst reports attacks. PHP 8.1 and older get no upstream fix.

  • Confirmed PHP released security releases 8.5.13, 8.4.28, 8.3.37 and 8.2.36 on 19 November 2026. php.net
  • Confirmed GHSA-fm2m-fjf5-v3cp (CVE-2026-126714), partially overwritten session files leading to remote code execution, is rated Critical, CVSS 4.0 9.2, published 19 November and credited to the reporter “zplinn”. PHP, php-src security advisory
  • Claimed depthfirst says its frontier AI models, working with its researchers, found the flaw, and that it reported it in late October 2026. depthfirst

Safety, security & governanceScience & research

Today in the November 20, 2026 edition · front page