Skip to content
CVE PROGRAM SOURCE RECORD7.4 High

CVE-2026-50631

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Apache Software Foundation Apache CXF

Default version status: unaffected

  • 4.2.0 to < 4.2.2affected
  • 4.0.0 to < 4.1.7affected
  • 0 to < 3.6.12affected

References