Skip to content

CVE-2026-68079 Apache CXF: DefaultEncryptingCodeDataProvider allows unlimited authorization code replay

CriticalCVSS 9.8 EPSS 0.68%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
Red Hat

Description

In Apache CXF's DefaultEncryptingCodeDataProvider, a captured authorization code can be redeemed an unlimited number of times due to a flaw in the implementation of the removeCodeGrant functionality. This violates the RFC requirement that "The authorization code MUST NOT be used more than once." Users are recommended to upgrade to versions 4.2.3 or 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