CVE-2026-49875 Apache CXF: XML External Entity (XXE) Injection in W3CMultiSchemaFactory and EndpointReferenceUtils
Attackers can exploit XML External Entity injection in Apache CXF to read sensitive data or cause denial of service via OOB entity resolution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-49875?
CVE-2026-49875 is a medium-severity vulnerability in Apache Cxf, published on 12 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-611
Which versions are affected by CVE-2026-49875?
6 open source packages ship an affected version, including org.apache.cxf:cxf-core. It affects 6 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.cxf:cxf-core Maven | All versions | 3.6.12 |
org.apache.cxf:cxf-core Maven | All versions | 3.6.12 |
org.apache.cxf:cxf-core Maven | From 4.0.0 | 4.1.7 |
org.apache.cxf:cxf-core Maven | From 4.0.0 | 4.1.7 |
org.apache.cxf:cxf-core Maven | From 4.2.0 | 4.2.2 |
org.apache.cxf:cxf-core Maven | From 4.2.0 | 4.2.2 |
Products include Apache Cxf, Redhat Build of Apache Camel, Redhat Fuse, Redhat Jboss Enterprise Application Platform, Redhat Jboss Web Server, Redhat Single Sign-On.
How do I fix CVE-2026-49875?
Upgrade org.apache.cxf:cxf-core to a fixed version for your release line: 3.6.12, 4.1.7 or 4.2.2.
Is CVE-2026-49875 being exploited?
There is no known exploitation of CVE-2026-49875 in the wild and no public exploit code.
Other vulnerabilities in Apache Cxf
- CVE-2012-2379 XML Signature/Encryption Not Validated in Apache CXF
- CVE-2026-66909 Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage
- CVE-2026-68079 Apache CXF: DefaultEncryptingCodeDataProvider allows unlimited authorization code replay
- CVE-2026-50628 Apache CXF: OAuth2: Inverted IP Binding Check Defeats Security Control
- CVE-2025-48913 Apache CXF: Untrusted JMS configuration can lead to RCE
Sources
Also known as CLEANSTART-2026-GC63511, ECHO-6c5f-e059-c4c4, GHSA-xw5h-cmh3-8j6j, MINI-j5fh-g5m7-34fh.