Skip to main content
← All vulnerabilities
CVE-2026-50631GHSA-83R6-96M8-R52P

Apache CXF: OAuth2: TOCTOU Race Condition in Refresh Token Processing

Published
Last modified
published
Not listed in CISA KEV
Low (apache)
Fix
Fixed in 4.2.2, 4.1.7, 3.6.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • org.apache.cxf:cxf-rt-rs-security-oauth2

    From 4.2.0 · fixed in 4.2.2; From 4.0.0 · fixed in 4.1.7; fixed in 3.6.12

  • org.apache.cxf:cxf-rt-rs-security-oauth2Maven

    From 4.2.0 · fixed in 4.2.2

  • org.apache.cxf:cxf-rt-rs-security-oauth2Maven

    fixed in 4.1.7

References 1

lists.apache.org