Skip to content
Heist/ feed
Back to feed
High

ZITADEL vulnerable account takeover via malicious host header injection

Type: advisorySources: OSV

ZITADEL is an identity infrastructure system. ZITADEL uses the notification triggering requests Forwarded or X-Forwarded-Host header to build the button link sent in emails for confirming a password reset with the emailed code. If this header is overwritten and a user clicks the link to a malicious site in the email, the secret code can be retrieved and used to reset the users password and take over his account. Accounts with MFA or Passwordless enabled can not be taken over by this attack. This issue has been patched in versions 2.41.6, 2.40.10 and 2.39.9.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-49097
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:15 UTC · Revision 1

Source evidence

ZITADEL vulnerable account takeover via malicious host header injection

core-osv · Original source

Published 30 Nov 2023, 04:45 UTC

ZITADEL is an identity infrastructure system. ZITADEL uses the notification triggering requests Forwarded or X-Forwarded-Host header to build the button link sent in emails for confirming a password reset with the emailed code. If this header is overwritten and a user clicks the link to a malicious site in the email, the secret code can be retrieved and used to reset the users password and take over his account. Accounts with MFA or Passwordless enabled can not be taken over by this attack. This issue has been patched in versions 2.41.6, 2.40.10 and 2.39.9.

osv:CVE-2023-49097
Complete source record
{
  "id": "0dada1e0658630d9e4bee6799ed95ffb38e8400561617cf58a3481ec4740baaf",
  "url": "https://osv.dev/vulnerability/CVE-2023-49097",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ZITADEL vulnerable account takeover via malicious host header injection",
    "summary": "ZITADEL is an identity infrastructure system. ZITADEL uses the notification triggering requests Forwarded or X-Forwarded-Host header to build the button link sent in emails for confirming a password reset with the emailed code. If this header is overwritten and a user clicks the link to a malicious site in the email, the secret code can be retrieved and used to reset the users password and take over his account. Accounts with MFA or Passwordless enabled can not be taken over by this attack. This issue has been patched in versions 2.41.6, 2.40.10 and 2.39.9.",
    "evidence": "osv:CVE-2023-49097",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-49097",
      "aliases": [
        "CVE-2023-49097",
        "GHSA-2wmj-46rj-qm2w"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zitadel/zitadel",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ba33a2ee8a07389f9dcdda09f82ca2047fe6f55d"
                },
                {
                  "fixed": "b5d7aee72e5ec0996447e9b7306e1134a8874b16"
                },
                {
                  "introduced": "233b90f0048920132adf18e23a9a337d8f351b6e"
                },
                {
                  "fixed": "34fbb48a1a3d94bd5d5bf0db49dab16f8713d5c9"
                },
                {
                  "introduced": "af24208b38a5c489d16358819e61641953af19a7"
                },
                {
                  "fixed": "f9f9573e516f495866507b4a614290d7a933b20b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.39.0"
                      },
                      {
                        "fixed": "2.39.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.40.0"
                      },
                      {
                        "fixed": "2.40.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.41.0"
                      },
                      {
                        "fixed": "2.41.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.39.8",
            "v2.40.9",
            "v2.41.5",
            "v2.39.7",
            "v2.40.8",
            "v2.41.4",
            "v2.39.6",
            "v2.40.7",
            "v2.41.3",
            "v2.39.5",
            "v2.40.6",
            "v2.41.2",
            "v2.40.5",
            "v2.39.4",
            "v2.41.1",
            "v2.41.0",
            "v2.40.4",
            "v2.40.3",
            "v2.39.3",
            "v2.40.2",
            "v2.40.1",
            "v2.40.0",
            "v2.39.2",
            "v2.39.1",
            "v2.39.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49097.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.580479843Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49097.json",
        "https://github.com/zitadel/zitadel/security/advisories/GHSA-2wmj-46rj-qm2w",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-49097"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-640"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49097.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-49097",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506061,
  "published_at": "2023-11-30T04:45:49.675+00:00"
}