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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- lists.apache.org mailing-list vendor-advisory
- www.openwall.com
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:71675 patch vendor-advisory
- Red Hat Bugzilla 2511992 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-53862 third-party-advisory