Skip to main content
VulnerabilityPublished Updated

CVE-2026-49875: Org.apache.cxf:cxf core: Apache CXF has Improper Restriction of XML External Entity Reference

Affects org.apache.cxf:cxf-coreSource GCVE Database

0
Authoritative record:CVE-2026-49875· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium : upgrade to 4.2.2 when convenient.

Data as of 26 Oct 2026, 17:43 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 4.2.2, 4.1.7, 3.6.12
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade org.apache.cxf:cxf-core to 4.2.2; org.apache.cxf:cxf-core to 4.1.7; org.apache.cxf:cxf-core to 3.6.12.

Affected software

ProductAffectedFixed in
Mavenorg.apache.cxf:cxf-coreAffected
  • >=4.2.0 <4.2.2
Fixed in
  • 4.2.2
Mavenorg.apache.cxf:cxf-coreAffected
  • >=4.0.0 <4.1.7
Fixed in
  • 4.1.7
Mavenorg.apache.cxf:cxf-coreAffected
  • <3.6.12
Fixed in
  • 3.6.12

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and should be applied. Users should upgrade Apache CXF to versions 4.2.2, 4.1.7, or 3.6.12, which include the necessary JAXP hardening configurations to prevent out-of-band external entity resolution. Vendor advisories from Red Hat provide official updates and instructions. No additional mitigation steps are required beyond applying the official fixes.

Description

Apache CXF versions prior to 4.2.2, 4.1.7, and 3.6.12 improperly construct SAXParserFactory instances without necessary JAXP hardening configurations. This flaw enables out-of-band (OOB) external entity resolution, leading to potential information disclosure. The vulnerability is tracked as CVE-2026-49875 and has a critical severity rating with a CVSS score of 9.8. Users are advised to upgrade to fixed versions 4.2.2, 4.1.7, or 3.6.12 to remediate the issue.

References

Community reviews

Loading reviews…