NetSight
high7.4

CVE-2026-50631

A race condition in AbstractOAuthDataProvider allows concurrent requests using the same Refresh Token to bypass single-use semantics and generate multiple vali…

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.apache.cxf:cxf-rt-rs-security-oauth2>= 4.2.0, < 4.2.24.2.2

Affected products

VendorProductAffected versions
ApacheCxf
before 4.1.7
from 4.2.0 before 4.2.2

Weakness classification

References