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.
Problem types
CWE-289 Authentication Bypass by Alternate Name
Product status
4.2.0 (semver) before 4.2.2
Any version before 4.1.7
Credits
Guanping Zhang reported this vulnerability.
References
www.openwall.com/lists/oss-security/2026/06/11/4
lists.apache.org/thread/0jfzz9q992957b99tw7hodcqjfyxwb1m