Skip to content
Heist/ feed
Back to feed
High

Keycloak: redirect_uri validation bypass

Type: advisorySources: OSV

A flaw was found in the redirect_uri validation logic in Keycloak. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to an access token being stolen, making it possible for the attacker to impersonate other users.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-6291
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:37 UTC · Revision 1

Source evidence

Keycloak: redirect_uri validation bypass

core-osv · Original source

Published 26 Jan 2024, 14:23 UTC

A flaw was found in the redirect_uri validation logic in Keycloak. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to an access token being stolen, making it possible for the attacker to impersonate other users.

osv:CVE-2023-6291
Complete source record
{
  "id": "b20573d8cdca0575884c7b5680c1d1d6f86a895c65c581d05a837d77cddf26f9",
  "url": "https://osv.dev/vulnerability/CVE-2023-6291",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Keycloak: redirect_uri validation bypass",
    "summary": "A flaw was found in the redirect_uri validation logic in Keycloak. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to an access token being stolen, making it possible for the attacker to impersonate other users.",
    "evidence": "osv:CVE-2023-6291",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-6291",
      "aliases": [
        "CVE-2023-6291",
        "GHSA-mpwq-j3xf-7m5w"
      ],
      "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": "0ccd72b0b06a6d30c17a8f951860be3d6de9dabf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "22.0.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "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-2023-6291.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.947469769Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://access.redhat.com/jbossnetwork/restricted/listSoftware.html",
        "https://catalog.redhat.com/software/containers/",
        "https://access.redhat.com/errata/RHSA-2023:7854",
        "https://access.redhat.com/errata/RHSA-2023:7855",
        "https://access.redhat.com/errata/RHSA-2023:7856",
        "https://access.redhat.com/errata/RHSA-2023:7857",
        "https://access.redhat.com/errata/RHSA-2023:7858",
        "https://access.redhat.com/errata/RHSA-2023:7860",
        "https://access.redhat.com/errata/RHSA-2023:7861",
        "https://access.redhat.com/errata/RHSA-2024:0798",
        "https://access.redhat.com/errata/RHSA-2024:0799",
        "https://access.redhat.com/errata/RHSA-2024:0800",
        "https://access.redhat.com/errata/RHSA-2024:0801",
        "https://access.redhat.com/errata/RHSA-2024:0804",
        "https://access.redhat.com/security/cve/CVE-2023-6291",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6291.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-6291",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2251407"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-601"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "22.0.7-1"
                  },
                  {
                    "fixed": "22-6"
                  },
                  {
                    "fixed": "22-9"
                  },
                  {
                    "fixed": "0:18.0.11-2.redhat_00003.1.el7sso"
                  },
                  {
                    "fixed": "0:18.0.12-1.redhat_00001.1.el7sso"
                  },
                  {
                    "fixed": "0:18.0.11-2.redhat_00003.1.el8sso"
                  },
                  {
                    "fixed": "0:18.0.12-1.redhat_00001.1.el8sso"
                  },
                  {
                    "fixed": "0:18.0.11-2.redhat_00003.1.el9sso"
                  },
                  {
                    "fixed": "0:18.0.12-1.redhat_00001.1.el9sso"
                  },
                  {
                    "fixed": "7.6-38"
                  },
                  {
                    "fixed": "7.6.6-2"
                  },
                  {
                    "fixed": "7.6-41"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6291.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-6291",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521853,
  "published_at": "2024-01-26T14:23:43.185+00:00"
}