CVE-2026-49875 — Vulnerability in org.apache.cxf:cxf-core
Apache CXF has Improper Restriction of XML External Entity Reference
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.83%). Schedule for your next planned update.
Does your project use an affected org.apache.cxf:cxf-core version?
Paste your pom.xml to check it for CVE-2026-49875 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
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 or 3.6.12, which fix this issue.
Advisory Timeline
- First published June 12, 2026 (167 days ago).
- Last revised October 26, 2026 — 136 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 3.6.12 for org.apache.cxf:cxf-core -->
<!-- Update pom.xml dependency version to 4.2.2 for org.apache.cxf:cxf-core -->
<!-- Update pom.xml dependency version to 4.1.7 for org.apache.cxf:cxf-core -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.apache.cxf:cxf-core Maven · Affected: 3.0.0, 3.0.0-milestone1, 3.0.0-milestone2, 3.0.1 (+98 more) | 3.6.12 |
| org.apache.cxf:cxf-core Maven · Affected: 4.2.0, 4.2.1 | 4.2.2 |
| org.apache.cxf:cxf-core Maven · Affected: 4.0.0, 4.0.1, 4.0.10, 4.0.11 (+15 more) | 4.1.7 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-611XML External Entity (XXE)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-49875ADVISORY
- https://access.redhat.com/errata/RHSA-2026:36839WEB
- https://access.redhat.com/errata/RHSA-2026:37390WEB
- https://access.redhat.com/security/cve/CVE-2026-49875WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2488309WEB
- https://cxf.apache.org/security-advisories.data/CVE-2026-49875.txtWEB
- https://github.com/apache/cxfPACKAGE
- https://lists.apache.org/thread/3kb9w5bg90xcp06fccoz9k3gpsvyy79oWEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49875.jsonWEB
- https://www.openwall.com/lists/oss-security/2026/06/11/2WEB
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. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-49875 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 54.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-50632CRITICAL
Apache CXF has JNDI Injection Vulnerability in JMSConfigFactory
- CVE-2026-50627CRITICAL
Apache CXF OAuth2 Missing JWT Audience and Issuer Validation in Access Token Validator
- CVE-2026-50628CRITICAL
Apache CXF OAuth2 has Inverted IP Binding Check that Defeats Security Control
- CVE-2026-44930CRITICAL
Apache CXF has an LDAP injection vulnerability
- CVE-2024-28752CRITICAL
SSRF vulnerability using the Aegis DataBinding in Apache CXF
- CVE-2022-46364CRITICAL
Apache CXF Server-Side Request Forgery vulnerability
- CVE-2026-50629HIGH
Apache CXF OAuth2 Log Injection via Unsanitized Client Identifier
- CVE-2025-48913MEDIUM
Apache CXF: Untrusted JMS configuration can lead to RCE