CVE-2026-57817

published 6 Aug 2026 · updated 7 Aug 2026

Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow

8.1HighCVSS 8.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.6.12, 4.1.8 and 4.2.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation<3.6.12, >=4.0.0 <4.1.8, >=4.2.0 <4.2.33.6.12, 4.1.8, 4.2.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-57817 severity on Zeptric[![CVE-2026-57817](https://zeptric.io/badge/cve/CVE-2026-57817.svg)](https://zeptric.io/cve/CVE-2026-57817)