{
  "affected": [
    {
      "ranges": [
        {
          "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"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "16d606b3c4d5c7d271fd3b488c60a208586acb3f"
            },
            {
              "introduced": "02310e95fe74c0c031f540f3284e4a9bd856ced2"
            },
            {
              "fixed": "8797a177ec23e9c578c78a630c154ad27d9bbe8d"
            },
            {
              "introduced": "04ccbfd709eef8f4af53d6237514fbe9db7ea81f"
            },
            {
              "fixed": "33259395b45b4ff69b8df6a153630721fdd489fa"
            }
          ],
          "repo": "https://github.com/apache/cxf",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57817.json",
    "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"
      }
    ]
  },
  "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.",
  "id": "CVE-2026-57817",
  "modified": "2026-08-08T03:30:43.949393286Z",
  "published": "2026-08-06T10:24:05.877Z",
  "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"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache CXF: The authorization code hash (c_hash) is not enforced for the hybrid OIDC flow"
}