CVE-2025-67494: Github.com/zitadel/zitadel ZITADEL Vulnerable To Unauthenticated Full-Read Vulnerability

CRITICAL
Advisory Identifier: GHSA-7wfc-4796-gmg5
CVSS 9.3
CWE-918
Published
Advisory Summary

CVE-2025-67494 is a CRITICAL (CVSS 9.3) zitadel vulnerable to unauthenticated full-read vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Github.com/zitadel/zitadel libraries in the Go ecosystem. The issue involves zitadel vulnerable to unauthenticated full-read ssrf via v2 login. Remediation is available by upgrading affected packages to version 1.80.0-v2.20.0.20251208091519-4c879b47334e, 4.7.1.

CVE-2025-67494 at a Glance

CVE Identifier CVE-2025-67494
GHSA Identifier GHSA-7wfc-4796-gmg5
Severity CRITICAL
CVSS v3.1 Base Score 9.3
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Github.com/zitadel/zitadel
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-67494

To remediate this vulnerability, upgrade all affected Github.com/zitadel/zitadel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/zitadel/zitadel fixed: 1.80.0-v2.20.0.20251208091519-4c879b47334e
Upgrade github.com/zitadel/zitadel to 1.80.0-v2.20.0.20251208091519-4c879b47334e
github.com/zitadel/zitadel fixed: Latest secure release
Upgrade github.com/zitadel/zitadel to Latest secure release
github.com/zitadel/zitadel fixed: 4.7.1
Upgrade github.com/zitadel/zitadel to 4.7.1
github.com/zitadel/zitadel/v2 fixed: 1.80.0-v2.20.0.20251208091519-4c879b47334e
Upgrade github.com/zitadel/zitadel/v2 to 1.80.0-v2.20.0.20251208091519-4c879b47334e
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/zitadel/zitadel

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-67494, inspect your project dependencies for Github.com/zitadel/zitadel:

inspect dependencies for github.com/zitadel/zitadel

Analyze the terminal output to locate any version of Github.com/zitadel/zitadel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.80.0-v2.20.0.20251208091519-4c879b47334e), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Github.com/zitadel/zitadel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Zitadel is vulnerable to an unauthenticated, full-read SSRF vulnerability. An unauthenticated remote attacker can force Zitadel into making HTTP requests to arbitrary domains, including internal addresses. The server then returns the upstream response to the attacker, enabling data exfiltration from internal services. ### Impact ZITADEL Login UI (V2) was vulnerable to service URL manipulation through the x-zitadel-forward-host header. The service URL resolution logic treated the header as a trusted fallback for all deployments, including self-hosted instances. This allowed unauthenticated attacker to force the server to make outbound requests and read the responses, reaching internal services, exfiltrating data, and bypassing IP-based or network-segmentation controls. ### Affected Versions Systems using the login UI (v2) and running one of the following versions are affected: - **v4.x**: `4.0.0-rc.1` through `4.7.0` ### Patches The vulnerability has been addressed in the latest release. The patch resolves the issue by correctly validating the x-zitadel-forward-host, resp. all forwarded headers against the instance domains and trusted domains. It's no longer used to route traffic to the Zitadel API. Before you upgrade, ensure that: - the `ZITADEL_API_URL` is set and is pointing to your instance, resp. system in multi-instance deployments. - the HTTP `host` (or a `x-forwarded-host`) is passed in your reverse proxy to the login UI. - a `x-zitadel-instance-host` (or `x-zitadel-forward-host`) is set in your reverse for multi-instance deployments. If you're running a single instance solution, you don't need to take any actions. Fixed versions: - 4.x: Upgrade to >=[4.7.1](https://github.com/zitadel/zitadel/releases/tag/v4.7.1) ### Workarounds The recommended solution is to update ZITADEL to a patched version. A ZITADEL fronting proxy can be configured to delete all `x-zitadel-forward-host` header values or set it to the requested host before sending requests to ZITADEL self-hosted environments. ### Questions If you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com) ### Credits Thanks to Amit Laish – GE Vernova for finding and reporting the vulnerability.

CVE-2025-67494 Affected Github.com/zitadel/zitadel Versions

4 component(s)
Fixed Versions:
1.80.0-v2.20.0.20251208091519-4c879b47334e4.7.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/zitadel/zitadel
Go
< 1.80.0-v2.20.0.20251208091519-4c879b47334e
1.80.0-v2.20.0.20251208091519-4c879b47334e
github.com/zitadel/zitadel
Go
≥ 1.83.4
≤ 1.87.5
github.com/zitadel/zitadel
Go
≥ 4.0.0-rc.1
< 4.7.1
4.7.1
github.com/zitadel/zitadel/v2
Go
< 1.80.0-v2.20.0.20251208091519-4c879b47334e
1.80.0-v2.20.0.20251208091519-4c879b47334e

