Skip to content
Heist/ feed
Back to feed
High

Keycloak: path traversal in the redirect validation

Type: advisorySources: OSV

A flaw was found in Keycloak's redirect_uri validation logic. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to the theft of an access token, making it possible for the attacker to impersonate other users. It is very similar to CVE-2023-6291.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-2419
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:05 UTC · Revision 1

Source evidence

Keycloak: path traversal in the redirect validation

core-osv · Original source

Published 17 Apr 2024, 13:23 UTC

A flaw was found in Keycloak's redirect_uri validation logic. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to the theft of an access token, making it possible for the attacker to impersonate other users. It is very similar to CVE-2023-6291.

osv:CVE-2024-2419
Complete source record
{
  "id": "2c71b17e619893a6395951b9d88b5e604060daf46a7196e05036a44b9780fccc",
  "url": "https://osv.dev/vulnerability/CVE-2024-2419",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Keycloak: path traversal in the redirect validation",
    "summary": "A flaw was found in Keycloak's redirect_uri validation logic. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to the theft of an access token, making it possible for the attacker to impersonate other users. It is very similar to CVE-2023-6291.",
    "evidence": "osv:CVE-2024-2419",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-2419",
      "aliases": [
        "CVE-2024-2419",
        "GHSA-mrv8-pqfj-7gp5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/keycloak/keycloak",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "bf8c3c32e53449a632381605f1162fafe9abe8eb"
                },
                {
                  "introduced": "1d4ce3d8e9dbc9af996f9248996c78e145902a35"
                },
                {
                  "fixed": "27d38787d9eae0854f79a358cda77f834008b71a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "22.0.10"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "23.0.0"
                      },
                      {
                        "fixed": "24.0.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.4.0.Test",
            "1.3.0.Final",
            "1.1.0.Beta2",
            "1.0.0.Final",
            "1.0-final",
            "1.0-rc-1",
            "1.0-beta-4",
            "1.0-beta-2",
            "1.0-beta-1",
            "1.0-alpha-3",
            "1.0-alpha-2",
            "1.0-alpha-1",
            "1.0-alpha-1-12062013"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2419.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.361140898Z",
      "provider": "osv",
      "references": [
        "https://catalog.redhat.com/software/containers/",
        "https://access.redhat.com/errata/RHSA-2024:1867",
        "https://access.redhat.com/security/cve/CVE-2024-2419",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2419.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-2419",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2269371",
        "https://github.com/keycloak/keycloak"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-601"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "22.0.10-1"
                  },
                  {
                    "fixed": "22-13"
                  },
                  {
                    "fixed": "22-16"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2419.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-2419",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521192,
  "published_at": "2024-04-17T13:23:34.652+00:00"
}