Skip to main content
VulnerabilityPublished

CVE-2026-82416: php frankenphp · Race Condition

Affects php frankenphpSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.7 High : upgrade to 1.12.5 soon.

Data as of 26 Nov 2026, 14:59 UTC

CVSS 3.1 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.12.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade frankenphp and github.com/dunglas/frankenphp to 1.12.5.

Affected software

ProductAffectedFixed in
phpfrankenphpAffected
  • <1.12.5
Fixed in
  • 1.12.5
Gogithub.com/dunglas/frankenphppkg:golang/github.com/dunglas/frankenphpOther threatsAffected
  • <1.12.5
Fixed in
  • 1.12.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in FrankenPHP versions 1.12.5 and later that resets the session module on every worker request regardless of how the session extension is linked. Users should upgrade to version 1.12.5 or later. Alternatively, use FrankenPHP builds where the session extension is statically compiled (such as official static binaries or Docker images). As a workaround, after session_write_close(), call session_id('') in the worker loop to force re-reading the session cookie on the next request when using session.use_strict_mode=1.

Description

CVE-2026-82416 is a race condition vulnerability in FrankenPHP when running in worker mode with PHP's session extension loaded as a shared module rather than statically linked. This causes session IDs to leak between concurrent requests, leading to cross-user session exposure and session hijacking. The issue arises because session state reset code is compiled out when the session extension is shared, allowing stale session IDs to persist across requests. Builds with the session extension statically linked are not affected. The vulnerability results in users being intermittently logged out or served sessions belonging to other users.

References

Community reviews

Loading reviews…