Skip to main content
EPSS 0.4%top 62%

CVE-2026-50627: CWE-289 Authentication Bypass by Alternate Name in Apache Software Foundation Apache CXF

0
Critical
Published: 06/12/2026 (06/12/2026, 08:55:41 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected software

Apache Software Foundation

Apache CXF

Affected versions
>=4.2.0 <4.2.2>=4.0.0 <4.1.7>=0 <3.6.12
Apache Software Foundation/org.apache.cxf:cxf-rt-rs-security-oauth2
pkg:maven/Apache Software Foundation/org.apache.cxf:cxf-rt-rs-security-oauth2
Affected versions
>=4.2.0 <4.2.2>=4.0.0 <4.1.7>=0 <3.6.12

Run 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

AILast updated: 08/14/2026, 15:39:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses