CVE-2026-82416
CVE-2026-82416 · FrankenPHP: Cross-request PHP session ID leak in worker mode when the session extension is a shared module
CVSS 7.7 · High · EPSS 0.3%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- frankenphpNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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
- Updated
Fixes in distributions
- SUSE-SU-2026:24730-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:22336-1 · openSUSE Leap 16.0 ·
Affected products and versions
frankenphp
- Versions
- < 1.12.5: Affected
No fix published
Original sources
- https://github.com/php/frankenphp/security/advisories/GHSA-v3ph-cgqh-r8p5
- https://github.com/php/frankenphp/pull/2523
- https://github.com/php/frankenphp/commit/be24d82531675f90862b8cde1e9fc7e9ee855aa5
- https://github.com/php/frankenphp/releases/tag/caddy/v1.12.5
- https://nvd.nist.gov/vuln/detail/CVE-2026-82416