CVE-2026-50631

High

Description

A race condition in AbstractOAuthDataProvider allows concurrent requests using the same Refresh Token to bypass single-use semantics and generate multiple valid Access Tokens, when 'recycleRefreshTokens' is set to false. A leaked refresh token can be replayed concurrently by multiple attackers or threads. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fixes this issue.

SeverityHigh
CVSS7.4
Exploit probability—
ProductApache Cxf
PublishedJun 12, 2026
First seenJun 12, 2026
Weakness typeCWE-367CWE-367

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

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

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.