CVE-2026-49875GHSA-xw5h-cmh3-8j6j
org.apache.cxf:cxf-core: Apache CXF has Improper Restriction of XML External Entity Reference
Apache Software Foundation org.apache.cxf:cxf-coremavenLibraries & packages
CVSS
9.8CriticalExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.81%Chance of exploitation activity in the next 30 days, higher than 56% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 4.2.2org.apache.cxf:cxf-core, mavenGitHub
<dependency><groupId>org.apache.cxf</groupId><artifactId>cxf-core</artifactId><version>4.2.2</version></dependency> - 4.1.7org.apache.cxf:cxf-core, mavenGitHub
<dependency><groupId>org.apache.cxf</groupId><artifactId>cxf-core</artifactId><version>4.1.7</version></dependency> - 4.2.2Apache CXFCVE List
- 4.1.7Apache CXFCVE List
- 3.6.12Apache CXFCVE List
- 4.2.2org.apache.cxf:cxf-core, MavenOSV
<dependency><groupId>org.apache.cxf</groupId><artifactId>cxf-core</artifactId><version>4.2.2</version></dependency>
Show all 7 fixed versions
- 4.1.7org.apache.cxf:cxf-core, MavenOSV
<dependency><groupId>org.apache.cxf</groupId><artifactId>cxf-core</artifactId><version>4.1.7</version></dependency>
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from GitHub Advisory Database
Affected versions 59
- org.apache.cxf:cxf-core, maven>= 4.2.0, < 4.2.2GitHub
- org.apache.cxf:cxf-core, maven< 4.1.7GitHub
- Apache CXFaffected: 4.2.0 before 4.2.2CVE List
- Apache CXFaffected: 4.0.0 before 4.1.7CVE List
- Apache CXFaffected: all versions before 3.6.12CVE List
- org.apache.cxf:cxf-core, Mavenfrom 4.2.0, fixed in 4.2.2OSV
- org.apache.cxf:cxf-core, Maven4.2.0OSV
- org.apache.cxf:cxf-core, Maven4.2.1OSV
- org.apache.cxf:cxf-core, Mavenfrom first release, fixed in 4.1.7OSV
- org.apache.cxf:cxf-core, Maven3.0.0OSV
- org.apache.cxf:cxf-core, Maven3.0.0-milestone1OSV
- org.apache.cxf:cxf-core, Maven3.0.0-milestone2OSV
- org.apache.cxf:cxf-core, Maven3.0.1OSV
- org.apache.cxf:cxf-core, Maven3.0.10OSV
- org.apache.cxf:cxf-core, Maven3.0.11OSV
- org.apache.cxf:cxf-core, Maven3.0.12OSV
- org.apache.cxf:cxf-core, Maven3.0.13OSV
- org.apache.cxf:cxf-core, Maven3.0.14OSV
- org.apache.cxf:cxf-core, Maven3.0.15OSV
- org.apache.cxf:cxf-core, Maven3.0.16OSV
- org.apache.cxf:cxf-core, Maven3.0.2OSV
- org.apache.cxf:cxf-core, Maven3.0.3OSV
- org.apache.cxf:cxf-core, Maven3.0.4OSV
- org.apache.cxf:cxf-core, Maven3.0.5OSV
- org.apache.cxf:cxf-core, Maven3.0.6OSV
- org.apache.cxf:cxf-core, Maven3.0.7OSV
- org.apache.cxf:cxf-core, Maven3.0.8OSV
- org.apache.cxf:cxf-core, Maven3.0.9OSV
- org.apache.cxf:cxf-core, Maven3.1.0OSV
- org.apache.cxf:cxf-core, Maven3.1.1OSV
- org.apache.cxf:cxf-core, Maven3.1.10OSV
- org.apache.cxf:cxf-core, Maven3.1.11OSV
- org.apache.cxf:cxf-core, Maven3.1.12OSV
- org.apache.cxf:cxf-core, Maven3.1.13OSV
- org.apache.cxf:cxf-core, Maven3.1.14OSV
- org.apache.cxf:cxf-core, Maven3.1.15OSV
- org.apache.cxf:cxf-core, Maven3.1.16OSV
- org.apache.cxf:cxf-core, Maven3.1.17OSV
- org.apache.cxf:cxf-core, Maven3.1.18OSV
- org.apache.cxf:cxf-core, Maven3.1.2OSV
- org.apache.cxf:cxf-core, Maven3.1.3OSV
- org.apache.cxf:cxf-core, Maven3.1.4OSV
- org.apache.cxf:cxf-core, Maven3.1.5OSV
- org.apache.cxf:cxf-core, Maven3.1.6OSV
- org.apache.cxf:cxf-core, Maven3.1.7OSV
- org.apache.cxf:cxf-core, Maven3.1.8OSV
- org.apache.cxf:cxf-core, Maven3.1.9OSV
- org.apache.cxf:cxf-core, Maven3.2.0OSV
- org.apache.cxf:cxf-core, Maven3.2.1OSV
- org.apache.cxf:cxf-core, Maven3.2.10OSV
- org.apache.cxf:cxf-core, Maven3.2.11OSV
- org.apache.cxf:cxf-core, Maven3.2.12OSV
- org.apache.cxf:cxf-core, Maven3.2.13OSV
- org.apache.cxf:cxf-core, Maven3.2.14OSV
- org.apache.cxf:cxf-core, Maven3.2.2OSV
- org.apache.cxf:cxf-core, Maven3.2.3OSV
- org.apache.cxf:cxf-core, Maven3.2.4OSV
- org.apache.cxf:cxf-core, Maven3.2.5OSV
- org.apache.cxf:cxf-core, Maven3.2.6OSV
References 9
- lists.apache.org/thread/3kb9w5bg90xcp06fccoz9k3gpsvyy79oAdvisoryvia CVE List
- access.redhat.com/security/cve/CVE-2026-49875Advisoryvia CVE List
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49875.jsonAdvisoryvia CVE List
- access.redhat.com/errata/RHSA-2026:36839Advisoryvia CVE List
- access.redhat.com/errata/RHSA-2026:37390Advisoryvia CVE List
- cxf.apache.org/security-advisories.data/CVE-2026-49875.txtAdvisoryvia GitHub
- github.com/advisories/GHSA-xw5h-cmh3-8j6jAdvisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-49875Referencevia GitHub
- bugzilla.redhat.com/show_bug.cgi?id=2488309Referencevia CVE List