~ / search / GHSA-9mrv-8pvf-hf4m

GHSA-9mrv-8pvf-hf4m

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

Source: GitHub Advisory Database (reviewed) Critical CVE-2026-50627

Packages

EcosystemPackageAffectedFixed in
Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2 4.2.2
Maven org.apache.cxf:cxf-rt-rs-security-oauth2 < 4.1.7 4.1.7

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.