Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach worker-mode app using per-request env
-
ExploitSend requests sharing a victim's PHP thread
-
ExecutionRead leaked values via getenv() or $_SERVER
-
ImpactApplication acts on another user's tenant/authorization values
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires FrankenPHP worker mode (classic mode is explicitly not affected) running a version <= 1.13.3, AND the application must set per-request environment variables - via the Caddy |
| Impact | The vendor CVSS 4.0 vector (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N, score 6.3 Medium) describes a network-reachable (AV:N), unauthenticated (PR:N) issue with high attack complexity (AC:H) and a present attack requirement (AT:P), yielding only low confidentiality and low integrity impact and no availability impact. These signals are internally consistent with the GHSA evidence: the leak is a cross-request side effect on a shared PHP worker thread, so an attacker does not authenticate but also cannot directly choose which victim's values they receive, which is what AC:H/AT:P reflect. Reinforcing signals are weak-to-moderate: a vendor patch is available (1.13.4), the vuln.today Decision label is 'this_month' (not act_now/emergency), it was reported by VulnCheck, and there is no CISA KEV listing - so this is not confirmed actively exploited. No EPSS score was provided in the input, so exploitation probability cannot be weighed here; state that gap explicitly rather than assume. The impact is also tightly conditioned: only worker mode is affected and only applications that set per-request environment variables are exposed, so despite the network vector this is a priority to patch within a normal cycle, not an emergency, matching the 'this_month' decision. |
| Exploit ScenarioDerived | On a FrankenPHP worker-mode deployment that assigns per-request environment variables (for example a tenant ID derived from a request header via an |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
FrankenPHP worker-mode deployments through 1.13.3 can expose per-request environment variables to later requests that run on the same PHP worker thread, allowing an attacker's request to read values an application may use for routing, tenant selection, or authorization. The flaw is only reachable when the application sets request-scoped environment variables via Caddy env directives with request placeholders such as {http.request.header.*}, route-specific env blocks, or frankenphp.WithRequestEnv()/WithRequestPreparedEnv(), and then reads them with getenv() or $_SERVER; classic mode and applications with identical environment variables for every request are unaffected. Attack complexity is high because leakage depends on worker-thread reuse and the attacker cannot select a specific victim, and no public exploit was identified at time of analysis; the vendor rating is 6.3 Medium, and a complete fix is available in 1.13.4.
RemediationAI
Upgrade to FrankenPHP 1.13.4 or later, which releases per-request environment variables after each worker request, keeps $_ENV scoped to the worker script environment, and stores putenv() writes as overrides; the vendor describes this as the complete fix. The patch is commit 72f9366de07093ba3f524af3e6c73451012e5199, and the advisory is GHSA-8386-64gm-3m8q at https://github.com/php/frankenphp/security/advisories/GHSA-8386-64gm-3m8q. If upgrading cannot be done immediately, the vendor workaround is to stop using per-request environment variables for worker routes, avoiding Caddy env directives with request placeholders such as {http.request.header.*}, route-specific env blocks, and frankenphp.WithRequestEnv()/WithRequestPreparedEnv(), or to read the needed values from request headers or $_SERVER keys that are set on every request; this requires application code changes and alters how request-scoped data is passed. Applications with identical environment variables for every request and classic-mode deployments are not affected.
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 is a Go-based PHP application server, distributed as the Go module go/github.com/dunglas/frankenphp, that can run PHP workers persistently across requests in worker mode. Environment values are maintained in thread-local layers: main_thread_env for the process, prepared_env for the current request from Caddy env directives with request placeholders or the Go APIs frankenphp.WithRequestEnv() and frankenphp.WithRequestPreparedEnv(), worker_env for the worker script's own environment, and sandboxed_env for putenv() writes. In affected versions, prepared_env was stored in a thread-local table that was released only when the worker script ended, not after each request; each request updated only the keys it set, so keys from an earlier request remained visible. The first putenv() on a thread also copied that table into the putenv() sandbox, causing getenv() to keep returning the earlier request's values, and $_SERVER could contain variables that only an earlier request had set. This is CWE-200 information exposure with CWE-488 exposure of a data element to the wrong session or user. The 1.13.4 fix releases prepared_env after each worker request, keeps $_ENV limited to the worker script environment, and layers putenv() writes as overrides over the other environment tables; classic mode is not affected.
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:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable and unauthenticated (AV:N/PR:N) but depends on same-thread request reuse the attacker cannot control (AC:H); leaked env yields limited disclosure and wrong-value processing (C:L/I:L), no 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 leaks per-request environment variables into later requests on the same PHP thread. Attackers can read values set via env directives with request placeholders or WithRequestEnv() through getenv() or $_SERVER, causing applications to act on another user's routing, tenant, or authorization values.
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-125083
GHSA-67qw-5wvh-x639
NVD
CVE.org
EPSS
Exploit-DB