8.1High

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

Apache Software Foundation Apache CXF Published: (3 months ago)

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.

Weakness (CWE): CWE-367

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
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

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* < 3.6.12
  • cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* ≥ 4.0.0 < 4.1.8
  • cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* ≥ 4.2.0 < 4.2.3