CVE-2026-50631
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.
How to fix
- 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
| Product | Affected versions | Fixed in |
|---|---|---|
| apache cxf | v < 4.1.7, 4.2.0 ≤ v < 4.2.2, v < 3.6.12, 4.0.0 ≤ v < 4.1.7 | 4.1.7, 4.2.2, 3.6.12 |
| org.apache.cxf:cxf-rt-rs-security-oauth2Maven | 4.2.0 ≤ v < 4.2.2, v < 4.1.7 | 4.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.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.