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.
Severity (CVSS)
| Base score | 7.7 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
| Provided by | CNA |
Weaknesses
- 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
Affected products
| Vendor | Product | Versions |
|---|---|---|
| php | frankenphp | < 1.12.5 [affected] |
References
- https://github.com/php/frankenphp/security/advisories/GHSA-v3ph-cgqh-r8p5 (x_refsource_CONFIRM)
- https://github.com/php/frankenphp/pull/2523 (x_refsource_MISC)
- https://github.com/php/frankenphp/commit/be24d82531675f90862b8cde1e9fc7e9ee855aa5 (x_refsource_MISC)
- https://github.com/php/frankenphp/releases/tag/caddy/v1.12.5 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 14 Oct 2026 07:04 UTC.