GHSA-83r6-96m8-r52p
Apache CXF OAuth2 TOCTOU Race Condition in Refresh Token Processing
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-50631
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
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, which fixes this issue.
Paquets affectés
| Paquet | Versions |
|---|---|
| Maven · org.apache.cxf:cxf-rt-rs-security-oauth2 | introduced 4.2.0, fixed 4.2.2 |
| Maven · org.apache.cxf:cxf-rt-rs-security-oauth2 | introduced 0, fixed 4.1.7 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2026-50631 ADVISORY
- https://github.com/apache/cxf PACKAGE
- https://lists.apache.org/thread/s83t3x4r626o9h8rt0ryr1w7w53l1vv8 WEB
- http://www.openwall.com/lists/oss-security/2026/06/11/8 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |