Loading...
Skip to main content

CVE-2026-49875 — Vulnerability in org.apache.cxf:cxf-core — CVE...

CRITICAL

Apache CXF has Improper Restriction of XML External Entity Reference

Published June 12, 2026Updated October 2, 2026Source: osv

Summary

Apache CXF's EndpointReferenceUtils and W3CMultiSchemaFactory classes construct a SAXParserFactory without the necessary JAXP hardening configurations, enabling out-of-band (OOB) external entity resolution. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fix this issue.

Advisory Timeline

  • First published June 12, 2026 (122 days ago).
  • Last revised October 2, 2026 — 112 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.cxf:cxf-core to 4.1.7 or later
<!-- Update pom.xml dependency version to 4.1.7 for org.apache.cxf:cxf-core -->
Maven
Update org.apache.cxf:cxf-core to 4.2.2 or later
<!-- Update pom.xml dependency version to 4.2.2 for org.apache.cxf:cxf-core -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.cxf:cxf-core
maven
3.0.0, 3.0.0-milestone1, 3.0.0-milestone2, 3.0.1 (+118 more)4.1.7
org.apache.cxf:cxf-core
maven
4.2.0, 4.2.14.2.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-611
    XML External Entity (XXE)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-49875?
Apache CXF has Improper Restriction of XML External Entity Reference This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-49875?
CVE-2026-49875 affects org.apache.cxf:cxf-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-49875 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-xw5h-cmh3-8j6j

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies