Skip to main content
VulnerabilityPublished

CVE-2026-57818: Apache CXF · Time-of-check Time-of-use (TOCTOU) Race Condition

Affects Apache CXFSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Apache Software FoundationApache CXFAffected
  • >=4.2.0 <4.2.3
Fixed in
  • 4.2.3
Apache Software FoundationApache CXFAffected
  • >=4.0.0 <4.1.8
Fixed in
  • 4.1.8
Apache Software FoundationApache CXFAffected
  • <3.6.12
Fixed in
  • 3.6.12
MavenApache Software Foundation/org.apache.cxf:cxf-rt-rs-security-oauth2pkg:maven/Apache Software Foundation/org.apache.cxf:cxf-rt-rs-security-oauth2Other threatsAffected
  • >=4.2.0 <4.2.3
  • >=4.0.0 <4.1.8
  • <3.6.12
Fixed in
  • 4.2.3
  • 4.1.8
  • 3.6.12

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.

References

Community reviews

Loading reviews…