Home / zitadel / zitadel / CVE-2024-29891
CVE-2024-29891: is it exploited, and which versions of zitadel are affected and fixed?
CVE-2024-29891 is an unrestricted file upload vulnerability in zitadel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: github.com/zitadel/zitadel before 2.42.17, github.com/zitadel/zitadel from 2.43.0 before 2.43.11, github.com/zitadel/zitadel from 2.44.0 before 2.44.7 and 4 more (GitHub advisory GHSA-hr5w-cwwq-2v4m). Fixed in 2.42.17, 2.43.11, 2.44.7, 2.45.5 and 2 more (GitHub advisory GHSA-hr5w-cwwq-2v4m). Severity: High (8.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-29891?
ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
ZITADEL users can upload their own avatar image and various image types are allowed. Due to a missing check, an attacker could upload HTML and pretend it is an image to gain access to the victim's account in certain scenarios. A possible victim would need to directly open the supposed image in the browser, where a session in ZITADEL needs to be active for this exploit to work. The exploit could only be reproduced if the victim was using Firefox. Chrome, Safari as well as Edge did not execute the code. This vulnerability is fixed in 2.48.3, 2.47.8, 2.46.5, 2.45.5, 2.44.7, 2.43.11, and 2.42.17.
From the CVE record by GitHub_M, last updated August 2, 2024, 01:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zitadel | zitadel | < 2.42.17 >= 2.43.0, < 2.43.11 >= 2.44.0, < 2.44.7 >= 2.45.0, < 2.45.5 >= 2.46.0, < 2.46.5 >= 2.47.0, < 2.47.8 >= 2.48.0, < 2.48.3 |
As the CVE record by GitHub_M states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/zitadel/zitadel | < 2.42.17 | 2.42.17 | GHSA-hr5w-cwwq-2v4m |
| Go | github.com/zitadel/zitadel | >= 2.43.0, < 2.43.11 | 2.43.11 | GHSA-hr5w-cwwq-2v4m |
| Go | github.com/zitadel/zitadel | >= 2.44.0, < 2.44.7 | 2.44.7 | GHSA-hr5w-cwwq-2v4m |
| Go | github.com/zitadel/zitadel | >= 2.45.0, < 2.45.5 | 2.45.5 | GHSA-hr5w-cwwq-2v4m |
| Go | github.com/zitadel/zitadel | >= 2.46.0, < 2.46.5 | 2.46.5 | GHSA-hr5w-cwwq-2v4m |
| Go | github.com/zitadel/zitadel | >= 2.47.0, < 2.47.8 | 2.47.8 | GHSA-hr5w-cwwq-2v4m |
| Go | github.com/zitadel/zitadel | >= 2.48.0, < 2.48.3 | 2.48.3 | GHSA-hr5w-cwwq-2v4m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 8, 2025. Summary: ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| zitadel | zitadel | before 2.42.17 | application |
| zitadel | zitadel | from 2.43.0 before 2.43.11 | application |
| zitadel | zitadel | from 2.44.0 before 2.44.7 | application |
| zitadel | zitadel | from 2.45.0 before 2.45.5 | application |
| zitadel | zitadel | from 2.46.0 before 2.46.5 | application |
| zitadel | zitadel | from 2.47.0 before 2.47.8 | application |
| zitadel | zitadel | from 2.48.0 before 2.48.3 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:23 UTC.
How severe is CVE-2024-29891?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N | GitHub_M |
| High 8.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-29891 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 28, 2024)
- EPSS
- 0.76% probability of exploitation activity in the next 30 days, percentile 56.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-434 Unrestricted Upload of File with Dangerous Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m x_refsource_CONFIRM
- https://github.com/zitadel/zitadel/releases/tag/v2.42.17 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.43.11 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.44.7 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.45.5 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.46.5 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.47.8 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.48.3 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 21, 2024
- Published
- March 27, 2024, 19:18 UTC
- CVE record updated
- August 2, 2024, 01:17 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:23 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect zitadel?
- Dec 1, 2026CVE-2026-140407 zitadel: authentication bypass (improper authentication)
- Dec 1, 2026CVE-2026-140408 zitadel: open redirect
- Dec 1, 2026CVE-2026-140409 zitadel: exposed Dangerous Method or Function
- Dec 1, 2026CVE-2026-140410 zitadel: cross-site request forgery (CSRF)
- Dec 1, 2026CVE-2026-140411 zitadel: cross-site request forgery (CSRF)
- Dec 1, 2026CVE-2026-140412 zitadel: authentication bypass (improper authentication)
- Dec 1, 2026CVE-2026-140413 zitadel: incorrect authorization
- Nov 23, 2026CVE-2026-135175 zitadel: weak password recovery
Questions about CVE-2024-29891
Is CVE-2024-29891 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.76% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of zitadel are affected by CVE-2024-29891?
github.com/zitadel/zitadel before 2.42.17, github.com/zitadel/zitadel from 2.43.0 before 2.43.11, github.com/zitadel/zitadel from 2.44.0 before 2.44.7, github.com/zitadel/zitadel from 2.45.0 before 2.45.5, github.com/zitadel/zitadel from 2.46.0 before 2.46.5, github.com/zitadel/zitadel from 2.47.0 before 2.47.8 and 1 more, per the GitHub advisory GHSA-hr5w-cwwq-2v4m. The tables above give every range the sources list.
Which version fixes CVE-2024-29891?
2.42.17, 2.43.11, 2.44.7, 2.45.5, 2.46.5 and 2.47.8, per the GitHub advisory GHSA-hr5w-cwwq-2v4m. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-29891?
High (8.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-29891?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.