{"id":"CVE-2026-57818","state":"PUBLISHED","title":"Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider","description":"A race condition in JCacheCodeDataProvider allows an attacker to redeem a single authorization code multiple times via concurrent requests, resulting in the issuance of multiple distinct, valid access tokens. Users are recommended to upgrade to versions 4.2.3, 4.1.8 or 3.6.12, which fix this issue.","publishedAt":"2026-08-06T11:24:53.590Z","updatedAt":"2026-08-07T00:01:42.058Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache CXF"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache CXF","packageName":"org.apache.cxf:cxf-rt-rs-security-oauth2","defaultStatus":"unaffected","versions":[{"version":"4.2.0","status":"affected","lessThan":"4.2.3","versionType":"semver"},{"version":"4.0.0","status":"affected","lessThan":"4.1.8","versionType":"semver"},{"version":"0","status":"affected","lessThan":"3.6.12","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":["https://lists.apache.org/thread/7q08mz8bcbosp25wok7gr537zlp15mfz","http://www.openwall.com/lists/oss-security/2026/08/06/20"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57818.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57818","state":"PUBLISHED","datePublished":"2026-08-06T11:24:53.590Z","dateUpdated":"2026-08-07T00:01:42.058Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-06-25T10:17:41.996Z"},"containers":{"cna":{"title":"Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider","descriptions":[{"lang":"en","value":"A race condition in JCacheCodeDataProvider allows an attacker to redeem a single authorization code multiple times via concurrent requests, resulting in the issuance of multiple distinct, valid access tokens. Users are recommended to upgrade to versions 4.2.3, 4.1.8 or 3.6.12, which fix this issue."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache CXF","packageName":"org.apache.cxf:cxf-rt-rs-security-oauth2","defaultStatus":"unaffected","versions":[{"version":"4.2.0","status":"affected","lessThan":"4.2.3","versionType":"semver"},{"version":"4.0.0","status":"affected","lessThan":"4.1.8","versionType":"semver"},{"version":"0","status":"affected","lessThan":"3.6.12","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":[{"url":"https://lists.apache.org/thread/7q08mz8bcbosp25wok7gr537zlp15mfz","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"low"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-08-06T11:24:53.590Z"},"credits":[{"lang":"en","type":"finder","value":"Guanping Zhang reported this vulnerability"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.1,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-08-06T14:10:31.026409Z","id":"CVE-2026-57818","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-06T14:10:34.571Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/08/06/20"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-08-07T00:01:42.058Z"}}]}}}