References

Frequently Asked Questions

What is CVE-2025-67494?
CVE-2025-67494 is a security vulnerability in Github.com/zitadel/zitadel involving ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login under CWE-918: Server-Side Request Forgery (SSRF).
Which Github.com/zitadel/zitadel versions are affected?
Affected versions include releases prior to 1.80.0-v2.20.0.20251208091519-4c879b47334e, 4.7.1 across affected packages: github.com/zitadel/zitadel, github.com/zitadel/zitadel/v2.
What version fixes CVE-2025-67494?
Upgrading to 1.80.0-v2.20.0.20251208091519-4c879b47334e, 4.7.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/zitadel/zitadel affected?
Yes, github.com/zitadel/zitadel is affected in releases prior to 1.80.0-v2.20.0.20251208091519-4c879b47334e, Latest secure release, 4.7.1. Upgrade your dependency to 1.80.0-v2.20.0.20251208091519-4c879b47334e, Latest secure release, 4.7.1 or later.
Is github.com/zitadel/zitadel/v2 affected?
Yes, github.com/zitadel/zitadel/v2 is affected in releases prior to 1.80.0-v2.20.0.20251208091519-4c879b47334e. Upgrade your dependency to 1.80.0-v2.20.0.20251208091519-4c879b47334e or later.
What is the CVSS score of CVE-2025-67494?
CVE-2025-67494 has a CVSS v3.1 base score of 9.3 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N.
What CWE is associated with CVE-2025-67494?
CVE-2025-67494 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check Go dependencies for CVE-2025-67494?
Run the dependency tree command: 'inspect dependencies for github.com/zitadel/zitadel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7wfc-4796-gmg5",
  "modified" : "2025-12-10T15:45:58Z",
  "published" : "2025-12-08T22:19:04Z",
  "aliases" : [ "CVE-2025-67494" ],
  "summary" : "ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login",
  "details" : "### Summary\n\nZitadel is vulnerable to an unauthenticated, full-read SSRF vulnerability. An unauthenticated remote attacker can force Zitadel into making HTTP requests to arbitrary domains, including internal addresses. The server then returns the upstream response to the attacker, enabling data exfiltration from internal services.\n\n### Impact\n\nZITADEL Login UI (V2) was vulnerable to service URL manipulation through the x-zitadel-forward-host header. The service URL resolution logic treated the header as a trusted fallback for all deployments, including self-hosted instances. This allowed unauthenticated attacker to force the server to make outbound requests and read the responses, reaching internal services, exfiltrating data, and bypassing IP-based or network-segmentation controls. \n \n### Affected Versions\n\nSystems using the login UI (v2) and running one of the following versions are affected:\n- **v4.x**: `4.0.0-rc.1` through `4.7.0`\n\n### Patches\n\nThe vulnerability has been addressed in the latest release. The patch resolves the issue by correctly validating the x-zitadel-forward-host, resp. all forwarded headers against the instance domains and trusted domains. It's no longer used to route traffic to the Zitadel API.\n\nBefore you upgrade, ensure that:\n- the `ZITADEL_API_URL` is set and is pointing to your instance, resp. system in multi-instance deployments.\n- the HTTP `host` (or a `x-forwarded-host`) is passed in your reverse proxy to the login UI.\n- a `x-zitadel-instance-host` (or `x-zitadel-forward-host`) is set in your reverse for multi-instance deployments. If you're running a single instance solution, you don't need to take any actions.\n\nFixed versions:\n- 4.x: Upgrade to >=[4.7.1](https://github.com/zitadel/zitadel/releases/tag/v4.7.1)\n\n### Workarounds\n\nThe recommended solution is to update ZITADEL to a patched version.\n\nA ZITADEL fronting proxy can be configured to delete all `x-zitadel-forward-host` header values or set it to the requested host before sending requests to ZITADEL self-hosted environments.\n\n### Questions\n\nIf you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)\n\n### Credits\n\nThanks to Amit Laish – GE Vernova for finding and reporting the vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.80.0-v2.20.0.20251208091519-4c879b47334e"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.83.4"
      }, {
        "last_affected" : "1.87.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0-rc.1"
      }, {
        "fixed" : "4.7.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.80.0-v2.20.0.20251208091519-4c879b47334e"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/security/advisories/GHSA-7wfc-4796-gmg5"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67494"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/commit/4c879b47334e01d4fcab921ac1b44eda39acdb96"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zitadel/zitadel"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-08T22:19:04Z",
    "nvd_published_at" : "2025-12-09T22:16:16Z"
  }
}