CVE-2026-50627
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.
How to fix
- apache cxf4.1.7, 4.2.2, 3.6.12 or later
- org.apache.cxf:cxf-rt-rs-security-oauth24.2.2, 4.1.7 or later
- redhat build_of_apache_camel4.18.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache cxf | v < 4.1.7, 4.2.0 ≤ v < 4.2.2, v < 3.6.12, 4.0.0 ≤ v < 4.1.7 | 4.1.7, 4.2.2, 3.6.12 |
| org.apache.cxf:cxf-rt-rs-security-oauth2Maven | 4.2.0 ≤ v < 4.2.2, v < 4.1.7 | 4.2.2, 4.1.7 |
| redhat build_of_apache_camel | v < 4.18.1, 4.18.1 | 4.18.1 |
| redhat fuse | 7.0.0 | — |
| redhat jboss_web_server | 5.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.