CVE-2026-50631
Apache CXF: OAuth2: TOCTOU Race Condition in Refresh Token Processing
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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, which fixes this issue.
| CWE | CWE-367 |
| Vendor | apache software foundation |
| Product | apache cxf |
| Published | Jun 12, 2026 |
| Last Updated | Jun 12, 2026 |
Stay Ahead of the Next One
Get instant alerts for apache software foundation apache cxf
Be the first to know when new unknown vulnerabilities affecting apache software foundation apache cxf are published β delivered to Slack, Telegram or Discord.
Get Free Alerts β
Free Β· No credit card Β· 60 sec setup
Affected Versions
Apache Software Foundation / Apache CXF
4.2.0 < 4.2.2 0 < 4.1.7
References
Credits
Guanping Zhang reported this vulnerability.