CVE-2025-67717
JSON

5.3medium

Zitadel Discloses the Total Number of Instance Users

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-f4cf-9rvr-2rcxGO-2025-4227

Description

ZITADEL is an open-source identity infrastructure tool. Versions 2.44.0 through 3.4.4 and 4.0.0-rc.1 through 4.7.1 disclose the total number of instance users to authenticated users, 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. This issue is fixed in versions 3.4.5 and 4.7.2.

Affected

Product or packageVersionsReported by
zitadel zitadel< 1.80.0-v2.20.0.20251210, >= 2.44.0, < 3.4.5, >= 4.0.0-rc.1, < 4.7.2, from 2.44.0 up to 2.71.19, from 3.0.0 before 3.4.5, from 4.0.0 before 4.7.2CVE List, NVD
github.com/zitadel/zitadel (Go)from 4.0.0-rc.1 before 4.7.2, from 2.44.0 before 3.4.5, before 1.80.0-v2.20.0.20251210121356-826039c6208fGitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-497

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

ZITADEL is an open-source identity infrastructure tool. Versions 2.44.0 through 3.4.4 and 4.0.0-rc.1 through 4.7.1 disclose the total number of instance users to authenticated users, 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. This issue is fixed in versions 3.4.5 and 4.7.2.

GitHub Advisory Database
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
  • 3.x: Update to >= 3.4.5
  • 2.x: Update to >= 3.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

Credits

This vulnerability was found by zentrust partners GmbH 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.

Go Vulnerability Database

Zitadel Discloses the Total Number of Instance Users in github.com/zitadel/zitadel.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/zitadel/zitadel from v2.44.0 before v3.4.5, from v4.0.0-rc.1 before v4.7.2.

NVD (es)

ZITADEL es una herramienta de infraestructura de identidad de código abierto. Las versiones 2.44.0 a 3.4.4 y 4.0.0-rc.1 a 4.7.1 revelan el número total de usuarios de la instancia a usuarios autenticados, independientemente de sus permisos específicos. Aunque esto no filtra datos de usuarios individuales ni PII, la revelación del recuento total de usuarios a través del campo totalResult constituye una vulnerabilidad de revelación de información que puede ser sensible en ciertos contextos. Este problema está solucionado en las versiones 3.4.5 y 4.7.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-67717 changed 2025-12-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-f4cf-9rvr-2rcx changed 2026-02-03CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4227 changed 2025-12-15CC-BY-4.0
NVDCVE-2025-67717 changed 2026-10-14Public domain