Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-49097

HIGH 8.1EPSS 55%

ZITADEL vulnerable account takeover via malicious host header injection

Also known as GHSA-2wmj-46rj-qm2w

Mitigation

  • Upgrade github.com/zitadel/zitadel to one of 2.39.9, 2.40.10, 2.41.6 (or later in the same release line).

Who should check

  • Projects that depend on Go package github.com/zitadel/zitadel (>= 2.39.0, < 2.39.9)
  • Anyone running zitadel >= 2.39.0, < 2.39.9; >= 2.40.0, < 2.40.10; >= 2.41.0, < 2.41.6

Vulnerability facts

Affected
github.com/zitadel/zitadel >= 2.39.0, < 2.39.9
Fixed in
2.39.9, 2.40.10, 2.41.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
EPSS
0.83% chance of exploitation in 30 days (percentile 55, 2026-11-26)
CWE
CWE-640
Published
Modified

Description

ZITADEL is an identity infrastructure system. ZITADEL uses the notification triggering requests Forwarded or X-Forwarded-Host header to build the button link sent in emails for confirming a password reset with the emailed code. If this header is overwritten and a user clicks the link to a malicious site in the email, the secret code can be retrieved and used to reset the users password and take over his account. Accounts with MFA or Passwordless enabled can not be taken over by this attack. This issue has been patched in versions 2.41.6, 2.40.10 and 2.39.9.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/zitadel/zitadel>= 2.39.0, < 2.39.92.39.9, 2.40.10, 2.41.6osv
zitadel>= 2.39.0, < 2.39.9; >= 2.40.0, < 2.40.10; >= 2.41.0, < 2.41.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-49097. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-49097.md
Affected: github.com/zitadel/zitadel >= 2.39.0, < 2.39.9
Fixed in: 2.39.9, 2.40.10, 2.41.6

Steps:
1. Search this machine and project for github.com/zitadel/zitadel (Go), zitadel: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-49097 being exploited?

There is no confirmed exploitation: CVE-2023-49097 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.83% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-49097?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2023-49097?

github.com/zitadel/zitadel >= 2.39.0, < 2.39.9.

Is there a fix for CVE-2023-49097?

Yes. Fixed in 2.39.9, 2.40.10, 2.41.6. Upgrade github.com/zitadel/zitadel to one of 2.39.9, 2.40.10, 2.41.6 (or later in the same release line).

How do I check if I'm affected by CVE-2023-49097?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors