Skip to main content

FrankenPHP EUVDEUVD-2026-125081

| CVE-2026-128021 MEDIUM
Information Exposure (CWE-200)
2026-11-13 VulnCheck GHSA-g6wj-cr3g-5frq
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Send request to worker-mode PHP app
  2. Delivery
    Land on victim's worker thread
  3. Exploit
    Leverage unreset LIBXML(error_list)
  4. Execution
    Call libxml_get_errors() / libxml_get_last_error()
  5. Impact
    Read cross-client document fragments and server paths

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

Exploitation requires that FrankenPHP be run in worker mode (not the default classic/CGI-style lifecycle) AND that the hosted application parses XML/HTML/SVG using libxml with libxml_use_internal_errors(true) - e.g. DOMDocument::loadHTML/loadXML, SimpleXML, SVG sanitizers, or XML API endpoints - AND that the application leaves libxml errors unread/uncleared at end of request; without this app-code pattern there is nothing to leak. The attacker must also land on the same worker thread that served the victim, which they cannot directly control (reflected as AC:H and AT:P in the CVSS 4.0 vector), and the victim's request must actually have emitted libxml errors. No authentication is required (PR:N) and no user interaction (UI:N). The disclosure is read-only and limited to parse-error message fragments and server filesystem paths. These conditions - worker mode plus a specific library-usage pattern plus thread co-residency - substantially narrow real-world exploitability below what the network/unauthenticated vector alone suggests.

Impact

This is a genuine but modest-priority issue, not a high-CVSS false alarm - and in fact the scoring is already honest at CVSS 4.0 6.3 (medium). The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) tells a consistent story: network-reachable and unauthenticated (PR:N), but with high attack complexity (AC:H) and a present attack requirement (AT:P) because the attacker cannot control which worker thread serves their request and must co-reside on the same thread that previously served a victim who left libxml errors uncleared. Impact is confidentiality-only and low (VC:L; VI/VA:N) - read-only disclosure of parsed-document fragments and server filesystem paths, not code execution or a session-identity primitive. The vuln.today Decision label is 'this_month', not 'act_now' or 'emergency', which aligns with the moderate complexity and low impact. No EPSS score is provided and the CVE is not listed in CISA KEV, so there is no signal of active or widespread exploitation. There is no independently confirmed CVSS 3.1 vector in the input (only the 4.0 vector), so the 6.3 is a 4.0 base score. Overall: a real request-isolation defect worth patching on a normal cycle, bounded by the need for a vulnerable app pattern and thread co-residency rather than being broadly weaponizable.

Exploit ScenarioDerived

An attacker repeatedly sends unauthenticated HTTP requests to a FrankenPHP worker-mode application that parses XML/HTML/SVG with libxml_use_internal_errors(true) and does not clear errors at end of request, aiming to be served by a worker thread that previously handled a victim. On a lucky placement, the attacker's request calls libxml_get_errors() or libxml_get_last_error() and receives the victim's accumulated parse-error entries, which embed document fragments and server filesystem paths. The GHSA advisory provides a fully source-traced attack-chain outline but explicitly states no executed PoC exists, and high attack complexity plus the attacker's inability to control thread placement limit reliability.

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

Cross-request information disclosure in FrankenPHP worker mode (versions through 1.13.1) allows an unauthenticated HTTP client to read libxml parse-error entries left behind by an earlier client handled on the same worker thread, exposing fragments of other users' parsed XML/HTML/SVG documents plus server filesystem paths. The root cause is a missed request-scoped state reset: FrankenPHP's worker shutdown never runs libxml's post-deactivate hook, so the accumulated error list survives on the thread-persistent heap and can be retrieved with libxml_get_errors() or libxml_get_last_error(). The vendor has released a fix in 1.13.2; the issue is not listed in CISA KEV, published proof-of-concept material is limited to a source-traced attack outline rather than verified working exploit code, and real-world exploitability is constrained by the requirement for worker mode, a libxml_use_internal_errors(true) code path that leaves errors uncleared, and attacker-uncontrolled thread co-residency with the victim.

RemediationAI

