# CVE-2026-57818: Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-08-06T11:24:53.590Z
- Modified: 2026-10-24T16:10:00.153Z
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.cxf:cxf-rt-rs-security-oauth2: from 4.2.0 before 4.2.3; from 4.0.0 before 4.1.8; before 3.6.12
- apache cxf: before 3.6.12; from 4.0.0 before 4.1.8; from 4.2.0 before 4.2.3

## References

- <https://lists.apache.org/thread/7q08mz8bcbosp25wok7gr537zlp15mfz> (mailing-list, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/08/06/20>

## Sources

- CVE List: [CVE-2026-57818](https://www.cve.org/CVERecord?id=CVE-2026-57818), CVE Terms of Use, modified 2026-08-07
- NVD: [CVE-2026-57818](https://nvd.nist.gov/vuln/detail/CVE-2026-57818), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-57818 · Whole record: https://cve.day/CVE-2026-57818.json · Rebuilt by cve.day 2026-11-25T22:59:31.233Z
