CRITICAL 9.1

CVE-2026-50627

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

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.cxf » cxf-rt-rs-security-oauth2
< 4.1.7>= 4.2.0, < 4.2.2
4.1.7, 4.2.2

Blast radius

1affected artifacts
957affected versions
622dependent artifacts (est.)
17,978dependent versions

28% of the dependent artifacts (179) still pull an affected version in their latest release.

DepthDependent versions
Direct
5,317
2 hops
5,886
3 hops
4,121
4 hops
1,226
5 hops
724
6 hops
704

Most used dependents

Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webaccess.redhat.com
Webaccess.redhat.com
Webbugzilla.redhat.com
Weblists.apache.org
Websecurity.access.redhat.com
Webopenwall.com