CVE-2026-82416 Details
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.
A vulnerability in FrankenPHP prior to version 1.12.5 allows for cross-user session exposure in worker mode. When the PHP session extension is loaded as a shared module and not statically linked, session identifiers can bleed between requests on the same worker thread. This issue can lead to session hijacking and intermittent logout behavior for users. The vulnerability arises because the session module is not properly reset between requests, allowing a request to inherit a session ID from a previous one or from a different client.
Users can upgrade to FrankenPHP version 1.12.5, where this vulnerability is fixed. Alternatively, those using a shared module build can manually reset the session ID after closing the session to ensure the correct session cookie is read in the next request.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 13, 2026CISA-ADP
Assessed Oct 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/php/frankenphp/commit/be24d82531675f90862b8cde1e9fc7e9ee855aa5 | [email protected] | Source CodeVendor |
| https://github.com/php/frankenphp/pull/2523 | [email protected] | Issue TrackingVendor |
| https://github.com/php/frankenphp/releases/tag/caddy/v1.12.5 | [email protected] | Vendor |
| https://github.com/php/frankenphp/security/advisories/GHSA-v3ph-cgqh-r8p5 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
| CWE-488 | Exposure of Data Element to Wrong Session | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| FrankenPHP | <= 1.12.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Modified | CISA-ADP |
| Oct 13, 2026 | New CVE Received | [email protected] |
Volerion