CVE-2026-57818: Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider
CVE-2026-57818 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 8.1 (Apache), 8.1 (NetApp), 4.2 (Red Hat)
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H· base score 8.1, scored by CISA-ADPAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
- EPSS
- 0.34% chance of exploitation in the next 30 days (29th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- Fixed releases
- Apache: 4.2.3, 4.1.8, 3.6.12
- Red Hat: cxf-rt-rs-security-oauth2, RHSA-2026:71675
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-57818; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2026-57818?
You are affected if you run the vendor products in the advisory at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| Apache: Apache CXF 4.2.0 before 4.2.3 | 4.2.3 |
| Apache: Apache CXF 4.0.0 before 4.1.8 | 4.1.8 |
| Apache: Apache CXF before 3.6.12 | 3.6.12 |
| NetApp: 3.6.12 | No fixed release on this branch listed by the vendor |
| NetApp: 4.0.0 | No fixed release on this branch listed by the vendor |
| NetApp: 4.1.8 | No fixed release on this branch listed by the vendor |
| NetApp: 4.2.0 | No fixed release on this branch listed by the vendor |
| NetApp: 4.2.3 | No fixed release on this branch listed by the vendor |
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.
Text from the CVE.org record (apache).
How do I fix CVE-2026-57818?
Upgrade to a fixed release named by the vendor:
- Apache: 4.2.3, 4.1.8, 3.6.12
- Red Hat: cxf-rt-rs-security-oauth2, RHSA-2026:71675
- Users are recommended to upgrade to versions 4.2.3, 4.1.8 or 3.6.12, which fix this issue. (Apache)
- Upstream fix: 4.2.3, 4.1.8, 3.6.12 (released upstream; not a Red Hat package). (Red Hat)
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Upstream Apache CXF has addressed this issue, and users of the affected Red Hat products are advised to upgrade to the fixed builds once they become available through their respective update channels. (Red Hat)
Vendor advisories for CVE-2026-57818
Apache
1 advisory- Advisory severityHigh8.1
High [CVE-2026-57818] Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider
CVE-2026-57818Source published Source updated
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 products in this advisory
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- Apache CXF 4.2.0 before 4.2.3
- Apache CXF 4.0.0 before 4.1.8
- Apache CXF before 3.6.12
- Source-reported fixed versions
- 4.2.3
- 4.1.8
- 3.6.12
- Mitigation guidance
- Users are recommended to upgrade to versions 4.2.3, 4.1.8 or 3.6.12, which fix this issue.
NetApp
1 advisory- Advisory severityHigh8.1
High [CVE-2026-57818] Apache CXF Vulnerability in NetApp Products
NTAP-20260911-0007Source published Source updated
Apache CXF versions prior to 3.6.12, 4.0.0 prior to 4.1.8, and 4.2.0 prior to 4.2.3 are susceptible to a vulnerability which when successfully exploited could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.
- Affected products in this advisory
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- 3.6.12
- 4.0.0
- 4.1.8
- 4.2.0
1 more entries in the full advisory.
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
Red Hat
1 advisory- Advisory severityMedium4.2
Medium [CVE-2026-57818] Authorization Code Replay via Race Condition
CVE-2026-57818Source published Source updated
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. A flaw was found in Apache CXF. This can result in the issuance of multiple distinct, valid access tokens, potentially leading to unauthorized access or session hijacking. Successful exploitation could lead to unauthorized access to protected resources or session hijacking. Red Hat rates this flaw as moderate severity (CVSS 4.2, AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N) because exploitation requires winning a race with concurrent requests while already holding a valid authorization code, and the…
- Affected products in this advisory
- Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16
- Red Hat JBoss Web Server 5
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- cxf-rt-rs-security-oauth2
- RHSA-2026:71675
- Mitigation guidance
- Upstream fix: 4.2.3, 4.1.8, 3.6.12 (released upstream; not a Red Hat package).
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Upstream Apache CXF has addressed this issue, and users of the affected Red Hat products are advised to upgrade to the fixed builds once they become available through their respective update channels.
References
- CVE-2026-57818 recordCVE.org
- CVE-2026-57818 detailNVD
- lists.apache.org/thread/7q08mz8bcbosp25wok7gr537zlp15mfzvendor-advisory
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Apache advisories
CVE-2026-48963Dec 5, 2026Apache Solr: Rule-Based Authorization 'READ' permission gives unexpected accessCVE-2026-130019Dec 4, 2026Apache Polaris: Improper verification of table metadataCVE-2026-130017Dec 4, 2026Apache Polaris: Improper validation of file paths in cleanup operationsCVE-2026-130015Dec 4, 2026Apache Polaris: Incorrect authorization in location overlap validationCVE-2026-129974Dec 4, 2026Apache Polaris: Incorrect authorization in table rename operationCVE-2026-129962Dec 4, 2026Apache Polaris: Incorrect validation in handling of catalog allowed locations
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$5 a month with Pro (first month US$1).