CVE-2025-64102 — Vulnerability in github.com/zitadel/zitadel
Zitadel allows brute-forcing authentication factors
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.61%). Schedule for your next planned update.
Does your project use an affected github.com/zitadel/zitadel version?
Paste your go.sum to check it for CVE-2025-64102 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
A vulnerability in Zitadel allowed brute-force attack on OTP, TOTP and password allowing to impersonate the attacked user.
Impact
An attacker can perform an online brute-force attack on OTP, TOTP, and passwords. While Zitadel allows preventing online brute force attacks in scenarios like TOTP, Email OTP, or passwords using a lockout mechanism. The mechanism is not enabled by default and can cause a denial of service for the corresponding user if enabled. Additionally, the mitigation strategies were not fully implemented in the more recent resource-based APIs.
Affected Versions
All versions within the following ranges, including release candidates (RCs), are affected:
- 4.x:
4.0.0to4.4.0(including RC versions) - 3.x:
3.0.0to3.4.2(including RC versions) - 2.x:
v2.0.0to2.71.17
Patches
The vulnerability has been addressed in the latest releases. The patch resolves the issue by enforcing the lockout policy on all OTP, TOTP and password checks. Additionally a “tar pit” has been introduced to slow down brute-force attacks by default. Zitadel responses will be delayed by t seconds, where t increases over the number of failed attempts within a given timeframe.
4.x: Upgrade to >=4.6.0 3.x: Update to >=3.4.3 2.x: Update to >=2.71.18
Workarounds
The recommended solution is to update Zitadel to a patched version.
The problem might be mitigated by enabling the optional logout policy ("Password maximum attempts") or by implementing more strict rate limits.
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.
Advisory Timeline
- First published October 29, 2025 (393 days ago).
- Last revised November 5, 2025 — 7 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/zitadel/zitadel@v1.80.0-v2.20.0.20251029090735-b8db8cdf9cc8
go get github.com/zitadel/zitadel/v2@v2.71.18
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Go (2).
| Package | Fixed In |
|---|---|
| github.com/zitadel/zitadel Go · Affected: All versions | 1.80.0-v2.20.0.20251029090735-b8db8cdf9cc8 |
| github.com/zitadel/zitadel/v2 Go · Affected: All versions | 2.71.18 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-307
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.4 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
Frequently Asked Questions
- What is CVE-2025-64102?
- Zitadel allows brute-forcing authentication factors. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.4/10).
- How do I check if my project is affected by CVE-2025-64102?
- CVE-2025-64102 affects github.com/zitadel/zitadel and github.com/zitadel/zitadel/v2. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-64102 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 43.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2025-67494CRITICAL
ZITADEL Vulnerable to Unauthenticated Full-Read SSRF via V2 Login
- CVE-2025-27507CRITICAL
IDOR Vulnerabilities in ZITADEL's Admin API that Primarily Impact LDAP Configurations
- CVE-2026-29191CRITICAL
ZITADEL has 1-Click Account Takeover via XSS in /saml-post Endpoint
- CVE-2026-29193HIGH
ZITADEL: Login V2 UI Policy Bypass Allows Unauthorized Self-Registration and Authentication
- CVE-2025-48936HIGH
ZITADEL Allows Account Takeover via Malicious X-Forwarded-Proto Header Injection
- CVE-2025-64103HIGH
Zitadel May Bypass Second Authentication Factor
- CVE-2026-29067HIGH
ZITADEL Vulnerable to Account Takeover Due to Improper Instance Validation in V2 Login
- CVE-2025-67495HIGH
ZITADEL Vulnerable to Account Takeover via DOM-Based XSS in Zitadel V2 Login