Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-64103

Zitadel May Bypass Second Authentication Factor
Back to all
CVE

CVE-2025-64103

Zitadel May Bypass Second Authentication Factor

Summary

A vulnerability in Zitadel's token verification prematurely marked sessions as authenticated when only one factor was verified. 

Impact

Zitadel provides an API for managing sessions, enabling custom login experiences in a dedicated UI or direct integration into applications. Session Tokens are issued for active sessions, which can be used as Bearer tokens to call the Zitadel API.

Starting from 2.55.0 (see other affected versions below), Zitadel only required multi factor authentication in case the login policy has either enabled requireMFA or requireMFAForLocalUsers. If a user has set up MFA without this requirement, Zitadel would consider single factor auhtenticated sessions as valid as well and not require multiple factors.

Bypassing second authentication factors weakens multifactor authentication and enables attackers to bypass the more secure factor. An attacker can target the TOTP code alone, only six digits, bypassing password verification entirely and potentially compromising accounts with 2FA enabled.

Affected Versions

Systems using the session API (v2 beta and v2) directly or via the new login UI in the following versions are affected:

  • 4.x4.0.0 to 4.5.0 (including RC versions)
  • 3.x3.0.0 to 3.4.2 (including RC versions)
  • 2.xv2.53.6 to v2.53.9,  v2.54.3 to v2.54.102.55.0 to 2.71.17

Patches

The vulnerability has been addressed in the latest releases. The patch resolves the issue by requiring a configured second factor regardless of the login policies requireMFA or requireMFAForLocalUsers configuration.

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.

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.7
-
4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://github.com/zitadel/zitadel/security/advisories/GHSA-cfjq-28r2-4jv5, https://nvd.nist.gov/vuln/detail/CVE-2025-64103, https://github.com/zitadel/zitadel/commit/b284f8474eed0cba531905101619e7ae7963156b, https://github.com/zitadel/zitadel, https://pkg.go.dev/vuln/GO-2025-4083

Severity

9.8

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
9.8
EPSS Probability
0.00131%
EPSS Percentile
0.33296%
Introduced Version
2.53.6,2.54.3,2.55.0,0
Fix Available
2.71.18,1.80.0-v2.20.0.20251029091250-b284f8474eed

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading