{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-50631","id":"CVE-2026-50631","title":"Apache CXF: OAuth2: TOCTOU Race Condition in Refresh Token Processing","description":"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","descriptionLong":"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.","published":"2026-06-12T08:59:40.200Z","updated":"2026-11-07T02:48:32.761932274Z","reserved":"2026-06-05T11:02:05.432Z","status":"Analyzed","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["Apache Software Foundation Apache CXF"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache CXF","defaultStatus":"unaffected","versions":[{"lessThan":"4.2.2","status":"affected","version":"4.2.0","versionType":"semver"},{"lessThan":"4.1.7","status":"affected","version":"4.0.0","versionType":"semver"},{"lessThan":"3.6.12","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.cxf:cxf-rt-rs-security-oauth2","purl":"pkg:maven/org.apache.cxf/cxf-rt-rs-security-oauth2","ranges":[">=4.2.0 <4.2.2","<4.1.7"],"fixed":["4.2.2","4.1.7"],"advisory":"GHSA-83r6-96m8-r52p"}],"cwes":["CWE-367"],"aliases":["GHSA-83r6-96m8-r52p"],"references":[{"url":"https://lists.apache.org/thread/s83t3x4r626o9h8rt0ryr1w7w53l1vv8","tags":["vendor-advisory","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/11/8","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://repo.maven.apache.org/maven2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50631.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50631","tags":["advisory"]},{"url":"https://github.com/apache/cxf","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00273,"epssPercentile":0.20056,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-50631","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50631","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-50631","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-83r6-96m8-r52p","ok":true,"note":"GHSA-83r6-96m8-r52p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-50631","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}