CVE-2026-82416: php frankenphp · Race Condition
Affects php frankenphpSource CVE Database V5
Not known to be exploited · CVSS 7.7 High : upgrade to 1.12.5 soon.
Data as of 26 Nov 2026, 14:59 UTC
- 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:LExploitation evidence
Disclosed: evidence found.
CVE published 13 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| phpfrankenphp | Affected
| Fixed in
|
Gogithub.com/dunglas/frankenphppkg:golang/github.com/dunglas/frankenphpOther threats | Affected
| Fixed in
|
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
- github.com/php/frankenphp/security/advisories/GHSA-v3ph-cgqh-r8p5 (opens in a new tab)
- github.com/php/frankenphp/pull/2523 (opens in a new tab)
- github.com/php/frankenphp/commit/be24d82531675f90862b8cde1e9fc7e9ee855aa5 (opens in a new tab)
- github.com/php/frankenphp/releases/tag/caddy/v1.12.5 (opens in a new tab)