Skip to main content

CVE-2025-64103 — Vulnerability in zitadel/zitadel/v2 — CVE Details

HIGH

Zitadel May Bypass Second Authentication Factor

Published October 29, 2025Updated November 5, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.70%). Schedule for your next planned update.

Does your project use an affected github.com/zitadel/zitadel/v2 version?

Paste your go.sum to check it for CVE-2025-64103 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.

Check my go.sum

Summary

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.x: 4.0.0 to 4.5.0 (including RC versions)
  • 3.x: 3.0.0 to 3.4.2 (including RC versions)
  • 2.x: v2.53.6 to v2.53.9, v2.54.3 to v2.54.10, 2.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.

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
Update github.com/zitadel/zitadel/v2 to 2.71.18 or later
go get github.com/zitadel/zitadel/v2@v2.71.18
Go
Update github.com/zitadel/zitadel to 1.80.0-v2.20.0.20251029091250-b284f8474eed or later
go get github.com/zitadel/zitadel@v1.80.0-v2.20.0.20251029091250-b284f8474eed

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Go (2).

PackageFixed In
github.com/zitadel/zitadel/v2 Go · Affected: All versionsRange-based data available
github.com/zitadel/zitadel/v2 Go · Affected: All versionsRange-based data available
github.com/zitadel/zitadel/v2 Go · Affected: All versions2.71.18
github.com/zitadel/zitadel Go · Affected: All versions1.80.0-v2.20.0.20251029091250-b284f8474eed

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2025-64103?
Zitadel May Bypass Second Authentication Factor. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2025-64103?
CVE-2025-64103 affects github.com/zitadel/zitadel/v2 and github.com/zitadel/zitadel. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-64103 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.70%
EPSS percentile: 48.6

This is a below-median EPSS score — only 48.6% 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

GHSA-cfjq-28r2-4jv5
GO-2025-4083

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum