CVE-2026-49875
Apache CXF has Improper Restriction of XML External Entity Reference
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 or 3.6.12, which fix this issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.cxf » cxf-core | < 3.6.12>= 4.0.0, < 4.1.7>= 4.2.0, < 4.2.2 | 3.6.12, 4.1.7, 4.2.2 |
Blast radius
62% of the dependent artifacts (4,638) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 82,715 |
| 2 hops | 123,304 |
| 3 hops | 136,570 |
| 4 hops | 64,266 |
| 5 hops | 35,812 |
| 6 hops | 30,058 |
Most used dependents
- org.apache.kafka » kafka1,450 usages
- org.apache.cxf » cxf-rt-frontend-jaxws1,379 usages
- org.apache.cxf » cxf-rt-transports-http1,281 usages
- org.apache.cxf » cxf-rt-frontend-jaxrs1,257 usages
- org.apache.cxf » cxf-codegen-plugin811 usages
- io.fabric8 » fabric8-maven-plugin676 usages
- org.apache.camel.kafkaconnector » camel-kafka-connector616 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.cxf » cxf-rt-rs-client515 usages
- org.apache.cxf » cxf-rt-transports-http-jetty513 usages
- org.apache.tika » tika-parsers480 usages
- org.apache.cxf » cxf-rt-ws-security478 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.wildfly » wildfly-feature-pack372 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-49875 | nvd.nist.gov |
| Package | apache/cxf | github.com |
| Web | errata/RHSA-2026:36839 | access.redhat.com |
| Web | errata/RHSA-2026:37390 | access.redhat.com |
| Web | security/cve/CVE-2026-49875 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | security-advisories.data/CVE-2026-49875.txt | cxf.apache.org |
| Web | thread/3kb9w5bg90xcp06fccoz9k3gpsvyy79o | lists.apache.org |
| Web | data/csaf/v2/vex/2026/cve-2026-49875.json | security.access.redhat.com |
| Web | lists/oss-security/2026/06/11/2 | openwall.com |
