CVE-2026-49875: Apache CXF has Improper Restriction of XML External Entity Reference
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.
Published Jun 12, 2026 · Updated Oct 2, 2026
Affected packages
org.apache.cxf:cxf-core
- Ecosystem
- Maven
- Affected
- >= 4.2.0, < 4.2.2
- Fixed in
- 4.2.2
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-core
org.apache.cxf:cxf-core
- Ecosystem
- Maven
- Affected
- < 4.1.7
- Fixed in
- 4.1.7
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to coheigea.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-49875
- https://lists.apache.org/thread/3kb9w5bg90xcp06fccoz9k3gpsvyy79o
- https://access.redhat.com/security/cve/CVE-2026-49875
- https://bugzilla.redhat.com/show_bug.cgi?id=2488309
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49875.json
- https://access.redhat.com/errata/RHSA-2026:36839
- https://access.redhat.com/errata/RHSA-2026:37390
- https://cxf.apache.org/security-advisories.data/CVE-2026-49875.txt
- https://github.com/advisories/GHSA-xw5h-cmh3-8j6j
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