Upgrade FrankenPHP to 1.13.2, the vendor-released fixed version, and redeploy worker-mode binaries so the patched request shutdown path is in use; the advisory's recommended engineering fix is either to invoke zend_post_deactivate_modules() in the worker request-shutdown path, restoring PHP's full module post-deactivate lifecycle, or to add libxml together with the related dom/xml/xmlreader/xsl modules to the reset set, leading with error_list. Refer to GHSA-4gfw-9v29-gp9h (https://github.com/php/frankenphp/security/advisories/GHSA-4gfw-9v29-gp9h) for the authoritative vendor guidance and to the VulnCheck advisory (https://www.vulncheck.com/advisories/frankenphp-before-1.13.2-information-disclosure-via-libxml-error-state-in-worker-mode) for the affected-version confirmation. Where an immediate upgrade is not possible, reduce exposure at the application layer, since the leak requires libxml_use_internal_errors(true) plus error entries left on the list: call libxml_clear_errors() before the end of every request that parses untrusted XML/HTML/SVG, or avoid enabling internal error collection for such parsing, with the trade-off that applications relying on those buffered errors for diagnostics or validation must rework that handling and, if errors are simply discarded, gain no insight into malformed input. Restricting worker sharing or routing untrusted parsing traffic to non-worker (classic) deployments also removes the cross-request path at the cost of losing worker-mode throughput. These are compensating measures only; the vendor-supplied 1.13.2 upgrade is the complete fix.

Affected VersionsENISA

frankenphp 0 <1.13.2

Affected Packages

euvd frankenphp fix: 1.13.2

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

The flaw lives in the interaction between FrankenPHP's hand-rolled worker request lifecycle and the request-scoped module state of PHP's libxml extension (CWE-200 exposure of sensitive information, additionally classed as CWE-488 exposure of a data element to the wrong session). libxml keeps its accumulated errors in the module global LIBXML(error_list), an emalloc'd list populated at ext/libxml/libxml.c:662 where each xmlError entry carries a formatted message (often embedding fragments of the offending document), the file field taken from parser->input->filename (a server filesystem path for file-based loads), plus line, column and code. That list is released only by php_libxml_post_deactivate() (libxml.c:1063-1085), registered as the module's post_deactivate_func and invoked from zend_post_deactivate_modules() inside php_request_shutdown; the module RSHUTDOWN handler clears only the entity-loader callback. GINIT sets error_list to NULL once per thread, and libxml_use_internal_errors(true) allocates a fresh list only when the pointer is NULL, so a carried-over non-NULL list is preserved rather than wiped. FrankenPHP's worker loop replaces the normal lifecycle: frankenphp_worker_request_shutdown() (frankenphp.c:517) reruns request_shutdown_func only for the modules in MODULES_TO_RELOAD[] (frankenphp.c:74-88), which lists filter and, conditionally, session, and the worker path performs no zend_post_deactivate_modules(), zend_deactivate() or Zend memory-manager shutdown. libxml, dom, xml, xmlreader and xsl are all absent from that reset set, so the emalloc'd error list persists on the thread-persistent heap and a later request on the same worker can read it through libxml_get_errors() (libxml.c:1197) or libxml_get_last_error(). The exposure is read-only and limited to parse-error message fragments and server paths; the affected deployment mode is worker mode, whereas the classic/CGI-style lifecycle, which runs PHP's normal per-request shutdown, is not described as affected by the advisory. The persistence is not a documented by-design behaviour: FrankenPHP's security documentation enumerates only $_ENV, putenv(), statics, class statics, globals, ini_set(), default stream context, timezone and cwd as accepted to persist, so libxml error state falls under the general request-isolation guarantee. It is structurally the same class as the previously fixed cross-request session ID leak (GHSA-v3ph-cgqh-r8p5 / CVE-2026-82416) but affects a different extension and a different request-scoped global.

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:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Network and unauthenticated (AV:N/PR:N) but AC:H because the attacker cannot control thread co-residency and depends on an uncleared victim error list; low confidentiality only, no integrity or availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/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
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 10:02 EUVD

DescriptionCVE.org

FrankenPHP before 1.13.2 contains an information disclosure vulnerability that allows later clients to read earlier clients' libxml errors because worker mode never resets LIBXML(error_list) between requests. Attackers sending requests to the same worker thread can call libxml_get_errors() or libxml_get_last_error() to obtain other clients' parsed-document fragments and server filesystem paths.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
modern PHP runtime, growing but limited footprint, worker mode only
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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