CVE-2026-50627

Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator

Published Jun 12, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The JwtAccessTokenValidator in Apache CXF fails to validate the ‘aud’ claim of incoming JWTs, allowing a token issued for one resource server to be replayed against another. This token confusion can grant an attacker access to resources they are not authorized to use, compromising confidentiality and integrity on the victim server. The weakness is a flaw in authentication, identified as CWE‑289.

Affected Systems

Apache CXF versions prior to 4.1.7 and 4.2.2 are affected. Users should ensure they are running at least 4.1.7 for the 4.1 series or 4.2.2 for the 4.2 series, which contain the fix.

Risk and Exploitability

The vulnerability is exploitable over the network, requiring only a valid but misissued JWT to be sent in a request. The EPSS score of <1% indicates a very low but non‑zero likelihood of exploitation, and the lack of a KEV listing suggests it has not yet been widely exploited, but the impact is high if used. The CVSS score of 9.1 confirms a critical severity. Attackers can remotely use the flaw to bypass authorization without additional credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache CXF to version 4.2.2, 4.1.7, or 3.6.12, whichever applies.
  • Verify that JWT audience and issuer validation is enabled in the application configuration.
  • Monitor application logs for unusual JWT usage and enforce additional access controls.

Generated by OpenCVE AI on November 26, 2026 at 07:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9mrv-8pvf-hf4m Apache CXF OAuth2 Missing JWT Audience and Issuer Validation in Access Token Validator
History
Type Values Removed Values Added
First Time appeared Redhat
Redhat build Of Apache Camel
Redhat fuse
Redhat jboss Web Server
CPEs cpe:2.3:a:redhat:build_of_apache_camel:*:*:*:*:*:spring_boot:*:*
cpe:2.3:a:redhat:build_of_apache_camel:4.18.1:-:*:*:*:spring_boot:*:*
cpe:2.3:a:redhat:fuse:7.0.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:jboss_web_server:5.0:*:*:*:*:*:*:*
Vendors & Products Redhat
Redhat build Of Apache Camel
Redhat fuse
Redhat jboss Web Server
Type Values Removed Values Added
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. 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.
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Apache
Apache cxf
Vendors & Products Apache
Apache cxf
Type Values Removed Values Added
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.
Title Apache CXF: OAuth2: Missing JWT Audience and Issuer Validation in Access Token Validator
Weaknesses CWE-289
References
Weaknesses
  • CWE-289

    Authentication Bypass by Alternate Name

  • CWE-303

    Incorrect Implementation of Authentication Algorithm

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 10, 2026, 12:05 PM
Reserved
Jun 5, 2026, 10:36 AM
Status
Analyzed
Published
Jun 12, 2026, 10:16 AM
Modified
Nov 5, 2026, 4:04 PM
Severity
Important
Public date
Jun 12, 2026, 8:55 AM