CVE-2026-57817
Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.cxf » cxf-rt-rs-security-sso-oidcpreliminary | < 3.6.12>= 4.0.0, < 4.1.8>= 4.2.0, < 4.2.3 | 3.6.12, 4.1.8, 4.2.3 |
Blast radius
81% of the dependent artifacts (9) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 695 |
| 2 hops | 97 |
Most used dependents
- org.apache.cxf » apache-cxf6 usages
- org.apache.syncope.ext.oidcclient » syncope-ext-oidcclient-logic1 usages
- org.apache.cxf.fediz » fediz-idp1 usages
- org.apache.cxf.fediz » fediz-oidc1 usages
- org.apache.cxf.fediz » fediz-idp-core1 usages
- org.apache.cxf.systests » cxf-systests-rs-security0 usages
- org.jboss.fuse » fuse-extras0 usages
- org.apache.syncope.ext.oidcclient » syncope-ext-oidcclient-rest-cxf0 usages
- org.apache.cxf.fediz.systests.federation » fediz-systests-federation-oidcIdpWebapp0 usages
- org.apache.cxf.fediz » apache-fediz0 usages
- io.github.martinhickson » picketlink-oidc0 usages
Computed from the dependency graph of build 20261206.1433 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-57817 | github.com |
| Advisory | thread/pj63c3pf7kkp1xhr53do704fwj3t3htn | lists.apache.org |
| Advisory | NVD CVE-2026-57817 | nvd.nist.gov |
| Web | lists/oss-security/2026/08/06/19 | openwall.com |
| Web | maven2 | repo.maven.apache.org |
