CVE-2026-50627

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductApache Cxf
PublishedJun 12, 2026
First seenJun 12, 2026
Weakness typeCWE-289CWE-289

How to fix

Update
  • 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

ProductAffected versionsFixed in
apache cxfv < 4.1.7, 4.2.0 ≤ v < 4.2.2, v < 3.6.12, 4.0.0 ≤ v < 4.1.74.1.7, 4.2.2, 3.6.12
org.apache.cxf:cxf-rt-rs-security-oauth2Maven4.2.0 ≤ v < 4.2.2, v < 4.1.74.2.2, 4.1.7
redhat build_of_apache_camelv < 4.18.1, 4.18.14.18.1
redhat fuse7.0.0—
redhat jboss_web_server5.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.