Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-57818: CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition in Apache Software Foundation Apache CXF

0
High
Published: 08/06/2026 (08/06/2026, 11:24:53 UTC)
Source: GCVE Database
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

org.apache.cxf/cxf
pkg:maven/org.apache.cxf/cxf
Affected versions
<4.2.3<4.1.8<3.6.12

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 18:25:37 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses