Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend request to worker-mode PHP app
-
DeliveryLand on victim's worker thread
-
ExploitLeverage unreset LIBXML(error_list)
-
ExecutionCall libxml_get_errors() / libxml_get_last_error()
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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-125081
GHSA-g6wj-cr3g-5frq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB