CVE-2026-33132: Zitadel is missing enforcement of organization scopes
Summary A vulnerability in Zitadel's OAuth2/OIDC interface, which allowed users to bypass organization enforcement during authentication. Impact Zitadel allows applications to enforce an organzation context during authentication using scopes (urn:zitadel:iam:org:id:{id} and urn:zitadel:iam:org:domain:primary:{domainname}). If enforced, a user needs to be part of the required organization to sign in.
Published Mar 18, 2026 · Updated Mar 20, 2026
Affected packages
github.com/zitadel/zitadel
- Ecosystem
- Go
- Affected
- >= 4.0.0-rc.1, <= 4.12.2
- Fixed in
- 4.12.3
- Check
go list -m github.com/zitadel/zitadel
github.com/zitadel/zitadel
- Ecosystem
- Go
- Affected
- >= 3.0.0-rc.1, < 3.4.9
- Fixed in
- 3.4.9
- Check
go list -m github.com/zitadel/zitadel
github.com/zitadel/zitadel
- Ecosystem
- Go
- Affected
- < 1.80.0-v2.20.0.20260317120401-d90285929ca0
- Fixed in
- 1.80.0-v2.20.0.20260317120401-d90285929ca0
- Check
go list -m github.com/zitadel/zitadel
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A vulnerability in Zitadel's OAuth2/OIDC interface, which allowed users to bypass organization enforcement during authentication.
Impact
Zitadel allows applications to enforce an organzation context during authentication using scopes (urn:zitadel:iam:org:id:{id} and urn:zitadel:iam:org:domain:primary:{domainname}). If enforced, a user needs to be part of the required organization to sign in.
While this was properly enforced for OAuth2/OIDC authorization requests in login V1, corresponding controls were missing for device authorization requests and all login V2 and OIDC API V2 endpoints. This allowed users to bypass the restriction and sign in with users from other organizations.
Note that this enforcement allows for an additional check during authentication and applications relying on authorizations / roles assignments are not affected by this bypass.
Affected Versions
Systems running one of the following versions are affected:
- 4.x:
4.0.0through4.12.2(including RC versions) - 3.x:
3.0.0through3.4.8(including RC versions)
Patches
The vulnerability has been addressed in the latest releases. The patch resolves the issue by validating the provided scopes and enforcing the organization existence when processing the authorization request. Additionally it will prevent the use of a session of a user which does not belong to the required organization on the OIDC service endpoints (CreateCallback and Authorize or Deny Device Authorization endpoints).
4.x: Upgrade to >=4.12.3 3.x: Update to >=3.4.9
Workarounds
The recommended solution is to upgrade to a patched version.
Questions
If you have any questions or comments about this advisory, please email us at [[email protected]](mailto:[email protected])
Credits
Thanks to @motoki317 for reporting this vulnerability.
Credited to peintnermax, grvijayan, wim07101993, livio-a, motoki317.
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-g2pf-ww5m-2r9m
- https://github.com/zitadel/zitadel/commit/d90285929ca019fa817f31551fd0883429dda2a8
- https://github.com/zitadel/zitadel/releases/tag/v3.4.9
- https://github.com/zitadel/zitadel/releases/tag/v4.12.3
- https://nvd.nist.gov/vuln/detail/CVE-2026-33132
- https://github.com/advisories/GHSA-g2pf-ww5m-2r9m
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-85056
ZITADEL: MFA bypass via session reuse in Login V2
high8.2Sep 24, 2026CVE-2026-85057
ZITADEL: Actions V1 sandbox escape: host file read via require()
high8.7Sep 24, 2026CVE-2026-56668
ZITADEL: Unauthorized Token Privilege Escalation in OAuth2 Token Exchange
high8.1Sep 14, 2026CVE-2026-76081
ZITADEL: Improper Role Revocation on Granted Projects during Multiple Role Deletions
medium5.5Sep 14, 2026CVE-2026-56665
ZITADEL: Missing Token Expiration (`exp`) Validation in JWT IdP Provider
medium4.2Sep 11, 2026CVE-2026-56666
ZITADEL: Auto-linking by email: IdP-side email verification is not checked
medium4.8Sep 11, 2026
