Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessTrigger app request that fetches backend API
-
DeliveryBackend returns Set-Cookie/token in response headers
-
ExploitSecond request on same worker thread omits its own fetch
-
ExecutionApp calls http_get_last_response_headers()
-
ImpactDisclose earlier user's headers
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V14 - Data Protection Exposure of data element to wrong session
|
| Exploitation Conditions | Exploitation requires FrankenPHP running in worker mode (classic/non-worker mode is explicitly NOT affected) on PHP 8.4+ where http_get_last_response_headers() exists, AND application code that calls http_get_last_response_headers() in a request without first making its own HTTP stream request in that same request (for example after a fetch that failed before connecting). The leaked data is whatever headers an earlier request on the same worker thread fetched (e.g. Set-Cookie or token headers from a backend API), so a prior request on that thread must have performed such a fetch. Limiting factors: only worker mode is vulnerable, the disclosure depends on request ordering and thread reuse on a shared worker thread (reflected as AT:P), and the application must actually use the affected function in the described pattern - these substantially narrow realistic exploitation despite the network-reachable, unauthenticated vector. Workaround per vendor: call http_clear_last_response_headers() at the start of each worker request; the complete fix is upgrading to 1.13.4. |
| Impact | The vendor CVSS 4.0 score of 6.3 (medium) is driven by AV:N/PR:N/UI:N (network-reachable, unauthenticated, no user interaction) but tempered by AT:P (a specific attack requirement must be met) and a limited impact profile (VC:L, VI:N, VA:N - confidentiality-only, partial). No EPSS score is provided in the input, and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation; exploitation status is best described as a conceptual proof of concept documented in the GHSA advisory rather than verified working exploit code. The vuln.today decision label is 'this_month', consistent with a real-but-not-emergency fix priority. The signals are internally consistent: a genuine cross-request information-disclosure flaw, but one whose real-world exploitability is gated by two non-default conditions (worker mode must be in use, and application code must call http_get_last_response_headers() without first making its own HTTP stream request in the same request). This is therefore a legitimate confidentiality issue to patch on a normal cycle, not a high-urgency network RCE; the PR:N network framing overstates practical risk because the AT:P attack requirement - dependence on request ordering on a shared worker thread and a specific application code pattern - is the real limiting factor. |
| Exploit ScenarioDerived | A FrankenPHP worker-mode application makes a backend API call (e.g. file_get_contents()) on one user's request, and the upstream returns sensitive headers such as Set-Cookie or a token. A later request on the same worker thread - possibly from a different user - calls http_get_last_response_headers() without making its own HTTP stream request first (for example after a fetch that failed before connecting) and receives the earlier user's headers. A step-by-step proof of concept is documented in the GHSA advisory, though it is not verified as packaged working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Information disclosure in FrankenPHP worker mode (up to and including 1.13.3, on PHP 8.4+) allows a later request on the same worker thread to read upstream HTTP response headers - such as Set-Cookie or backend API token headers - that an earlier request fetched, because the last-response-headers state is only cleared at RSHUTDOWN, which worker requests skip. The issue is network-reachable and unauthenticated (CVSS:4.0 PR:N), but exploitation requires worker mode (classic mode is explicitly not affected), PHP 8.4+ where http_get_last_response_headers() exists, a prior request on that thread that performed an outbound HTTP stream fetch, and application code that calls http_get_last_response_headers() without first making its own HTTP stream request in the same request, so impact is confidentiality-only and partial (vendor 6.3 medium; independent assessment CVSS:3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N). The vendor addressed the leak in 1.13.4, and the advisory includes public two-request proof-of-concept reproduction steps; those steps are a public PoC reference and are not verified as working standalone exploit code, and there is no CISA KEV entry, with the vulnerability prioritized as 'this_month'.
RemediationAI
Upgrade to FrankenPHP 1.13.4, the vendor-released patch version that clears the last HTTP response headers between worker requests via commit 3fade63bb1c1d246926ed8a00520015f94cdc819 (see https://github.com/php/frankenphp/security/advisories/GHSA-pmvg-8483-mw84 and https://github.com/php/frankenphp/releases/tag/v1.13.4); organizations that cannot upgrade immediately can apply the vendor's documented workaround by calling http_clear_last_response_headers() at the start of each worker request - this must be added to application or worker bootstrap code, so it provides no protection for code paths that do not execute it, whereas upgrading fixes the leak at the server level. The same commit also resets strtok() state and output_add_rewrite_var() variables between worker requests as hardening; the vendor notes those were never documented as request-scoped and are not part of the vulnerability, so applications relying on strtok() continuation or rewrite variables across worker requests should re-check that behavior after upgrading. Because the fix is confined to worker-mode state handling, the same code change is the complete remedy - no separate configuration toggle exists to disable the vulnerable function short of not using http_get_last_response_headers() in worker mode.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FrankenPHP embeds the PHP interpreter in a persistent Go HTTP server and, in worker mode, keeps a PHP thread alive across many requests, manually resetting per-request state instead of relying on PHP's normal request lifecycle. PHP's standard extension stores the headers of the most recent HTTP stream wrapper response in the request-global BG(last_http_headers) and releases them in its RSHUTDOWN handler; because FrankenPHP worker requests never run RSHUTDOWN, that state survived from one request to the next, so http_get_last_response_headers() (PHP 8.4+) could return headers captured by an earlier request on the same thread. This is CWE-488 (Exposure of Data Element to Wrong Session), also described as CWE-200 information exposure: the data element is not the PHP session itself but per-request response metadata that carries credentials such as Set-Cookie values. The fix in commit 3fade63bb1c1d246926ed8a00520015f94cdc819 adds destruction of BG(last_http_headers) to FrankenPHP's between-request reset path (guarded by PHP_VERSION_ID >= 80400) and, as hardening rather than part of the vulnerability, also frees BG(strtok_string) and reinitializes the URL rewriter state (output_add_rewrite_var()/session.use_trans_sid) that PHP normally releases at script end. Prior related work (GHSA-4gfw-9v29-gp9h) had already cleared error_get_last() and libxml errors between worker requests; this leak was the analogous gap for last HTTP response headers, whose trigger is a request that calls the function without performing its own successful outbound fetch - the underlying trigger is fixed rather than dependent on timing within a single request.
Know when Frankenphp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable and unauthenticated (AV:N/PR:N), but success depends on worker-thread request ordering and a specific app code pattern (AC:H); only partial confidentiality of leaked headers, no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FrankenPHP before 1.13.4 contains an information disclosure vulnerability in worker mode that fails to clear last HTTP stream response headers between requests, because the reset only happens in RSHUTDOWN, which worker requests skip. Later requests calling http_get_last_response_headers() can read headers fetched by earlier requests on the same worker thread, exposing other users' Set-Cookie or token headers from backend APIs.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Frankenphp
View allCGI path splitting vulnerability in FrankenPHP before 1.11.2 — Unicode characters bypass path validation during CGI proc
FrankenPHP versions prior to 1.11.2 fail to properly isolate session data between worker requests, enabling cross-user s
FrankenPHP Docker images before 1.1.11 were built only when an upstream base-image tag was created, so when Alpine, PHP,
FrankenPHP standalone static binaries 1.8.0 through 1.13.1 can be crashed by a single unauthenticated request when appli
An authentication bypass in FrankenPHP before 1.13.0 lets unauthenticated remote attackers spoof any trusted dash-form r
A use-after-free in FrankenPHP releases before 1.13.4 leaves a dangling thread-local pointer to a freed environment sand
Use-after-free in FrankenPHP worker mode (versions up to and including 1.13.3) lets remote clients trigger reads of free
FrankenPHP releases before 1.13.0 abort the entire server process - every vhost, worker and in-flight request - when a c
Uncontrolled recursion in FrankenPHP's PHP-to-Go array converter crashes the entire server process, giving a process-wid
Unauthenticated remote attackers can obtain another client's PHP session identifier from FrankenPHP worker mode before 1
Denial of service in FrankenPHP releases up to and including 1.13.1 allows unauthenticated remote clients to tie up the
Unauthenticated remote attackers can bypass extension-based execution protections in FrankenPHP before 1.13.0 and cause
EUVD-2026-117119
GHSA-2xgr-grwj-fv6m
NVD
CVE.org
EPSS
Exploit-DB