CVE-2026-50627: CWE-289 Authentication Bypass by Alternate Name in Apache Software Foundation Apache CXF
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.
AI Analysis
Technical Summary
The JwtAccessTokenValidator class in Apache CXF does not properly validate the 'aud' (Audience) claim in incoming JWT access tokens. This flaw allows an attacker possessing a valid JWT for one resource server to replay that token against a different resource server, leading to token confusion and routing attacks. Such attacks can result in unauthorized access to protected resources with full read/write capabilities across trust boundaries. The vulnerability affects Apache CXF versions including 4.0.0, 4.2.0, and versions prior to 4.1.7 and 4.2.2. The issue is tracked as CVE-2026-50627 with a CVSS v3.1 score of 9.1 (critical). Red Hat's advisory confirms the vulnerability and rates it as Important, emphasizing that no practical mitigation other than upgrading is currently available.
Potential Impact
This vulnerability allows attackers who possess a valid JWT for one resource server to bypass authentication controls on other resource servers using Apache CXF's JwtAccessTokenValidator. This leads to unauthorized access and potential full read/write operations across trust boundaries. The impact includes confidentiality, integrity, and availability risks as indicated by the CVSS score. The flaw undermines the authentication mechanism by failing to enforce audience claim validation, which is critical for ensuring tokens are used only by intended recipients.
Mitigation Recommendations
A fix is available in Apache CXF versions 4.2.2, 4.1.7, and 3.6.12. Users should upgrade to these versions to remediate the vulnerability. According to the Red Hat advisory, no effective mitigation other than upgrading is currently available or meets their criteria for ease of use and stability. Therefore, applying the official patch is the recommended remediation.
CVE-2026-50627: CWE-289 Authentication Bypass by Alternate Name in Apache Software Foundation Apache CXF
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.
CVSS v3.1
Score 9.1critical
Affected software
Apache Software Foundation
Apache CXF
pkg:maven/Apache Software Foundation/org.apache.cxf:cxf-rt-rs-security-oauth2Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The JwtAccessTokenValidator class in Apache CXF does not properly validate the 'aud' (Audience) claim in incoming JWT access tokens. This flaw allows an attacker possessing a valid JWT for one resource server to replay that token against a different resource server, leading to token confusion and routing attacks. Such attacks can result in unauthorized access to protected resources with full read/write capabilities across trust boundaries. The vulnerability affects Apache CXF versions including 4.0.0, 4.2.0, and versions prior to 4.1.7 and 4.2.2. The issue is tracked as CVE-2026-50627 with a CVSS v3.1 score of 9.1 (critical). Red Hat's advisory confirms the vulnerability and rates it as Important, emphasizing that no practical mitigation other than upgrading is currently available.
Potential Impact
This vulnerability allows attackers who possess a valid JWT for one resource server to bypass authentication controls on other resource servers using Apache CXF's JwtAccessTokenValidator. This leads to unauthorized access and potential full read/write operations across trust boundaries. The impact includes confidentiality, integrity, and availability risks as indicated by the CVSS score. The flaw undermines the authentication mechanism by failing to enforce audience claim validation, which is critical for ensuring tokens are used only by intended recipients.
Mitigation Recommendations
A fix is available in Apache CXF versions 4.2.2, 4.1.7, and 3.6.12. Users should upgrade to these versions to remediate the vulnerability. According to the Red Hat advisory, no effective mitigation other than upgrading is currently available or meets their criteria for ease of use and stability. Therefore, applying the official patch is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-06-05T10:36:46.172Z
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-50627","vendor":"Red Hat"}]
Threat ID: 6a2bd75be617e2d83448bfae
Added to database: 06/12/2026, 09:54:35 UTC
Last enriched: 08/14/2026, 15:39:54 UTC
Last updated: 09/13/2026, 22:01:35 UTC
Views: 89
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.