{"id":"CVE-2026-57817","summary":"Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow","details":"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.","modified":"2026-08-08T03:47:58.430706189Z","published":"2026-08-06T10:24:05.877Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"4.2.0"},{"fixed":"4.2.3"},{"introduced":"4.0.0"},{"fixed":"4.1.8"},{"fixed":"3.6.12"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"apache","cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57817.json"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/08/06/19"},{"type":"WEB","url":"https://repo.maven.apache.org/maven2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57817.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/pj63c3pf7kkp1xhr53do704fwj3t3htn"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57817"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/cxf","events":[{"introduced":"0"},{"fixed":"16d606b3c4d5c7d271fd3b488c60a208586acb3f"},{"introduced":"02310e95fe74c0c031f540f3284e4a9bd856ced2"},{"fixed":"8797a177ec23e9c578c78a630c154ad27d9bbe8d"},{"introduced":"04ccbfd709eef8f4af53d6237514fbe9db7ea81f"},{"fixed":"33259395b45b4ff69b8df6a153630721fdd489fa"}],"database_specific":{"cpe":"cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.6.12"},{"introduced":"4.0.0"},{"fixed":"4.1.8"},{"introduced":"4.2.0"},{"fixed":"4.2.3"}],"source":"CPE_RANGE"}}],"versions":["cxf-4.1.7","cxf-4.2.2","cxf-3.6.11","cxf-4.1.6","cxf-4.2.1","cxf-3.6.10","cxf-4.1.5","cxf-4.2.0","cxf-3.6.9","cxf-4.1.4","cxf-3.6.8","cxf-4.1.3","cxf-3.6.7","cxf-4.1.2","cxf-3.6.6","cxf-4.1.1","cxf-4.1.0","cxf-3.6.5","cxf-3.6.4","cxf-3.6.3","cxf-4.0.4","cxf-4.0.3","cxf-3.6.2","cxf-4.0.2","cxf-3.6.1","cxf-4.0.1","cxf-3.6.0","cxf-4.0.0","cxf-3.5.0","cxf-3.4.1","cxf-3.4.0","cxf-3.3.3","cxf-3.3.2","cxf-3.3.1","cxf-3.3.0","cxf-3.2.5","cxf-3.2.4","cxf-3.2.3","cxf-3.2.2","cxf-3.2.1","cxf-3.2.0","cxf-3.1.4","cxf-3.1.3","cxf-3.1.2","cxf-3.1.1","cxf-3.1.0","cxf-3.0.0","cxf-3.0.0-milestone2","cxf-2.7.2","cxf-2.7.1","cxf-2.7.0","cxf-2.6.1","cxf-2.6.0","cxf-2.5.1","cxf-2.5.0","cxf-2.4.0","cxf-2.3.0","cxf-2.2.2","cxf-2.2.1","cxf-2.2","cxf-2.1.2","cxf-2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57817.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}