Quick answers
- Is CVE-2026-49875 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-49875 being exploited in the wild.
- How severe is CVE-2026-49875?
- Critical severity, with a CVSS score of 9.8, published 12 June 2026.
- Which products and versions are affected?
- Apache Software Foundation CXF 4.2.0 to 4.2.1, all versions before 4.1.7; org.apache.cxf:cxf-core (Maven) ECOSYSTEM:introduced=4.2.0,fixed=4.2.2.
- Is there a fix for CVE-2026-49875?
- Yes. org.apache.cxf:cxf-core (Maven): upgrade to 4.2.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-49875 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-49875?
- Check whether you run Apache Software Foundation CXF or org.apache.cxf:cxf-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.apache.cxf:cxf-core (Maven): upgrade to 4.2.2 or later
# set org.apache.cxf:cxf-core to 4.2.2 in your pom.xml or build.gradle
Technical details
An XML External Entity (XXE) vulnerability exists in Apache CXF's cxf-core module. The EndpointReferenceUtils and W3CMultiSchemaFactory classes instantiate a SAXParserFactory without disabling external entity resolution (JAXP hardening). A remote, unauthenticated attacker can exploit this by sending specially crafted XML messages to a CXF-based endpoint, leading to out-of-band (OOB) external entity resolution. This can result in the disclosure of local files or server-side request forgery (SSRF). The issue is resolved in Apache CXF versions 4.2.2 and 4.1.7.
Affected products
- Apache CXF (cxf-core) 4.2.0 to 4.2.1, all versions before 4.1.7
Identifiers
- CVE-2026-49875
- GHSA-xw5h-cmh3-8j6j
Timeline
- 2026-06-11: disclosed: Initial disclosure on oss-security mailing list
- 2026-06-12: advisory: NVD publication date
- 2026-06-12: patched: Fixes available in versions 4.2.2 and 4.1.7