GHSA-xw5h-cmh3-8j6j
Apache CXF has Improper Restriction of XML External Entity Reference
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.apache.cxf:cxf-core | >= 4.2.0, < 4.2.2 | 4.2.2 |
| Maven | org.apache.cxf:cxf-core | >= 4.0.0, < 4.1.7 | 4.1.7 |
| Maven | org.apache.cxf:cxf-core | < 3.6.12 | 3.6.12 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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