Open Redirect Affecting github.com/zitadel/zitadel/internal/api/http/middleware package, versions >=2.0.0 <2.71.18>=3.0.0-rc.1 <3.4.3>=4.0.0-rc.1 <4.6.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMZITADELZITADELINTERNALAPIHTTPMIDDLEWARE-13775892
  • published30 Oct 2025
  • disclosed29 Oct 2025
  • creditAmit Laish

Introduced: 29 Oct 2025

NewCVE-2025-64101  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade github.com/zitadel/zitadel/internal/api/http/middleware to version 2.71.18, 3.4.3, 4.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect via manipulation of the Forwarded or X-Forwarded-Host headers used to construct password reset confirmation links. An attacker can gain unauthorized access to user accounts by tricking users into clicking a password reset link that sends the secret reset code to a domain controlled by the attacker.

Note: This is only exploitable if Multi-Factor Authentication (MFA) or Passwordless authentication is not enabled for the targeted account.

Workaround

This vulnerability can be mitigated by configuring a fronting proxy to delete all Forwarded and X-Forwarded-Host header values before requests reach the application.

CVSS Base Scores

version 4.0
version 3.1