CVE-2026-82416
HIGH 7.7CVSS 3.1FrankenPHP: Cross-request PHP session ID leak in worker mode when the session extension is a shared module
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.
- Published
- 13 Oct 2026
- Last modified
- 19 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-362CWE-488
- Also known as
- GHSA-v3ph-cgqh-r8p5GO-2026-6797
- Sources
- NVDJSONOSV GHSA-v3ph-cgqh-r8p5JSONOSV GO-2026-6797JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/dunglas/frankenphp | < 1.12.5 | 1.12.5 |
References
- https://github.com/php/frankenphp/commit/be24d82531675f90862b8cde1e9fc7e9ee855aa5 · WEB
- https://github.com/php/frankenphp/pull/2523 · WEB
- https://github.com/php/frankenphp/releases/tag/caddy/v1.12.5 · WEB
- https://github.com/php/frankenphp/security/advisories/GHSA-v3ph-cgqh-r8p5 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-82416 · ADVISORY
- https://github.com/php/frankenphp · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 13 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Oct 2026)