{"id":"CVE-2026-50631","published":"2026-06-12T08:59:40Z","modified":"2026-08-07T12:43:22Z","title":"Apache CXF: OAuth2: TOCTOU Race Condition in Refresh Token Processing","vendor":"Apache","product":"Apache CXF","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00393,"percentile":0.25143,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://lists.apache.org/thread/s83t3x4r626o9h8rt0ryr1w7w53l1vv8","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/11/8","tags":[]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":5.03},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache CXF","versions":[">= 4.2.0, < 4.2.2",">= 4.0.0, < 4.1.7","< 3.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-12T14:03:56.077000Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.cxf:cxf-rt-rs-security-oauth2","vulnerableRanges":[">=4.2.0, <4.2.2","<4.1.7"],"patched":["4.2.2","4.1.7"],"from":["GHSA-83r6-96m8-r52p"],"provenance":"source"}],"summary":{"text":"A race condition in the AbstractOAuthDataProvider component of Apache CXF's OAuth2 refresh token processing lets concurrent requests reuse a single refresh token, which is supposed to be single-use, and so obtain multiple valid access tokens when the 'recycleRefreshTokens' setting is false. An attacker who holds a leaked refresh token can exploit this over the network without authentication or user interaction, by replaying the token concurrently from multiple requests or threads.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:17Z"},"euvd":{"id":"EUVD-2026-36399","exploited":false,"provenance":"source"}}