PoC Monitor
← All CVEs
CVE-2026-50631published 12 Jun 2026 08:59 UTCData: JSON · API

Apache Software Foundation Apache CXF

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.4high · scored by CISA ADP · CWE-367
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Apache Software Foundation Apache CXF
  • >= 4.2.0, < 4.2.2
  • >= 4.0.0, < 4.1.7
  • < 3.6.12

Fixed in 4.2.2, 4.1.7, 3.6.12

Mitigation

Upgrade Apache CXF to 4.2.2 or 4.1.7 or 3.6.12 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published12 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.