CVE-2026-50627: Apache CXF OAuth2 Missing JWT Audience and Issuer Validation in Access Token Validator
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.
Published Jun 12, 2026 · Updated Aug 20, 2026
Affected packages
org.apache.cxf:cxf-rt-rs-security-oauth2
- Ecosystem
- Maven
- Affected
- >= 4.2.0, < 4.2.2
- Fixed in
- 4.2.2
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-rt-rs-security-oauth2
org.apache.cxf:cxf-rt-rs-security-oauth2
- Ecosystem
- Maven
- Affected
- < 4.1.7
- Fixed in
- 4.1.7
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-rt-rs-security-oauth2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- https://nvd.nist.gov/vuln/detail/CVE-2026-50627
- https://lists.apache.org/thread/0jfzz9q992957b99tw7hodcqjfyxwb1m
- https://access.redhat.com/security/cve/CVE-2026-50627
- https://bugzilla.redhat.com/show_bug.cgi?id=2488298
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50627.json
- https://access.redhat.com/errata/RHSA-2026:37390
- https://github.com/advisories/GHSA-9mrv-8pvf-hf4m
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
