CVE-2026-50627

Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator

State
Published
Severity
9.1 Critical
Published
Jun 12, 2026
Updated
Aug 10, 2026
Reserved
Jun 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HCISA-ADP
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Nredhat-SADP

Weaknesses

  • CWE-289 Authentication Bypass by Alternate Name
  • CWE-303 Incorrect Implementation of Authentication Algorithm

Affected Products

ProductVersions
Apache CXFApache Software Foundation
  • 4.2.0 to before 4.2.2Affected
  • 4.0.0 to before 4.1.7Affected
  • before 3.6.12Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.