CVE-2026-57818: CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition in Apache Software Foundation Apache CXF
A race condition vulnerability in JCacheCodeDataProvider allows an attacker to redeem a single authorization code multiple times through concurrent requests. This flaw results in the issuance of multiple distinct, valid access tokens. The vulnerability has a high severity rating with a CVSS score of 8.1. Users are advised to upgrade to versions 4.2.3, 4.1.8, or 3.6.12 to address this issue.
AI Analysis
Technical Summary
CVE-2026-57818 describes a race condition in the JCacheCodeDataProvider component that permits an attacker to redeem a single authorization code multiple times by sending concurrent requests. This leads to multiple valid access tokens being issued from the same authorization code, violating the intended single-use constraint. The vulnerability is classified under CWE-367 (Time-of-check Time-of-use (TOCTOU) race condition). The CVSS v3.1 base score is 8.1, indicating high severity with network attack vector, high complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. The vendor has released fixed versions 4.2.3, 4.1.8, and 3.6.12 to remediate this issue.
Potential Impact
Exploitation of this race condition allows an attacker to obtain multiple valid access tokens from a single authorization code, potentially enabling unauthorized access to protected resources multiple times. This undermines the security model of single-use authorization codes and can lead to elevated privileges or unauthorized data access. The impact affects confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Users should upgrade to fixed versions 4.2.3, 4.1.8, or 3.6.12 of the affected software to remediate this vulnerability. No other mitigation or temporary workaround is indicated. Patch status is confirmed by the vendor's release of these versions.
CVE-2026-57818: CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition in Apache Software Foundation Apache CXF
Description
A race condition vulnerability in JCacheCodeDataProvider allows an attacker to redeem a single authorization code multiple times through concurrent requests. This flaw results in the issuance of multiple distinct, valid access tokens. The vulnerability has a high severity rating with a CVSS score of 8.1. Users are advised to upgrade to versions 4.2.3, 4.1.8, or 3.6.12 to address this issue.
CVSS v3.1
Score 8.1high
Affected software
pkg:maven/org.apache.cxf/cxfRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-57818 describes a race condition in the JCacheCodeDataProvider component that permits an attacker to redeem a single authorization code multiple times by sending concurrent requests. This leads to multiple valid access tokens being issued from the same authorization code, violating the intended single-use constraint. The vulnerability is classified under CWE-367 (Time-of-check Time-of-use (TOCTOU) race condition). The CVSS v3.1 base score is 8.1, indicating high severity with network attack vector, high complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. The vendor has released fixed versions 4.2.3, 4.1.8, and 3.6.12 to remediate this issue.
Potential Impact
Exploitation of this race condition allows an attacker to obtain multiple valid access tokens from a single authorization code, potentially enabling unauthorized access to protected resources multiple times. This undermines the security model of single-use authorization codes and can lead to elevated privileges or unauthorized data access. The impact affects confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Users should upgrade to fixed versions 4.2.3, 4.1.8, or 3.6.12 of the affected software to remediate this vulnerability. No other mitigation or temporary workaround is indicated. Patch status is confirmed by the vendor's release of these versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4qr2-3mpc-grqm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-57818"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a74cf7ebf8831d5391acc54
Added to database: 08/06/2026, 18:16:30 UTC
Last enriched: 08/06/2026, 18:25:37 UTC
Last updated: 08/07/2026, 03:40:59 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.