What’s Vulnerable › Vulnerabilities

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 products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache CXF 3.6.12, 4.1.8, 4.2.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-57817 or the next vulnerability affects your stack