Servers and applications
GHSA-6hq4-74jm-4hj4
Account takeover via password reset code returned without user.write
- Severity
- High 7.3
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Fixed in
- 4.20.8
- Attack
- Over the network · Needs a user account · Needs someone to click or open something
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N- Sources
- Project advisories (GitHub)
Description
ZITADEL’s User Service v2 API allowed a user to retrieve a password-reset code for their own account in plaintext without holding the user.write permission. Because an access token issued to any application through a normal OIDC sign-in can carry the ZITADEL API audience, an application operator who obtains such a token — after a victim signs in to their application — could read the victim’s reset code directly from the API response and use it to set a new password for the victim’s account.
The flaw was in the password-reset endpoint’s authorization check: the “return the code in the response” mode was treated as self-service and skipped the user.write requirement, unlike the equivalent email- and phone-code endpoints, which already restrict in-band code return to privileged callers.
An attacker who operates an application registered in the same ZITADEL instance as the victim, and who obtains a victim access token bearing the ZITADEL API audience…
Workarounds
The recommended solution is to upgrade to a patched version.
There is no configuration that fully closes this gap on unpatched versions.
Affected software
| Software | Affected versions |
|---|---|
ZITADELServers and applications · github:zitadel/zitadel |
|
About ZITADEL
ZITADEL - Identity infrastructure, simplified for you.
- GitHub stars
- 15,672GitHub, 29 Nov 2026
- Forks
- 1,447GitHub, 29 Nov 2026
- Latest release
- v4.20.6GitHub, 29 Nov 2026
- Released
- 25 Nov 2026GitHub
- License
- AGPL-3.0GitHub
- First published on GitHub
- 16 Mar 2020GitHub
Vulnerabilities in ZITADEL
- In our list
- 110
- Published in the last 12 months
- 79
- Critical, last 12 months
- 15
- High, last 12 months
- 42
- Known exploited
- 0
- GHSA-68mv-8rxc-2rrrPrivilege escalation by creating a user with the ID of a user in another organizationCritical 9.6 1 Dec 2026
- GHSA-j24h-w6rf-r4c6Management API allows organization managers to modify user grants in other organizationsHigh 7.1 1 Dec 2026
- GHSA-qx3g-qf45-rmvqPrivilege escalation to instance and system administrator via project creationCritical 9.9 1 Dec 2026
- GHSA-8cr2-7rvm-hxq5Account takeover via host header in the identity provider flow of Login V2High 8.1 1 Dec 2026
- GHSA-g8gm-547r-665mUnauthenticated user attribute disclosure via SAML AttributeQueryHigh 7.5 1 Dec 2026
- CVE-2026-135175ZITADEL 4.19.5 before 4.20.3 Account Takeover via x-zitadel-public-host HeaderHigh 8.6 23 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-6hq4-74jm-4hj4
- github.com https://github.com/zitadel/zitadel/security/advisories/GHSA-6hq4-74jm-4hj4