Skip to content
VulniPulse
UnratedApache Software Foundation

Unknown [CVE-2026-50631] Apache CXF: OAuth2: TOCTOU Race Condition in Refresh Token Processing

This security Apache Software Foundation advisory covers CVE-2026-50631 affecting Apache CXF.

CVE-2026-50631 Published Jun 12, 2026Updated by vendor Aug 7, 2026
Affected products & platforms
Apache Software FoundationUnclassified
Open vendor advisory

Android app · Google Play

Monitor future Apache Software Foundation CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

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.

Affected product named by the advisory: Apache CXF.

Affected versions
  • Apache CXF 4.2.0 before 4.2.2
  • Apache CXF 4.0.0 before 4.1.7
  • Apache CXF before 3.6.12

Official advisory · medium-confidence parse· fetched 2 hours ago·verify at source

Fixed versions
  • 4.2.2
  • 4.1.7
  • 3.6.12

Official advisory · medium-confidence parse· fetched 2 hours ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fixes this issue.

Official advisory · medium-confidence parse· fetched 2 hours ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.