Vulnerabilities / CVE-2026-50627

critical

CVE-2026-50627

apache-cxf: org.apache.cxf/cxf-rt-rs-security-oauth2: Apache CXF: Token Confusion/Routing attacks due to improper validation of JWT audience claims

Published Modified CWE 289, 303
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
GHSA9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Red Hat8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).

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 and fixed versions

SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.apache.cxf:cxf-rt-rs-security-oauth24.2.2, 4.1.7
Red Hatcxf-rt-rs-security-oauth2, cxf-rt-rs-security-oauth2-samlno fix listed
seal maven::Seal Security Databaseorg.apache.cxf:cxf-bundle, org.apache.cxf:cxf-rt-rs-security-oauth2, seal.sp1.org.apache.cxf:cxf-rt-rs-security-oauth2 and 2 more2.7.18+sp999 and 1 more
Show all 8 entries from 3 sources
SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.apache.cxf:cxf-rt-rs-security-oauth24.2.2, 4.1.7
Red Hatcxf-rt-rs-security-oauth2no fix listed
Red Hatcxf-rt-rs-security-oauth2-samlno fix listed
seal maven::Seal Security Databaseorg.apache.cxf:cxf-bundle2.7.18+sp999
seal maven::Seal Security Databaseorg.apache.cxf:cxf-rt-rs-security-oauth23.5.11+sp999
seal maven::Seal Security Databaseseal.sp1.org.apache.cxf:cxf-rt-rs-security-oauth23.5.11+sp999
seal maven::Seal Security Databaseseal.sp1p1.org.apache.cxf:cxf-bundle2.7.18+sp999
seal maven::Seal Security Databaseseal.sp2.org.apache.cxf:cxf-rt-rs-security-oauth23.5.11+sp999

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.