Vulnerability · Published Jun 12, 2026 · Assigned by apache
CVE-2026-50627Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator
Critical 9.1
In plain English
A critical-severity security flaw in Apache CXF from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.6% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | 4.2.2 | GHSA-9mrv-8pvf-hf4m |
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | 4.1.7 | GHSA-9mrv-8pvf-hf4m |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache CXF | 4.2.0 – before 4.2.24.0.0 – before 4.1.70 – before 3.6.12 |
Weakness: CWE-289, CWE-303 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
- https://lists.apache.org/thread/0jfzz9q992957b99tw7hodcqjfyxwb1m vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/06/11/4
- https://access.redhat.com/security/cve/CVE-2026-50627 vdb-entry, x_refsource_REDHAT
- RHBZ#2488298 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50627.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:37390 vendor-advisory, x_refsource_REDHAT