CVE-2026-57817
JSON

8.1high

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

Severity
8.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache

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

Product or packageVersionsReported by
org.apache.cxf:cxf-rt-rs-security-sso-oidcfrom 4.2.0 before 4.2.3, from 4.0.0 before 4.1.8, before 3.6.12CVE List
apache cxfbefore 3.6.12, from 4.0.0 before 4.1.8, from 4.2.0 before 4.2.3NVD

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

La especificación OpenID Connect Core 1.0 exige que el RP DEBE validar el parámetro “c_hash” al operar en el Flujo Híbrido. Si un RP de Apache CXF se integra con un Proveedor de Identidad (IdP) no conforme o mal configurado que omite el “c_hash”, el RP se vuelve vulnerable a ataques de Sustitución/Inyección de Código de Autorización. Se recomienda a los usuarios actualizar a las versiones 4.2.3 o 4.1.8 o 3.6.12, que solucionan este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-57817 changed 2026-08-07CVE Terms of Use
NVDCVE-2026-57817 changed 2026-10-24Public domain