CVE-2026-50627
published critical CVSS 3.1 · 9.1Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.cxf:cxf-rt-rs-security-oauth2Apache CXF · 4.2.0 to < 4.2.2 · 4.0.0 to < 4.1.7 · 0 to < 3.6.12 · Other versions: unaffected | Affected | Not stated | apache |
| Red Hat | — | cxf-rt-rsRed Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16 · security-oauth2 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | cxf-rt-rs-securityRed Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16 · oauth2-saml and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | cxf-rt-rs-security-oauth2Red Hat Fuse 7 | Affected | Not stated | redhat-SADP |
| Red Hat | — | cxf-rt-rs-security-oauth2-samlRed Hat Fuse 7 | Affected | Not stated | redhat-SADP |
| Red Hat | — | cxf-rt-rs-security-oauth2Red Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | cxf-rt-rs-security-oauth2-samlRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | cxf-rt-rs-security-oauth2Red Hat JBoss Web Server 5 | Affected | Not stated | redhat-SADP |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | cxf-rt-rs-security-oauth2-samlRed Hat JBoss Web Server 5 | Affected | Not stated | redhat-SADP |
Description
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.
A flaw was found in Apache CXF. The `JwtAccessTokenValidator` class fails to properly validate the 'aud' (Audience) claims within incoming JSON Web Token (JWT) access tokens. This vulnerability allows an attacker to reuse a JWT, originally intended for one resource server, against a different resource server. This can lead to token confusion and routing attacks, potentially granting unauthorized access or information disclosure.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache CXF | 4.2.0 to < 4.2.2 (affected · semver)4.0.0 to < 4.1.7 (affected · semver)0 to < 3.6.12 (affected · semver)Default: unaffected | apache · cna |
| Red Hat | Red Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16 | security-oauth2 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16 | oauth2-saml and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Web Server 5 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Web Server 5 | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-289 CWE-289 Authentication Bypass by Alternate Name
- CWE-303 Incorrect Implementation of Authentication Algorithm
References
6- http://www.openwall.com/lists/oss-security/2026/06/11/4
- https://access.redhat.com/errata/RHSA-2026:37390
- https://access.redhat.com/security/cve/CVE-2026-50627
- RHBZ#2488298 https://bugzilla.redhat.com/show_bug.cgi?id=2488298
- https://lists.apache.org/thread/0jfzz9q992957b99tw7hodcqjfyxwb1m
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50627.json
Provider assertions
4apache · cna
Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator
redhat-SADP · adp
apache-cxf: org.apache.cxf/cxf-rt-rs-security-oauth2: Apache CXF: Token Confusion/Routing attacks due to improper validation of JWT audience claims
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6ee2f23c5a3184dfd70694d2d27e92c7e80bbcf486c319a6320fe8f5f4fbe8be
- Ingested
- 23 Sep 2026, 09:18:57 UTC
- Source record
- Official CVE record