CVE-2026-82416
published high CVSS 3.1 · 7.7FrankenPHP: Cross-request PHP session ID leak in worker mode when the session extension is a shared module
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| php | — | frankenphp< 1.12.5 | Affected | Not stated | GitHub_M |
Description
FrankenPHP is a modern application server for PHP. Prior to 1.12.5, FrankenPHP worker mode can retain PHP session state between requests when the session extension is loaded as a shared module and is unavailable through HAVE_PHP_SESSION at compile time. In this build configuration, frankenphp_reset_session_state() is compiled out, PS(id) can survive a request boundary, and a subsequent session_start() can ignore the new request's cookie because an identifier is already present. Under concurrent requests, session_id() can therefore return another client's identifier or a stale identifier from a previous request on the same worker thread, causing cross-user session exposure, possible session hijacking, and intermittent logout behavior. Builds with the session extension statically linked, including the official static binaries and Docker images, are not affected. This issue is fixed in version 1.12.5.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| php | frankenphp | < 1.12.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
- CWE-488 CWE-488: Exposure of Data Element to Wrong Session
References
4Provider assertions
2GitHub_M · cna
FrankenPHP: Cross-request PHP session ID leak in worker mode when the session extension is a shared module
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dbd77dcbd151fae4bf5afe64bc9525bf5c09af6b6754a1e663f0287defccaab6
- Ingested
- 13 Oct 2026, 21:55:33 UTC
- Source record
- Official CVE record