CVE-2026-57817 Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow
HighCVSS 8.1
EPSS 0.69%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
Description
The OpenID Connect Core 1.0 specification mandates that the RP MUST validate the c_hash parameter when operating in the Hybrid Flow. If an Apache CXF RP is integrated with a non-compliant or misconfigured Identity Provider (IdP) that omits the c_hash, the RP becomes vulnerable to Authorization Code Substitution/Injection attacks. 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/cxf(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-sso-oidc(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-sso-oidc(Maven) | >= 4.2.0, < 4.2.3 | 4.2.3 |
| org.apache.cxf/cxf-rt-rs-security-sso-oidc(Maven) | >= 4.0.0, < 4.1.8 | 4.1.8 |
| org.apache.cxf/cxf-rt-rs-security-sso-oidc(Maven) | < 3.6.12 | 3.6.12 |
| redhat/cxf(Red Hat:apache_camel_spring_boot:4.18) | All versions | No fix listed |
| redhat/cxf(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
| redhat/cxf(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 2511977 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-53855 third-party-advisory