GHSA-f4cf-9rvr-2rcx

Suggest an improvement
Source
https://github.com/advisories/GHSA-f4cf-9rvr-2rcx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-f4cf-9rvr-2rcx/GHSA-f4cf-9rvr-2rcx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f4cf-9rvr-2rcx
Aliases
Published
2025-12-10T18:20:01Z
Modified
2025-12-11T16:23:02.774858Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Zitadel Discloses the Total Number of Instance Users
Details

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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2025-12-10T18:20:01Z",
    "nvd_published_at": "2025-12-11T01:16:01Z",
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-497"
    ]
}
References

Affected packages

Go / github.com/zitadel/zitadel

Package

Name
github.com/zitadel/zitadel
View open source insights on deps.dev
Purl
pkg:golang/github.com/zitadel/zitadel

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0-rc.1
Fixed
4.7.2

Database specific

last_known_affected_version_range

"<= 4.7.1"

Go / github.com/zitadel/zitadel

Package

Name
github.com/zitadel/zitadel
View open source insights on deps.dev
Purl
pkg:golang/github.com/zitadel/zitadel

Affected ranges

Type
SEMVER
Events
Introduced
2.44.0
Fixed
3.4.5

Database specific

last_known_affected_version_range

"<= 3.4.4"

Go / github.com/zitadel/zitadel

Package

Name
github.com/zitadel/zitadel
View open source insights on deps.dev
Purl
pkg:golang/github.com/zitadel/zitadel

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.80.0-v2.20.0.20251210121356-826039c6208f