Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-50627 EUVD-2026-36395GHSA-9mrv-8pvf-hf4m

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

Published Jun 12, 2026 · Updated Aug 10, 2026 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache CXF 4.2.0 – < 4.2.2, 4.0.0 – < 4.1.7, < 3.6.12 4.2.2

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2 4.2.2 GHSA-9mrv-8pvf-hf4m
Maven org.apache.cxf:cxf-rt-rs-security-oauth2 < 4.1.7 4.1.7 GHSA-9mrv-8pvf-hf4m

Advisories 1

References