CVE-2026-57818: Apache CXF · Time-of-check Time-of-use (TOCTOU) Race Condition
Affects Apache CXFSource CVE Database V5
Not known to be exploited · CVSS 8.1 High · fixed in 4.2.3 : patch Apache CXF soon.
Data as of 5 Nov 2026, 23:24 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.2.3, 4.1.8, 3.6.12
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Upgrade Apache to 4.2.3, 4.1.8 or 3.6.12.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software FoundationApache CXF | Affected
| Fixed in
|
| Apache Software FoundationApache CXF | Affected
| Fixed in
|
| Apache Software FoundationApache CXF | Affected
| Fixed in
|
MavenApache Software Foundation/org.apache.cxf:cxf-rt-rs-security-oauth2pkg:maven/Apache Software Foundation/org.apache.cxf:cxf-rt-rs-security-oauth2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade Apache CXF to versions 4.2.3, 4.1.8, or 3.6.12 or later, where this race condition vulnerability has been fixed. No other mitigation or workaround is indicated. Patch status is confirmed by the vendor's recommended upgrade versions.
Description
CVE-2026-57818 is a high-severity race condition vulnerability in Apache CXF's JCacheCodeDataProvider component. It allows an attacker to redeem a single authorization code multiple times through concurrent requests, resulting in multiple valid access tokens being issued. This flaw can lead to unauthorized access and potential privilege escalation. Fixed versions 4.2.3, 4.1.8, and 3.6.12 address this issue.