{"id":"CVE-2026-50631","summary":"Apache CXF: OAuth2: TOCTOU Race Condition in Refresh Token Processing","details":"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.","modified":"2026-07-15T01:49:16.588513783Z","published":"2026-06-12T08:59:40.200Z","database_specific":{"cwe_ids":["CWE-367"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50631.json","unresolved_ranges":[{"extracted_events":[{"introduced":"4.2.0"},{"fixed":"4.2.2"},{"fixed":"4.1.7"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"apache"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/06/11/8"},{"type":"WEB","url":"https://repo.maven.apache.org/maven2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50631.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/s83t3x4r626o9h8rt0ryr1w7w53l1vv8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50631"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/cxf","events":[{"introduced":"0"},{"fixed":"82e9f60f994a7fad2d89f3c94e9090a4a8990c70"},{"introduced":"04ccbfd709eef8f4af53d6237514fbe9db7ea81f"},{"fixed":"d2b2776cd44a8d2f391194d90f50ce7b3d61a1f6"}],"database_specific":{"cpe":"cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.1.7"},{"introduced":"4.2.0"},{"fixed":"4.2.2"}],"source":"CPE_RANGE"}}],"versions":["cxf-4.1.6","cxf-4.2.1","cxf-4.1.5","cxf-4.2.0","cxf-4.1.4","cxf-4.1.3","cxf-4.1.2","cxf-4.1.1","cxf-4.1.0","cxf-4.0.4","cxf-4.0.3","cxf-4.0.2","cxf-4.0.1","cxf-4.0.0","cxf-3.5.0","cxf-3.4.1","cxf-3.4.0","cxf-3.3.3","cxf-3.3.2","cxf-3.3.1","cxf-3.3.0","cxf-3.2.5","cxf-3.2.4","cxf-3.2.3","cxf-3.2.2","cxf-3.2.1","cxf-3.2.0","cxf-3.1.4","cxf-3.1.3","cxf-3.1.2","cxf-3.1.1","cxf-3.1.0","cxf-3.0.0","cxf-3.0.0-milestone2","cxf-2.7.2","cxf-2.7.1","cxf-2.7.0","cxf-2.6.1","cxf-2.6.0","cxf-2.5.1","cxf-2.5.0","cxf-2.4.0","cxf-2.3.0","cxf-2.2.2","cxf-2.2.1","cxf-2.2","cxf-2.1.2","cxf-2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50631.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}