CVE-2026-57817 PUBLISHED

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

Assigner: apache
Reserved: 25.06.2026 Published: 06.08.2026 Updated: 06.08.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache CXF
Versions Default: unaffected
  • affected from 4.2.0 to 4.2.3 (excl.)
  • affected from 4.0.0 to 4.1.8 (excl.)
  • affected from 0 to 3.6.12 (excl.)

Credits

  • Guanping Zhang reported this vulnerability. finder

References

Problem Types

  • CWE-20 Improper Input Validation CWE