CVE-2026-50631
Published:June 12, 2026
Updated:June 28, 2026
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.
Affected Packages
https://github.com/apache/cxf.git (GITHUB):
Affected version(s) >=cxf-4.2.0 <cxf-4.2.2Fix Suggestion:
Update to version cxf-4.2.2https://github.com/apache/cxf.git (GITHUB):
Affected version(s) >=cxf-2.1 <cxf-4.1.7Fix Suggestion:
Update to version cxf-4.1.7org.apache.cxf:cxf-rt-rs-security-oauth2 (JAVA):
Affected version(s) >=4.2.0 <4.2.2Fix Suggestion:
Update to version 4.2.2org.apache.cxf:cxf-rt-rs-security-oauth2 (JAVA):
Affected version(s) >=2.6.0 <4.1.7Fix Suggestion:
Update to version 4.1.7Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Time-of-check Time-of-use (TOCTOU) Race Condition
EPSS
Base Score:
0.29