---
id: CVE-2026-50627
title: >-
  The JwtAccessTokenValidator class in Apache CXF fails to validate the 'aud'
  (Audience) claims of incoming JWT access tokens
summary: >-
  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
  Reso…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-289
  - CWE-303
vendor: apache
product: cxf
affected:
  - cxf < 4.1.7
  - 'cxf >= 4.2.0, < 4.2.2'
patched:
  - cxf 4.2.2
published: '2026-06-12'
updated: '2026-08-07'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-50627'
references:
  - url: 'https://lists.apache.org/thread/0jfzz9q992957b99tw7hodcqjfyxwb1m'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/06/11/4'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2026:37390'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-50627'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2488298'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50627.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
epss: 0.00776
epssPercentile: 0.53906
ingestedAt: '2026-08-07T14:14:17.240Z'
---

## Overview

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.

## Affected

- `cxf < 4.1.7`
- `cxf >= 4.2.0, < 4.2.2`

## Remediation

Upgrade past the affected range:

- `cxf 4.2.2`
