CVE-2026-50627
JSON

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 packageVersionsReported by
org.apache.cxf:cxf-rt-rs-security-oauth2from 4.2.0 before 4.2.2, from 4.0.0 before 4.1.7, before 3.6.12CVE List
cxf-rt-rsNot specified
Not affected: from security-oauth2 before *
CVE List
cxf-rt-rs-securityNot specified
Not affected: from oauth2-saml before *
CVE List
cxf-rt-rs-security-oauth2Not specifiedCVE List
cxf-rt-rs-security-oauth2-samlNot specifiedCVE List
org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven)from 4.2.0 before 4.2.2, before 4.1.7GitHub Advisory Database
apache cxfbefore 3.6.12, from 4.0.0 before 4.1.7, from 4.2.0 before 4.2.2NVD
redhat build_of_apache_camelbefore 4.18.1, 4.18.1NVD
redhat fuse7.0.0NVD
redhat jboss_web_server5.0NVD

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
redhat-SADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Classification

CWE-289CWE-303

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

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

Sources

SourceRecordLicence
CVE ListCVE-2026-50627 changed 2026-08-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-9mrv-8pvf-hf4m changed 2026-08-20CC-BY-4.0
NVDCVE-2026-50627 changed 2026-11-05Public domain