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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache CXF | 4.2.0 – < 4.2.2, 4.0.0 – < 4.1.7, < 3.6.12 | 4.2.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | >= 4.2.0, < 4.2.2 | 4.2.2 | GHSA-83r6-96m8-r52p |
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | < 4.1.7 | 4.1.7 | GHSA-83r6-96m8-r52p |
Advisories 1
- WID-SEC-2026-1895 Apache CXF: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2026
References
- https://lists.apache.org/thread/s83t3x4r626o9h8rt0ryr1w7w53l1vv8 vendor-advisory