Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
php frankenphp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FrankenPHP 是一款面向 PHP 的现代应用程序服务器。在 1.12.5 版本之前,当 PHP 会话扩展(session extension)被作为共享模块加载,且在编译时通过 HAVE_PHP_SESSION 宏不可用时,FrankenPHP 的 worker 模式可能会在多个请求之间保留 PHP 会话状态。在该构建配置下,函数 会被编译移除,导致 PS(id)(会话标识符)能够跨越请求边界持续存在。因此,当后续调用 时,如果已存在会话标识符,系统可能会忽略新请求中的 cookie,从而继续使用旧会话。

CVSS 7.7 · High EPSS 0.23% · P13

Affected Version Matrix 1

VendorProduct Version RangeStatus
php frankenphp < 1.12.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-82416

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
FrankenPHP: Cross-request PHP session ID leak in worker mode when the session extension is a shared module
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
使用共享资源的并发执行不恰当同步问题(竞争条件)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
php frankenphp < 1.12.5 -

II. Public POCs for CVE-2026-82416

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-82416

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-82416 (3)

Vendor Advisories for CVE-2026-82416 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-82416

No comments yet


Leave a comment