Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.
Summary
The JwtAccessTokenValidator class in Apache CXF fails to validate the 'aud' (Audience) claims of incoming JWT access tokens. This allows a JWT issued for one Resource Server to be successfully replayed against a completely different Resource Server, leading to Token Confusion/Routing attacks. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fixes this issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
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-rt-rs-security-oauth2 (Maven) | 4.2.0 to before 4.2.2 | 4.2.2 | Patch available | GHSA-9mrv-8pvf-hf4m |
| — | org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) | before 4.1.7 | 4.1.7 | Patch available | GHSA-9mrv-8pvf-hf4m |
- 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-rt-rs-security-oauth2 (Maven) Vendor— Affected 4.2.0 to before 4.2.2 Fixed in 4.2.2 Patch available GHSA-9mrv-8pvf-hf4m
- org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) Vendor— Affected before 4.1.7 Fixed in 4.1.7 Patch available GHSA-9mrv-8pvf-hf4m
CPE configurations NVD · 5
| 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:build_of_apache_camel:*:*:*:*:*:spring_boot:*:* | before 4.18.1 | 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:redhat:fuse:7.0.0:*:*:*:*:*:*:* | 7.0.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_web_server:5.0:*:*:*:*:*:*:* | 5.0 | 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:build_of_apache_camel:*:*:*:*:*:spring_boot:*:* Versions before 4.18.1 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:build_of_apache_camel:4.18.1:-:*:*:*:spring_boot:*:* Versions 4.18.1 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_web_server:5.0:*:*:*:*:*:*:* Versions 5.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-9mrv-8pvf-hf4m org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) Fixed in 4.2.2 Advisory →
- Fix · GHSA-9mrv-8pvf-hf4m org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) Fixed in 4.1.7 Advisory →
Red Hat 1 advisory
- 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
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-36773 Apache CXF: XML External Entity (XXE) Injection in W3CMultiSchemaFactory and EndpointReferenceUtilsPriority MEDIUM 43
- 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 Web Server 5 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16 | Fixed | RHSA-2026:37390 |
Not affected: 1 product
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2026-50627
- 2026-10-03 Alias added: GHSA-9mrv-8pvf-hf4m
- 2026-10-25 EPSS moved to the 90th–95th percentile
References
Advisory 7
- https://lists.apache.org/thread/0jfzz9q992957b99tw7hodcqjfyxwb1m
- https://nvd.nist.gov/vuln/detail/CVE-2026-50627
- https://access.redhat.com/errata/RHSA-2026:37390
- https://access.redhat.com/security/cve/CVE-2026-50627
- https://bugzilla.redhat.com/show_bug.cgi?id=2488298
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50627.json
- http://www.openwall.com/lists/oss-security/2026/06/11/4
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-50627 · CVE Program
- CVE-2026-50627 · NVD
- FIRST EPSS
- GHSA-9mrv-8pvf-hf4m · GitHub Advisory Database · CC BY 4.0
- CVE-2026-50627 · 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