# CVE-2026-82416: FrankenPHP: Cross-request PHP session ID leak in worker mode when the session extension is a shared module

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-10-13T16:20:53.439Z
- Modified: 2026-10-19T21:41:08.985Z
- Also known as: GHSA-v3ph-cgqh-r8p5, GO-2026-6797
- Weaknesses: CWE-362, CWE-488
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- php frankenphp: < 1.12.5
- github.com/dunglas/frankenphp (Go): before 1.12.5

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://github.com/php/frankenphp/security/advisories/GHSA-v3ph-cgqh-r8p5> (advisory, web)
- <https://github.com/php/frankenphp/pull/2523> (web)
- <https://github.com/php/frankenphp/commit/be24d82531675f90862b8cde1e9fc7e9ee855aa5> (web)
- <https://github.com/php/frankenphp/releases/tag/caddy/v1.12.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-82416> (advisory)
- <https://github.com/php/frankenphp> (package)

## Sources

- CVE List: [CVE-2026-82416](https://www.cve.org/CVERecord?id=CVE-2026-82416), CVE Terms of Use, modified 2026-10-13
- GitHub Advisory Database: [GHSA-v3ph-cgqh-r8p5](https://github.com/advisories/GHSA-v3ph-cgqh-r8p5), CC-BY-4.0, modified 2026-10-19
- Go Vulnerability Database: [GO-2026-6797](https://pkg.go.dev/vuln/GO-2026-6797), CC-BY-4.0, modified 2026-10-19
- NVD: [CVE-2026-82416](https://nvd.nist.gov/vuln/detail/CVE-2026-82416), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-82416 · Whole record: https://cve.day/CVE-2026-82416.json · Rebuilt by cve.day 2026-11-25T22:59:43.871Z
