# CVE-2026-135175: ZITADEL 4.19.5 before 4.20.3 Account Takeover via x-zitadel-public-host Header

> Unauthenticated attackers can poison ZITADEL notification links via a host header to steal password-reset codes and take over accounts, including admins.

- **Severity:** High 8.6 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** No
- **Published:** 23 Nov 2026
- **Updated:** 23 Nov 2026
- **Also known as:** GHSA-pr7w-263c-fv3j, GHSA-qvxq-53gh-64f6

## What is CVE-2026-135175?

CVE-2026-135175 is a high-severity other vulnerability in zitadel, published on 23 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

ZITADEL 4.19.5 before 4.20.3 contains a host header injection vulnerability that allows unauthenticated attackers to redirect notification links by placing a trusted host in the userinfo portion of the x-zitadel-public-host header. Attackers knowing a victim's login name can harvest single-use codes from password-reset links sent to their host, reset passwords, and take over accounts including administrators.

Weakness: CWE-640 (Weak Password Recovery Mechanism for Forgotten Password)

## Which versions are affected by CVE-2026-135175?

1 open source package ship an affected version, including github.com/zitadel/zitadel.

An affected version is exposed as installed. No special setting or call is needed.


| Package | Ecosystem | PURL | Affected | Fixed in |
| --- | --- | --- | --- | --- |
| `github.com/zitadel/zitadel` | Go | `pkg:golang/github.com/zitadel/zitadel` | From 4.19.5 | 4.20.3 |

## How do I fix CVE-2026-135175?

Upgrade github.com/zitadel/zitadel to 4.20.3 or later.

## Is CVE-2026-135175 being exploited?

There is no known exploitation of CVE-2026-135175 in the wild and no public exploit code.

Public exploit code:

- ZITADEL 4.19.5-<4.20.3: crafted Host passes a trusted-domain prefix check but poisons built links via the URL userinfo delimiter. Verbatim ValidateHost from 8ce0ac5: link points at evil.example on vuln, invalid host on fixed (github_poc): https://github.com/googlesky/CVE-2026-135175
- PoC for CVE-2026-135175 — ZITADEL Host Header Injection Password Reset Hijack (CVSS 8.1) (github_poc): https://github.com/cveForge/CVE-2026-135175

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-135175 and fix it if it is affected.

What it is: CVE-2026-135175 is a high-severity other vulnerability in zitadel, published on 23 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-135175 in the wild and no public exploit code.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected packages and fixed versions:
- github.com/zitadel/zitadel (Go): affected from 4.19.5; fixed in 4.20.3

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-135175/ (Markdown: https://insights.sbomify.com/CVE-2026-135175/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-135175
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-135175
- OSV: https://osv.dev/vulnerability/CVE-2026-135175

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-135175/
Summaries are generated and may contain mistakes; the official description above is the record.
