CVE-2025-67717: Github.com/zitadel/zitadel Zitadel Discloses The Total Number Vulnerability

MODERATE
Advisory Identifier: GHSA-f4cf-9rvr-2rcx
CVSS 4.3
CWE-497
Published
Advisory Summary

CVE-2025-67717 is a MODERATE (CVSS 4.3) zitadel discloses the total number vulnerability (CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere) affecting Github.com/zitadel/zitadel libraries in the Go ecosystem. The issue involves zitadel discloses the total number of instance users. Remediation is available by upgrading affected packages to version 4.7.2, 3.4.5, 1.80.0-v2.20.0.20251210121356-826039c6208f.

CVE-2025-67717 at a Glance

CVE Identifier CVE-2025-67717
GHSA Identifier GHSA-f4cf-9rvr-2rcx
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere
Affected Product Github.com/zitadel/zitadel
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

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

How to Fix CVE-2025-67717

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: 4.7.2
Upgrade github.com/zitadel/zitadel to 4.7.2
github.com/zitadel/zitadel fixed: 3.4.5
Upgrade github.com/zitadel/zitadel to 3.4.5
github.com/zitadel/zitadel fixed: 1.80.0-v2.20.0.20251210121356-826039c6208f
Upgrade github.com/zitadel/zitadel to 1.80.0-v2.20.0.20251210121356-826039c6208f
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-67717, 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 4.7.2), 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-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere, where the product does not properly prevent sensitive system-level information from being accessed by unauthorized actors who do not have the same level of access to the underlying system as the product does. 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's User Service discloses the total number of instance users to unauthorized users. ### Impact The ZITADEL User Service exposes the total number of users within an instance to any authenticated user, regardless of their specific permissions. While this does not leak individual user data or PII, disclosing the total user count via the `totalResult` field constitutes an information disclosure vulnerability that may be sensitive in certain contexts. ### Affected Versions Systems running one of the following version are affected: - **4.x**: `4.0.0-rc.1` through `4.7.1` - **3.x**: `3.0.0-rc.1` through `3.4.4` - **2.x**: `2.44.0` through `2.71.19` ### Patches The vulnerability has been addressed in the latest release. The patch resolves the issue and returns the `totalResult` value corresponding to the number of instance users for whom the querying user has read permission. - 4.x: Upgrade to >= [4.7.2](https://github.com/zitadel/zitadel/releases/tag/v4.7.2) - 3.x: Update to >= [3.4.5](https://github.com/zitadel/zitadel/releases/tag/v3.4.5) - 2.x: Update to >= [3.4.5](https://github.com/zitadel/zitadel/releases/tag/v3.4.5) (or checkout the workarounds section) ### Workarounds The recommended solution is to update Zitadel to a patched version. If a version upgrade is not possible, you can enable the `permissionCheckV2` feature on your instance. ### Questions If you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com) ### Credits This vulnerability was found by [zentrust partners GmbH](https://zentrust.partners) during a scheduled penetration test. Thank you to the analysts Martin Tschirsich, Joud Zakharia, Christopher Baumann. The full report will be made public after the complete review.

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

3 component(s)
Fixed Versions:
4.7.23.4.51.80.0-v2.20.0.20251210121356-826039c6208f
Product / Package Ecosystem Affected Versions Fixed Version
github.com/zitadel/zitadel
Go
≥ 4.0.0-rc.1
< 4.7.2
4.7.2
github.com/zitadel/zitadel
Go
≥ 2.44.0
< 3.4.5
3.4.5
github.com/zitadel/zitadel
Go
< 1.80.0-v2.20.0.20251210121356-826039c6208f
1.80.0-v2.20.0.20251210121356-826039c6208f

References

Frequently Asked Questions

What is CVE-2025-67717?
CVE-2025-67717 is a security vulnerability in Github.com/zitadel/zitadel involving Zitadel Discloses the Total Number of Instance Users under CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere.
Which Github.com/zitadel/zitadel versions are affected?
Affected versions include releases prior to 4.7.2, 3.4.5, 1.80.0-v2.20.0.20251210121356-826039c6208f across affected packages: github.com/zitadel/zitadel.
What version fixes CVE-2025-67717?
Upgrading to 4.7.2, 3.4.5, 1.80.0-v2.20.0.20251210121356-826039c6208f (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 4.7.2, 3.4.5, 1.80.0-v2.20.0.20251210121356-826039c6208f. Upgrade your dependency to 4.7.2, 3.4.5, 1.80.0-v2.20.0.20251210121356-826039c6208f or later.
What is the CVSS score of CVE-2025-67717?
CVE-2025-67717 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-67717?
CVE-2025-67717 is classified under CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere (The product does not properly prevent sensitive system-level information from being accessed by unauthorized actors who do not have the same level of access to the underlying system as the product does.).
How can I check Go dependencies for CVE-2025-67717?
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-f4cf-9rvr-2rcx",
  "modified" : "2026-02-02T16:34:14Z",
  "published" : "2025-12-10T18:20:01Z",
  "aliases" : [ "CVE-2025-67717" ],
  "summary" : "Zitadel Discloses the Total Number of Instance Users",
  "details" : "### Summary\n\nZitadel's User Service discloses the total number of instance users to unauthorized users.\n\n### Impact\n\nThe ZITADEL User Service exposes the total number of users within an instance to any authenticated user, regardless of their specific permissions. While this does not leak individual user data or PII, disclosing the total user count via the `totalResult` field constitutes an information disclosure vulnerability that may be sensitive in certain contexts.\n\n### Affected Versions\n\nSystems running one of the following version are affected:\n\n- **4.x**: `4.0.0-rc.1` through `4.7.1`\n- **3.x**: `3.0.0-rc.1` through `3.4.4`\n- **2.x**: `2.44.0` through `2.71.19`\n\n### Patches\n\nThe vulnerability has been addressed in the latest release. The patch resolves the issue and returns the `totalResult` value corresponding to the number of instance users for whom the querying user has read permission.\n\n- 4.x: Upgrade to >= [4.7.2](https://github.com/zitadel/zitadel/releases/tag/v4.7.2)\n- 3.x: Update to >= [3.4.5](https://github.com/zitadel/zitadel/releases/tag/v3.4.5)\n- 2.x: Update to >= [3.4.5](https://github.com/zitadel/zitadel/releases/tag/v3.4.5) (or checkout the workarounds section)\n\n### Workarounds\n\nThe recommended solution is to update Zitadel to a patched version.\n\nIf a version upgrade is not possible, you can enable the `permissionCheckV2` feature on your instance.\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\nThis vulnerability was found by [zentrust partners GmbH](https://zentrust.partners) during a scheduled penetration test. Thank you to the analysts Martin Tschirsich, Joud Zakharia, Christopher Baumann.\nThe full report will be made public after the complete review.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0-rc.1"
      }, {
        "fixed" : "4.7.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.7.1"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.44.0"
      }, {
        "fixed" : "3.4.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.4.4"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zitadel/zitadel"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.80.0-v2.20.0.20251210121356-826039c6208f"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/security/advisories/GHSA-f4cf-9rvr-2rcx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67717"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zitadel/zitadel/commit/826039c6208fe71df57b3a94c982b5ac5b0af12c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zitadel/zitadel"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-497" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-10T18:20:01Z",
    "nvd_published_at" : "2025-12-11T01:16:01Z"
  }
}