What’s Vulnerable › Vulnerabilities
CVE-2026-57818: Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-06 · updated 2026-10-24
- Weakness: CWE-367
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.
Affected products
- Apache Software Foundation Apache CXF: before 3.6.12; from 4.0.0 before 4.1.8; from 4.2.0 before 4.2.3 — fixed in 3.6.12, 4.1.8, 4.2.3
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache CXF 3.6.12, 4.1.8, 4.2.3. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread/7q08mz8bcbosp25wok7gr537zlp15mfz
- http://www.openwall.com/lists/oss-security/2026/08/06/20
Get alerted when CVE-2026-57818 or the next vulnerability affects your stack