Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/dunglas/frankenphp
  4. ›
  5. CVE-2026-82416

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

October 15, 2026

In worker mode under concurrency, FrankenPHP can hand a PHP session id from one request to another when PHP’s session extension is loaded as a shared module instead of being statically linked into the FrankenPHP binary. A request presenting Cookie: session=A can have session_id() resolve to B (a different concurrent client’s id) or to a stale id from a previous request served by the same worker thread.

References

  • github.com/advisories/GHSA-v3ph-cgqh-r8p5
  • github.com/php/frankenphp/commit/be24d82531675f90862b8cde1e9fc7e9ee855aa5
  • github.com/php/frankenphp/pull/2523
  • github.com/php/frankenphp/releases/tag/caddy/v1.12.5
  • github.com/php/frankenphp/security/advisories/GHSA-v3ph-cgqh-r8p5
  • nvd.nist.gov/vuln/detail/CVE-2026-82416

Code Behaviors & Features

Detect and mitigate CVE-2026-82416 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.12.5

Fixed versions

  • 1.12.5

Solution

Upgrade to version 1.12.5 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-488: Exposure of Data Element to Wrong Session

Source file

go/github.com/dunglas/frankenphp/CVE-2026-82416.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 05 Nov 2026 12:17:41 +0000.