Vulnerability in Apache Cxf
CVE-2026-50631
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.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 19.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Cxf
- Apache Software Foundation Cxf — versions 4.0.0, 0, 4.2.0
Weakness classification (CWE)
References
- lists.apache.org/thread/s83t3x4r626o9h8rt0ryr1w7w53l1vv8 (vendor-advisory, Vendor Advisory)
- www.openwall.com/lists/oss-security/2026/06/11/8 (Mailing List, Third Party Advisory)