CVE-2026-57818
JSON

8.1high

Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider

Severity
8.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
org.apache.cxf:cxf-rt-rs-security-oauth2from 4.2.0 before 4.2.3, from 4.0.0 before 4.1.8, before 3.6.12CVE List
apache cxfbefore 3.6.12, from 4.0.0 before 4.1.8, from 4.2.0 before 4.2.3NVD

Classification

CWE-367

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Una condición de carrera en JCacheCodeDataProvider permite a un atacante canjear un único código de autorización múltiples veces a través de solicitudes concurrentes, lo que resulta en la emisión de múltiples tokens de acceso distintos y válidos. Se recomienda a los usuarios actualizar a las versiones 4.2.3, 4.1.8 o 3.6.12, que solucionan este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-57818 changed 2026-08-07CVE Terms of Use
NVDCVE-2026-57818 changed 2026-10-24Public domain