Skip to content

CVE-2026-57818 Apache CXF: OAuth2 Authorization Code Replay via TOCTOU in JCacheCodeDataProvider

HighCVSS 8.1 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

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.

Upgrade path

3 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/cxf-rt-rs-security-oauth2(Red Hat apache_camel_spring_boot 4.18) All versions No fix listed No fix yet
apache cxf < 3.6.12; >= 4.0.0, < 4.1.8; >= 4.2.0, < 4.2.3 3.6.12, 4.1.8, 4.2.3 Fixed
org.apache.cxf/cxf-rt-rs-security-oauth2(Maven) < 3.6.12; >= 4.0.0, < 4.1.8; >= 4.2.0, < 4.2.3 3.6.12, 4.1.8, 4.2.3 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.cxf/cxf-rt-rs-security-oauth2(Maven) >= 4.2.0, < 4.2.3 4.2.3
org.apache.cxf/cxf-rt-rs-security-oauth2(Maven) >= 4.0.0, < 4.1.8 4.1.8
org.apache.cxf/cxf-rt-rs-security-oauth2(Maven) < 3.6.12 3.6.12
redhat/cxf-rt-rs-security-oauth2(Red Hat:apache_camel_spring_boot:4.18) All versions No fix listed
redhat/cxf-rt-rs-security-oauth2(Red Hat:jboss_enterprise_web_server:5) All versions No fix listed
apache cxf < 3.6.12 3.6.12
apache cxf >= 4.0.0, < 4.1.8 4.1.8
apache cxf >= 4.2.0, < 4.2.3 4.2.3

References