Critical

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

  • Disclosed: 12.06.2026
  • Updated: 11.10.2026 12:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2, < 4.1.7 4.2.2, 4.1.7

References

CVSS score 9.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-289, CWE-303
Platform
Java / Kotlin (Maven)
Package
org.apache.cxf:cxf-rt-rs-security-oauth2
Disclosed
12.06.2026
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-9mrv-8pvf-hf4m - CC BY 4.0

Vulnerability history: org.apache.cxf:cxf-rt-rs-security-oauth2

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
06.2026 06.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 2
  • Medium 2

Disclosures per year

  1. 2026: 6
  1. Medium · 6.5 CVE-2026-50623 >= 4.2.0, < 4.2.2, < 4.1.7 4.2.2, 4.1.7
  2. High · 8.2 CVE-2026-50629 >= 4.2.0, < 4.2.2, < 4.1.7 4.2.2, 4.1.7
  3. Critical · 9.8 CVE-2026-50628 >= 4.2.0, < 4.2.2, < 4.1.7 4.2.2, 4.1.7
  4. High · 7.4 CVE-2026-50631 >= 4.2.0, < 4.2.2, < 4.1.7 4.2.2, 4.1.7
  5. Apache CXF OAuth2 Missing JWT Audience and Issuer Validation in Access Token Validator this entry
    Critical · 9.1 CVE-2026-50627 >= 4.2.0, < 4.2.2, < 4.1.7 4.2.2, 4.1.7
  6. Medium · 6.5 CVE-2026-50630 >= 4.2.0, < 4.2.2, < 4.1.7 4.2.2, 4.1.7

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.