CVE-2026-57818

Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider

State
Published
Severity
8.1 High
Published
Aug 6, 2026
Updated
Aug 7, 2026
Reserved
Jun 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected Products

ProductVersions
Apache CXFApache Software Foundation
  • 4.2.0 to before 4.2.3Affected
  • 4.0.0 to before 4.1.8Affected
  • before 3.6.12Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.