{"id":"CVE-2026-57817","aliases":["CVE-2026-57817"],"related":[],"kind":"vulnerability","state":"published","title":"Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-08-06T10:24:05.877Z","modified":"2026-10-24T16:10:00.153Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"semver","introduced":"4.2.0","fixed":"4.2.3","status":"affected"},{"type":"semver","introduced":"4.0.0","fixed":"4.1.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.6.12","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache CXF","package":"org.apache.cxf:cxf-rt-rs-security-sso-oidc","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.6.12"},{"status":"affected","introduced":"4.0.0","fixed":"4.1.8"},{"status":"affected","introduced":"4.2.0","fixed":"4.2.3"}],"vendor":"apache","product":"cxf","cpe":"cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/pj63c3pf7kkp1xhr53do704fwj3t3htn","tags":["mailing-list","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/06/19","tags":[],"sources":["cvelist","nvd"]}],"credits":["Guanping Zhang reported this vulnerability."],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-06T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57817","url":"https://www.cve.org/CVERecord?id=CVE-2026-57817","licence":"CVE Terms of Use","modified":"2026-08-07T03:55:29.695Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57817","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57817","licence":"Public domain","modified":"2026-10-24T16:10:00.153Z"}],"updatedAt":"2026-11-25T22:59:31.230Z","epss":{"score":0.00448,"percentile":0.40695,"date":"2026-12-01T12:00:22.000Z"}}