Skip to main content

FrankenPHP EUVDEUVD-2026-125083

| CVE-2026-128019 MEDIUM
Information Exposure (CWE-200)
2026-11-13 VulnCheck GHSA-67qw-5wvh-x639
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach worker-mode app using per-request env
  2. Exploit
    Send requests sharing a victim's PHP thread
  3. Execution
    Read leaked values via getenv() or $_SERVER
  4. Impact
    Application 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 env directive with request placeholders such as {http.request.header.*}, route-specific env blocks, or the Go API frankenphp.WithRequestEnv() / WithRequestPreparedEnv() - and then read them through getenv() or $_SERVER. Applications whose environment variables are identical for every request are not affected. Exploitation is further limited because leakage occurs only when attacker and victim requests are served by the same PHP worker thread, and the attacker cannot deterministically target a specific victim's values; after the first putenv() on a thread the leaked set is further constrained. The patched behavior (releasing per-request variables after each worker request) is the complete fix.

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 env directive or WithRequestEnv()), an attacker sends requests that happen to be served by the same PHP thread that previously handled a victim's request. Because the per-request variables were not released between requests, the attacker's PHP code reads the victim's leaked values through getenv() or $_SERVER, or the application silently acts on the wrong routing/tenant/authorization value. No public exploit identified at time of analysis; exploitation relies on thread reuse timing (AC:H/AT:P) rather than a published tool.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

frankenphp 0 <1.13.4

Affected Packages

euvd frankenphp fix: 1.13.4

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

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
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
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Low
emerging modern PHP app server, affected only in worker mode
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-24895 CRITICAL POC
9.8 Feb 12

CGI path splitting vulnerability in FrankenPHP before 1.11.2 — Unicode characters bypass path validation during CGI proc

CVE-2026-24894 HIGH POC
7.5 Feb 12

FrankenPHP versions prior to 1.11.2 fail to properly isolate session data between worker requests, enabling cross-user s

CVE-2026-128027 CRITICAL
9.3 Nov 13

FrankenPHP Docker images before 1.1.11 were built only when an upstream base-image tag was created, so when Alpine, PHP,

CVE-2026-128014 CRITICAL
9.2 Nov 13

FrankenPHP standalone static binaries 1.8.0 through 1.13.1 can be crashed by a single unauthenticated request when appli

CVE-2026-128023 CRITICAL
9.1 Nov 13

An authentication bypass in FrankenPHP before 1.13.0 lets unauthenticated remote attackers spoof any trusted dash-form r

CVE-2026-128015 HIGH
8.3 Nov 13

A use-after-free in FrankenPHP releases before 1.13.4 leaves a dangling thread-local pointer to a freed environment sand

CVE-2026-128016 HIGH
8.3 Nov 13

Use-after-free in FrankenPHP worker mode (versions up to and including 1.13.3) lets remote clients trigger reads of free

CVE-2026-128024 HIGH
8.2 Nov 13

FrankenPHP releases before 1.13.0 abort the entire server process - every vhost, worker and in-flight request - when a c

CVE-2026-128020 HIGH
8.2 Nov 13

Uncontrolled recursion in FrankenPHP's PHP-to-Go array converter crashes the entire server process, giving a process-wid

CVE-2026-82416 HIGH
7.7 Oct 13

Unauthenticated remote attackers can obtain another client's PHP session identifier from FrankenPHP worker mode before 1

CVE-2026-128022 MEDIUM
6.9 Nov 13

Denial of service in FrankenPHP releases up to and including 1.13.1 allows unauthenticated remote clients to tie up the

CVE-2026-128025 MEDIUM
6.9 Nov 13

Unauthenticated remote attackers can bypass extension-based execution protections in FrankenPHP before 1.13.0 and cause

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy