9.1critical
Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 4.12% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-9mrv-8pvf-hf4m
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.cxf:cxf-rt-rs-security-oauth2 | from 4.2.0 before 4.2.2, from 4.0.0 before 4.1.7, before 3.6.12 | CVE List |
| cxf-rt-rs | Not specified Not affected: from security-oauth2 before * | CVE List |
| cxf-rt-rs-security | Not specified Not affected: from oauth2-saml before * | CVE List |
| cxf-rt-rs-security-oauth2 | Not specified | CVE List |
| cxf-rt-rs-security-oauth2-saml | Not specified | CVE List |
| org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) | from 4.2.0 before 4.2.2, before 4.1.7 | GitHub Advisory Database |
| apache cxf | before 3.6.12, from 4.0.0 before 4.1.7, from 4.2.0 before 4.2.2 | NVD |
| redhat build_of_apache_camel | before 4.18.1, 4.18.1 | NVD |
| redhat fuse | 7.0.0 | NVD |
| redhat jboss_web_server | 5.0 | NVD |
All scores
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| redhat-SADP | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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, which fixes this issue.
NVD (es)
La clase JwtAccessTokenValidator en Apache CXF no valida las reclamaciones ’aud’ (Audiencia) de los tokens de acceso JWT entrantes. Esto permite que un JWT emitido para un Servidor de Recursos sea reproducido con éxito contra un Servidor de Recursos completamente diferente, lo que lleva a ataques de Confusión/Enrutamiento de Tokens. Se recomienda a los usuarios actualizar a las versiones 4.2.2 o 4.1.7, que corrige este problema.
References
| https://lists.apache.org/thread/0jfzz9q992957b99tw7hodcqjfyxwb1m | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/06/11/4 | mailing-list, third-party-advisory, web | |
| https://access.redhat.com/security/cve/CVE-2026-50627 | third-party-advisory, vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2488298 | issue-tracking, third-party-advisory, web | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50627.json | third-party-advisory, web | |
| https://access.redhat.com/errata/RHSA-2026:37390 | third-party-advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-50627 | advisory | |
| https://github.com/apache/cxf | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-50627 changed 2026-08-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9mrv-8pvf-hf4m changed 2026-08-20 | CC-BY-4.0 |
| NVD | CVE-2026-50627 changed 2026-11-05 | Public domain |