{"schemaVersion":3,"id":"CVE-2026-82416","aliases":["GHSA-v3ph-cgqh-r8p5","GO-2026-6797"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-13T16:20:53.439Z","modified":"2026-10-13T20:22:02.706Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","exploitability":5.6,"impact":9.2,"computed":true}]},"epss":{"probability":0.00227,"percentile":0.12687,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-14T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00227,"percentile":0.12687}],"last30":[{"date":"2026-10-14T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00227,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00227,"percentile":0.12687}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"},{"id":"CWE-488","name":"Exposure of Data Element to Wrong Session","description":"The product does not sufficiently enforce boundaries between the states of different sessions, causing data to be provided to, or used by, the wrong session.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/488.html"}],"affected":[{"vendor":"github.com/dunglas","product":"frankenphp","name":"github.com/dunglas/frankenphp","label":"frankenphp","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/dunglas/frankenphp","purlType":"golang","versions":[{"text":"< 1.12.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.5","eol":null,"hubHref":null},{"vendor":"php","product":"frankenphp","name":"frankenphp","label":"frankenphp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.12.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.5","eol":null,"hubHref":"/vendor/php/frankenphp"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/php/frankenphp/security/advisories/GHSA-v3ph-cgqh-r8p5","label":"github.com/php/frankenphp/security/advisories/GHSA-v3ph-cgqh-r8p5","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/php/frankenphp/pull/2523","label":"github.com/php/frankenphp/pull/2523","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/php/frankenphp/commit/be24d82531675f90862b8cde1e9fc7e9ee855aa5","label":"github.com/php/frankenphp/commit/be24d82531675f90862b8cde1e9fc7e9ee855aa5","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/php/frankenphp/releases/tag/caddy/v1.12.5","label":"github.com/php/frankenphp/releases/tag/caddy/v1.12.5","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82416","label":"nvd.nist.gov/vuln/detail/CVE-2026-82416","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/php/frankenphp","label":"github.com/php/frankenphp","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-13T16:20:53.439Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-13T20:22:02.706Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:43:56.467Z","stale":false,"partial":false}}