Apache CXF: XML External Entity (XXE) Injection in W3CMultiSchemaFactory and EndpointReferenceUtils
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 fixed, 5 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache CXF | 4.2.0 to before 4.2.2; 4.0.0 to before 4.1.7; before 3.6.12 | 4.2.2, 4.1.7, 3.6.12 | Patch available | CNA |
| — | org.apache.cxf:cxf-core (Maven) | 4.2.0 to before 4.2.2 | 4.2.2 | Patch available | GHSA-xw5h-cmh3-8j6j |
| — | org.apache.cxf:cxf-core (Maven) | 4.0.0 to before 4.1.7 | 4.1.7 | Patch available | GHSA-xw5h-cmh3-8j6j |
| — | org.apache.cxf:cxf-core (Maven) | before 3.6.12 | 3.6.12 | Patch available | GHSA-xw5h-cmh3-8j6j |
- Apache CXF VendorApache Affected 4.2.0 to before 4.2.2; 4.0.0 to before 4.1.7; before 3.6.12 Fixed in 4.2.2, 4.1.7, 3.6.12 Patch available CNA
- org.apache.cxf:cxf-core (Maven) Vendor— Affected 4.2.0 to before 4.2.2 Fixed in 4.2.2 Patch available GHSA-xw5h-cmh3-8j6j
- org.apache.cxf:cxf-core (Maven) Vendor— Affected 4.0.0 to before 4.1.7 Fixed in 4.1.7 Patch available GHSA-xw5h-cmh3-8j6j
- org.apache.cxf:cxf-core (Maven) Vendor— Affected before 3.6.12 Fixed in 3.6.12 Patch available GHSA-xw5h-cmh3-8j6j
CPE configurations NVD · 14
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* | before 3.6.12; 4.0.0 to before 4.1.7; 4.2.0 to before 4.2.2 | Vulnerable | Apache |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:*:*:*:*:*:*:*:* | 8.1 to before 8.1.8 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* | 10.0 | Running on | Red Hat |
| cpe:2.3:a:redhat:build_of_apache_camel:*:*:*:*:*:quarkus:*:* | before 3.33.2 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_apache_camel:*:*:*:*:*:spring_boot:*:* | before 4.18.1 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_apache_camel:3.33.2:-:*:*:*:quarkus:*:* | 3.33.2 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_apache_camel:3.33.2:update1:*:*:*:quarkus:*:* | 3.33.2 update1 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:build_of_apache_camel:4.18.1:-:*:*:*:spring_boot:*:* | 4.18.1 | Vulnerable | Red Hat |
- cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* Versions before 3.6.12; 4.0.0 to before 4.1.7; 4.2.0 to before 4.2.2 Vulnerable ·Apache
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:*:*:*:*:*:*:*:* Versions 8.1 to before 8.1.8 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Running on ·Red Hat
- cpe:2.3:a:redhat:build_of_apache_camel:*:*:*:*:*:quarkus:*:* Versions before 3.33.2 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_apache_camel:*:*:*:*:*:spring_boot:*:* Versions before 4.18.1 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_apache_camel:3.33.2:-:*:*:*:quarkus:*:* Versions 3.33.2 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_apache_camel:3.33.2:update1:*:*:*:quarkus:*:* Versions 3.33.2 update1 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_apache_camel:4.18.1:-:*:*:*:spring_boot:*:* Versions 4.18.1 Vulnerable ·Red Hat
Show 4 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:fuse:7.0.0:*:*:*:*:*:*:* | 7.0.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_web_server:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:fuse:7.0.0:*:*:*:*:*:*:* Versions 7.0.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_web_server:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Remediation
- Fix · CNA Apache CXF (Apache Software Foundation) Fixed in 4.2.2, 4.1.7, 3.6.12
- Fix · GHSA-xw5h-cmh3-8j6j org.apache.cxf:cxf-core (Maven) Fixed in 4.2.2 Advisory →
- Fix · GHSA-xw5h-cmh3-8j6j org.apache.cxf:cxf-core (Maven) Fixed in 4.1.7 Advisory →
- Fix · GHSA-xw5h-cmh3-8j6j org.apache.cxf:cxf-core (Maven) Fixed in 3.6.12 Advisory →
Red Hat 6 advisories
- RHSA-2026:70277 Released 2026-09-22 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 8.1.8 security update
- Red Hat JBoss Enterprise Application Platform 8.1.8.GA com.fasterxml.jackson.core.jackson-core-2.18.9.redhat-00003.jar, com.fasterxml.jackson.core.jackson-databind-2.18.9.redhat-00003.jar, io.netty.netty-codec-4.1.136.Final-redhat-00001.jar +17
- RHSA-2026:70230 Released 2026-09-22 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 8.1.8 security update
- Red Hat JBoss EAP 8.1 for RHEL 10 eap8-activemq-artemis-2.40.0-8.redhat_00024.1.el10eap, eap8-activemq-artemis-cli-2.40.0-8.redhat_00024.1.el10eap, eap8-activemq-artemis-commons-2.40.0-8.redhat_00024.1.el10eap +47
- RHSA-2026:70228 Released 2026-09-22 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 8.1.8 security update
- Red Hat JBoss EAP 8.1 for RHEL 8 eap8-activemq-artemis-2.40.0-8.redhat_00024.1.el8eap, eap8-activemq-artemis-cli-2.40.0-8.redhat_00024.1.el8eap, eap8-activemq-artemis-commons-2.40.0-8.redhat_00024.1.el8eap +47
Show 3 more Red Hat advisories
- RHSA-2026:70229 Released 2026-09-22 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 8.1.8 security update
- Red Hat JBoss EAP 8.1 for RHEL 9 eap8-activemq-artemis-2.40.0-8.redhat_00024.1.el9eap, eap8-activemq-artemis-cli-2.40.0-8.redhat_00024.1.el9eap, eap8-activemq-artemis-commons-2.40.0-8.redhat_00024.1.el9eap +47
- RHSA-2026:37390 Released 2026-07-09 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.18.1.P1 for Spring Boot release.
- Red Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16
- RHSA-2026:36839 Released 2026-07-08 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.18 for Quarkus 3.33 update is now available (RHBQ 3.33.2.SP2)
- Red Hat Build of Apache Camel 3.33.2.SP2 com.fasterxml.jackson.core.jackson-databind-2.21.4.redhat-00002.jar, io.micrometer.micrometer-core-1.16.6.redhat-00001.jar, org.apache.cxf.cxf-core-4.1.7.rhbac-redhat-00003.jar
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache CXF 3.6.12, 4.1.7, 4.2.2
11 records Highest priority Priority MEDIUM 3 MEDIUM, 8 LOW
Other records, highest priority first
- TI-2026-37318 Apache CXF: OAuth2: Inverted IP Binding Check Defeats Security ControlPriority MEDIUM 50
- TI-2026-37317 Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token ValidatorPriority MEDIUM 48
- TI-2026-37334 Apache CXF: No restriction on attachment headers per messagePriority LOW 39
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Web Server 5 | Affected | No fix yet: Fix deferred |
| Red Hat Single Sign-On 7 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel 4 for Quarkus 3 | Affected | No fix yet |
| Red Hat Build of Apache Camel 3.33.2.SP2 | Fixed | RHSA-2026:36839 |
| Red Hat JBoss EAP 8.1 for RHEL 10 | Fixed | RHSA-2026:70230 |
| Red Hat JBoss EAP 8.1 for RHEL 8 | Fixed | RHSA-2026:70228 |
| Red Hat JBoss EAP 8.1 for RHEL 9 | Fixed | RHSA-2026:70229 |
| Red Hat JBoss Enterprise Application Platform 8.1.8.GA | Fixed | RHSA-2026:70277 |
| Red Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16 | Fixed | RHSA-2026:37390 |
Not affected: 3 products
- Red Hat Build of Apache Camel 3.33.2.SP2
- Red Hat JBoss Enterprise Application Platform 8.1.8.GA
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49875
- 2026-10-03 Alias added: GHSA-xw5h-cmh3-8j6j
- 2026-10-09 Fix available: RHSA-2026:36839 · Red Hat
- 2026-10-09 Fix available: RHSA-2026:70277 · Red Hat
- 2026-10-13 Fix available: Red Hat Build of Apache Camel 4.18 for Quarkus 3.33, Red Hat JBoss Enterprise Application Platform 8.1 · Red Hat
- 2026-10-18 Fix available: Red Hat Build of Apache Camel 3.33.2.SP2 · Red Hat
- 2026-10-21 Fix available: Red Hat JBoss Enterprise Application Platform 8.1.8.GA · Red Hat
- 2026-10-25 EPSS moved to the below the 50th percentile
References
Advisory 8
- https://lists.apache.org/thread/3kb9w5bg90xcp06fccoz9k3gpsvyy79o
- https://nvd.nist.gov/vuln/detail/CVE-2026-49875
- https://access.redhat.com/errata/RHSA-2026:36839
- https://access.redhat.com/errata/RHSA-2026:37390
- https://access.redhat.com/security/cve/CVE-2026-49875
- https://bugzilla.redhat.com/show_bug.cgi?id=2488309
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49875.json
- http://www.openwall.com/lists/oss-security/2026/06/11/2
More Apache Cxf vulnerabilities
- TI-2019-09264 Incorrect authorization in Apache CXF CVSS 3.1CRITICAL 9.8
- TI-2020-10930 Apache CXF Reflected XSS in the services listing page via the styleSheetPath CVSS 3.1MEDIUM 6.1
- TI-2010-01990 Apache CXF 2.0.x before 2.0.13, 2.1.x before 2.1.10, and 2.2.x before 2.2.9, as used in… CVSS 3.1CRITICAL 9.8
- TI-2022-22907 Apache CXF SSRF Vulnerability CVSS 3.1CRITICAL 9.8
- TI-2026-47481 Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage CVSS 3.1CRITICAL 9.8
- TI-2025-31053 Apache CXF: Untrusted JMS configuration can lead to RCE CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-49875 · CVE Program
- CVE-2026-49875 · NVD
- FIRST EPSS
- GHSA-xw5h-cmh3-8j6j · GitHub Advisory Database · CC BY 4.0
- CVE-2026-49875 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences