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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-08-06 · Modified: 2026-08-07
- Record: https://cvemate.com/vulnerability/CVE-2026-57818 · JSON: https://cvemate.com/vulnerability/CVE-2026-57818/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.344%, percentile 29.878%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache cxf: ≥ 4.2.0, \< 4.2.3 \| ≥ 4.0.0, \< 4.1.8 \| \< 3.6.12
- apache cxf: \< 3.6.12 \| ≥ 4.0.0, \< 4.1.8 \| ≥ 4.2.0, \< 4.2.3

## References

- <https://lists.apache.org/thread/7q08mz8bcbosp25wok7gr537zlp15mfz>
- <http://www.openwall.com/lists/oss-security/2026/08/06/20>

---

Data as of 2026-12-05T06:23:01.072Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
