GitHub Advisory Database
GHSA-xw5h-cmh3-8j6j
Apache CXF has Improper Restriction of XML External Entity Reference
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.cxf:cxf-core | From 4.2.0 before 4.2.2 (fixed in 4.2.2) |
| Maven | org.apache.cxf:cxf-core | From 4.0.0 before 4.1.7 (fixed in 4.1.7) |
| Maven | org.apache.cxf:cxf-core | All versions before 3.6.12 (fixed in 3.6.12) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-49875
- https://access.redhat.com/errata/RHSA-2026:36839
- https://access.redhat.com/errata/RHSA-2026:37390
- https://access.redhat.com/security/cve/CVE-2026-49875
- https://bugzilla.redhat.com/show_bug.cgi?id=2488309
- https://cxf.apache.org/security-advisories.data/CVE-2026-49875.txt
- https://github.com/apache/cxf
- https://lists.apache.org/thread/3kb9w5bg90xcp06fccoz9k3gpsvyy79o
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49875.json
- http://www.openwall.com/lists/oss-security/2026/06/11/2