Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator
Summary
| CVE | CVE-2026-50627 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-12 10:16:22 UTC |
| Updated | 2026-06-12 13:08:47 UTC |
| 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, which fixes this issue. |
Risk And Classification
Problem Types: CWE-289 | CWE-289 CWE-289 Authentication Bypass by Alternate Name
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache CXF | affected 4.2.0 4.2.2 semver | Not specified |
| CNA | Apache Software Foundation | Apache CXF | affected 4.1.7 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.openwall.com/lists/oss-security/2026/06/11/4 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| lists.apache.org/thread/0jfzz9q992957b99tw7hodcqjfyxwb1m | [email protected] | lists.apache.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Guanping Zhang reported this vulnerability. (en)
There are currently no legacy QID mappings associated with this CVE.