CVE-2024-28855

CVE-2024-28855 is a high-severity improper input validation vulnerability in github.com/zitadel/zitadel (go), affecting versions >= 2.42.0, < 2.42.15. It is fixed in 2.42.15, 2.43.9, 2.44.3, 2.45.1, 2.46.1, 2.47.4, 0.0.0-20240311065202-07ec2efa9dc6, 2.41.15, 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6.

Summary

Workarounds

There is no workaround since a patch is already available.

Questions

If you have any questions or comments about this advisory, please email us at [email protected]

Credits

Thanks to Daniel Philipp - owt and Thomas Wickham - synopsis for reporting this.

Impact

ZITADEL uses Go templates to render the login UI.

Due to a improper use of the text/template instead of the html/template package, the Login UI did not sanitize input parameters. An attacker could create a malicious link, where he injected code which would be rendered as part of the login screen.
While it was possible to inject HTML including javascript, the execution of such scripts would be prevented by the Content Security Policy.

The application does not adequately validate input before processing it, allowing unexpected values to reach sensitive code paths. Typical impact: varies by context: data corruption, logic bypass, or denial of service.

CVE-2024-28855 has a CVSS score of 8.1 (High). The vector is network-reachable, no privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (2.42.15, 2.43.9, 2.44.3, 2.45.1, 2.46.1, 2.47.4, 0.0.0-20240311065202-07ec2efa9dc6, 2.41.15, 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6); upgrading removes the vulnerable code path.

Affected versions

github.com/zitadel/zitadel (>= 2.42.0, < 2.42.15) github.com/zitadel/zitadel (>= 2.43.0, < 2.43.9) github.com/zitadel/zitadel (>= 2.44.0, < 2.44.3) github.com/zitadel/zitadel (= 2.45.0) github.com/zitadel/zitadel (= 2.46.0) github.com/zitadel/zitadel (>= 2.47.0, < 2.47.4) github.com/zitadel/zitadel (< 0.0.0-20240311065202-07ec2efa9dc6) github.com/zitadel/zitadel (>= 1.80.1, < 2.41.15) github.com/zitadel/zitadel (>= 0.0.0, < 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6)

Security releases

github.com/zitadel/zitadel → 2.42.15 (go) github.com/zitadel/zitadel → 2.43.9 (go) github.com/zitadel/zitadel → 2.44.3 (go) github.com/zitadel/zitadel → 2.45.1 (go) github.com/zitadel/zitadel → 2.46.1 (go) github.com/zitadel/zitadel → 2.47.4 (go) github.com/zitadel/zitadel → 0.0.0-20240311065202-07ec2efa9dc6 (go) github.com/zitadel/zitadel → 2.41.15 (go) github.com/zitadel/zitadel → 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6 (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

2.x versions are fixed on >= 2.47.3
2.46.x versions are fixed on >= 2.46.1
2.45.x versions are fixed on >= 2.45.1
2.44.x versions are fixed on >= 2.44.3
2.43.x versions are fixed on >= 2.43.9
2.42.x versions are fixed on >= 2.42.15
2.41.x versions are fixed on >= 2.41.15

ZITADEL recommends upgrading to the latest versions available in due course.

Frequently Asked Questions

  1. What is CVE-2024-28855? CVE-2024-28855 is a high-severity improper input validation vulnerability in github.com/zitadel/zitadel (go), affecting versions >= 2.42.0, < 2.42.15. It is fixed in 2.42.15, 2.43.9, 2.44.3, 2.45.1, 2.46.1, 2.47.4, 0.0.0-20240311065202-07ec2efa9dc6, 2.41.15, 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6. The application does not adequately validate input before processing it, allowing unexpected values to reach sensitive code paths.
  2. How severe is CVE-2024-28855? CVE-2024-28855 has a CVSS score of 8.1 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of github.com/zitadel/zitadel are affected by CVE-2024-28855? github.com/zitadel/zitadel (go) versions >= 2.42.0, < 2.42.15 is affected.
  4. Is there a fix for CVE-2024-28855? Yes. CVE-2024-28855 is fixed in 2.42.15, 2.43.9, 2.44.3, 2.45.1, 2.46.1, 2.47.4, 0.0.0-20240311065202-07ec2efa9dc6, 2.41.15, 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6. Upgrade to this version or later.
  5. Is CVE-2024-28855 exploitable, and should I be worried? Whether CVE-2024-28855 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2024-28855 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2024-28855?
    • Upgrade github.com/zitadel/zitadel to 2.42.15 or later
    • Upgrade github.com/zitadel/zitadel to 2.43.9 or later
    • Upgrade github.com/zitadel/zitadel to 2.44.3 or later
    • Upgrade github.com/zitadel/zitadel to 2.45.1 or later
    • Upgrade github.com/zitadel/zitadel to 2.46.1 or later
    • Upgrade github.com/zitadel/zitadel to 2.47.4 or later
    • Upgrade github.com/zitadel/zitadel to 0.0.0-20240311065202-07ec2efa9dc6 or later
    • Upgrade github.com/zitadel/zitadel to 2.41.15 or later
    • Upgrade github.com/zitadel/zitadel to 1.80.0-v2.20.0.20240311065202-07ec2efa9dc6 or later

Other vulnerabilities in github.com/zitadel/zitadel

CVE-2026-55669CVE-2026-55672CVE-2026-55670CVE-2026-55671CVE-2026-44671

Stop the waste.
Protect your environment with Kodem.