CyberSecBulletin
CVE-2026-49875NVD status: Analyzed

Apache CXF: Improper Restriction of XML External Entity Reference

CVE-2026-49875 is a critical-severity improper restriction of XML external entity reference vulnerability in Apache CXF from Apache, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 4.2.2, 4.1.7, 3.6.12 as the first without the flaw, so updating Apache CXF to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.53% chance of exploitation within 30 days, which is low compared with other CVEs.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. Update Apache CXF to 4.2.2 or 4.1.7 or 3.6.12, whichever matches your release line, or a later version.
  2. Update Cxf to 3.6.12 or 4.1.7 or 4.2.2, whichever matches your release line, or a later version.
  3. Update Jboss Enterprise Application Platform to 8.1.8 or a later version.
  4. Read the advisory on lists.apache.org for workarounds and exact fixed builds.
  5. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
ApacheApache CXF4.2.0 up to, but not including, 4.2.2; 4.0.0 up to, but not including, 4.1.7; before 3.6.124.2.2, 4.1.7, 3.6.12
Red HatRed Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16Not specified in the recordNot stated
Red HatRed Hat Build of Apache Camel 4.18 for Quarkus 3.33Not specified in the recordNot stated
Red HatRed Hat build of Apache Camel 4 for Quarkus 3Not specified in the recordNot stated
Red HatRed Hat Fuse 7Not specified in the recordNot stated
Red HatRed Hat JBoss Enterprise Application Platform 7Not specified in the recordNot stated
Red HatRed Hat JBoss Enterprise Application Platform 8Not specified in the recordNot stated
Red HatRed Hat JBoss Enterprise Application Platform Expansion PackNot specified in the recordNot stated
Red HatRed Hat JBoss Web Server 5Not specified in the recordNot stated
Red HatRed Hat Single Sign-On 7Not specified in the recordNot stated
ApacheCxfbefore 3.6.12; 4.0.0 up to, but not including, 4.1.7; 4.2.0 up to, but not including, 4.2.23.6.12, 4.1.7, 4.2.2
Red HatJboss Enterprise Application Platform8.1 up to, but not including, 8.1.8; 7.08.1.8
Red HatBuild Of Apache Camelbefore 3.33.2; before 4.18.1; 3.33.2; 4.18.13.33.2, 4.18.1
Red HatFuse7.0.0Not stated
Red HatJboss Web Server5.0Not stated
Red HatSingle Sign-on7.0Not stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.19.8CriticalNVD
CVSS 3.16.5MediumCISA (ADP)
CVSS 3.17.5HighCNA

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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Restriction of XML External Entity Reference

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

How developers prevent this class of flaw

  • Many XML parsers and validators can be configured to disable external entity expansion.

More Improper Restriction of XML External Entity Reference vulnerabilities (CWE-611)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Other vulnerabilities in Apache CXF

All Apache CXF vulnerabilities

Recent Improper Restriction of XML External Entity Reference vulnerabilities

Spotted an error? Tell us.