Loading HuntDB...

GHSA-2w5j-qfvw-2hf5

GitHub Security Advisory

ZITADEL's User Grant Deactivation not Working

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

### Impact

ZITADEL's user grants deactivation mechanism did not work correctly. Deactivated user grants were still provided in token, which could lead to unauthorized access to applications and resources.
Additionally, the management and auth API always returned the state as active or did not provide any information about the state.

### Patches

2.x versions are fixed on >= [2.62.1](https://github.com/zitadel/zitadel/releases/tag/v2.62.1)
2.61.x versions are fixed on >= [2.61.1](https://github.com/zitadel/zitadel/releases/tag/v2.61.1)
2.60.x versions are fixed on >= [2.60.2](https://github.com/zitadel/zitadel/releases/tag/v2.60.2)
2.59.x versions are fixed on >= [2.59.3](https://github.com/zitadel/zitadel/releases/tag/v2.59.3)
2.58.x versions are fixed on >= [2.58.5](https://github.com/zitadel/zitadel/releases/tag/v2.58.5)
2.57.x versions are fixed on >= [2.57.5](https://github.com/zitadel/zitadel/releases/tag/v2.57.5)
2.56.x versions are fixed on >= [2.56.6](https://github.com/zitadel/zitadel/releases/tag/v2.56.6)
2.55.x versions are fixed on >= [2.55.8](https://github.com/zitadel/zitadel/releases/tag/v2.55.8)
2.54.x versions are fixed on >= [2.54.10](https://github.com/zitadel/zitadel/releases/tag/v2.54.10)

### Workarounds

Unpatched versions can explicitly remove the user grants to make sure the user does not get access anymore.

### Questions

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

Affected Packages

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

Related CVEs

Key Information

GHSA ID
GHSA-2w5j-qfvw-2hf5
Published
September 19, 2024 4:07 PM
Last Modified
September 20, 2024 2:18 PM
CVSS Score
7.5 /10
Primary Ecosystem
Go
Primary Package
github.com/zitadel/zitadel/v2
GitHub Reviewed
✓ Yes

Dataset

Last updated: June 29, 2025 6:26 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.