CVE-2026-57817: Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow
The OpenID Connect Core 1.0 specification mandates that the RP MUST validate the chash 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 chash, 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache CXFto a version that resolves this vulnerability.Fixed in 4.2.3 - Upgrade
Upgrade
Apache CXFto a version that resolves this vulnerability.Fixed in 4.1.8 - Upgrade
Upgrade
Apache CXFto a version that resolves this vulnerability.Fixed in 3.6.12
Event History
Frequently Asked Questions
What is the severity of CVE-2026-57817?
CVE-2026-57817 has a risk score of 55, indicating a medium severity vulnerability.
How do I fix CVE-2026-57817?
To fix CVE-2026-57817, ensure that your Apache CXF RP is integrated with a compliant Identity Provider that validates the c_hash parameter in the Hybrid OIDC flow.
What systems are affected by CVE-2026-57817?
CVE-2026-57817 affects Apache CXF implementations that utilize the Hybrid OIDC flow without proper validation of the c_hash parameter.
What is the impact of CVE-2026-57817?
The impact of CVE-2026-57817 includes potential authorization code misuse and elevated security risks due to the lack of c_hash validation.
Is there a workaround for CVE-2026-57817?
Currently, the best workaround for CVE-2026-57817 is to configure your Identity Provider to enforce the c_hash parameter validation.