Skip to main content
← All vulnerabilities
CVE-2026-57817

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

Published
Last modified
published
Not listed in CISA KEV
Low (apache)
Fix
Fixed in 4.2.3, 4.1.8, 3.6.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • org.apache.cxf:cxf-rt-rs-security-sso-oidc

    From 4.2.0 · fixed in 4.2.3; From 4.0.0 · fixed in 4.1.8; fixed in 3.6.12

References 1

lists.apache.org