← Back to CVE Explorer

CVE-2026-57817

Full vulnerability record from the local CVENow database.

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.

Severity
HIGH
CVSS score
8.1 (v3.1)
Vulnerability status
Modified
Source identifier
Published
2026-08-06 11:16:30.120000
Last modified
2026-10-24 16:10:00.153000
View original CVE JSON
{
  "id": "CVE-2026-57817",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-06T11:16:30.120",
  "lastModified": "2026-10-24T16:10:00.153",
  "vulnStatus": "Modified",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Apache Software Foundation",
          "product": "Apache CXF",
          "defaultStatus": "unaffected",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "packageName": "org.apache.cxf:cxf-rt-rs-security-sso-oidc",
          "versions": [
            {
              "version": "4.2.0",
              "lessThan": "4.2.3",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.0.0",
              "lessThan": "4.1.8",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "3.6.12",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "baseScore": 8.1,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.2,
        "impactScore": 5.9
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-06T00:00:00+00:00",
          "id": "CVE-2026-57817",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-20"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
              "versionEndExcluding": "3.6.12",
              "matchCriteriaId": "09753EF1-BB56-4238-8ED7-609E2AB5EB05"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.0.0",
              "versionEndExcluding": "4.1.8",
              "matchCriteriaId": "801F031C-B5F5-4CF5-B9A5-DD9AA2F76A66"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.2.0",
              "versionEndExcluding": "4.2.3",
              "matchCriteriaId": "A112761E-E622-4AE5-9BE6-47A247021D4F"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://lists.apache.org/thread/pj63c3pf7kkp1xhr53do704fwj3t3htn",
      "source": "[email protected]",
      "tags": [
        "Mailing List",
        "Vendor Advisory"
      ]
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2026/08/06/19",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ]
}