Skip to content
VulniPulse
High 3 vendors · 3 advisories

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
Vendor advisories
3 from Apache, NetApp, Red Hat
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.

AffectedFixed in
Apache: Apache CXF 4.2.0 before 4.2.34.2.3
Apache: Apache CXF 4.0.0 before 4.1.84.1.8
Apache: Apache CXF before 3.6.123.6.12
NetApp: 3.6.12No fixed release on this branch listed by the vendor
NetApp: 4.0.0No fixed release on this branch listed by the vendor
NetApp: 4.1.8No fixed release on this branch listed by the vendor
NetApp: 4.2.0No fixed release on this branch listed by the vendor
NetApp: 4.2.3No 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

Timeline

  1. CVE record published
  2. First vendor advisory listed by VulniPulse
  3. CVE record last updated

All Apache advisories

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).

Alert me about Apache