{"id":"CVE-2026-33132","aliases":["CVE-2026-33132","GHSA-g2pf-ww5m-2r9m","GO-2026-4751"],"related":["CGA-m2m2-hr3p-wx8m"],"kind":"vulnerability","state":"published","title":"ZITADEL is missing enforcement of organization scopes","summary":"ZITADEL is an open source identity management platform. Versions prior to 3.4.9 and 4.0.0 through 4.12.2 allowed users to bypass organization enforcement during authentication. 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.\nThis 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. This issue has been patched in versions 3.4.9 and 4.12.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ZITADEL is an open source identity management platform. Versions prior to 3.4.9 and 4.0.0 through 4.12.2 allowed users to bypass organization enforcement during authentication. 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.\nThis 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. This issue has been patched in versions 3.4.9 and 4.12.3.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA vulnerability in Zitadel's OAuth2/OIDC interface, which allowed users to bypass organization enforcement during authentication.\n\n### Impact\n\nZitadel allows applications to enforce an organzation context during authentication using [scopes](https://zitadel.com/docs/apis/openidoauth/scopes#reserved-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.\n\nWhile 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.\nThis allowed users to bypass the restriction and sign in with users from other organizations.\n\nNote that this enforcement allows for an additional check during authentication and applications relying on authorizations / roles assignments are not affected by this bypass.\n\n### Affected Versions\n\nSystems running one of the following versions are affected:\n- **4.x**: `4.0.0` through `4.12.2` (including RC versions)\n- **3.x**: `3.0.0` through `3.4.8` (including RC versions)\n\n### Patches\n\nThe 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](https://zitadel.com/docs/reference/api/oidc/zitadel.oidc.v2.OIDCService.CreateCallback) and [Authorize or Deny Device Authorization](https://zitadel.com/docs/reference/api/oidc/zitadel.oidc.v2.OIDCService.AuthorizeOrDenyDeviceAuthorization) endpoints).\n\n4.x: Upgrade to >=[4.12.3](https://github.com/zitadel/zitadel/releases/tag/v4.12.3)\n3.x: Update to >=[3.4.9](https://github.com/zitadel/zitadel/releases/tag/v3.4.9)\n\n### Workarounds\n\nThe recommended solution is to upgrade to a patched version. \n\n### Questions\n\nIf you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)\n\n### Credits\n\nThanks to @motoki317 for reporting this vulnerability.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Zitadel is missing enforcement of organization scopes in github.com/zitadel/zitadel.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/zitadel/zitadel from v3.0.0-rc.1 before v3.4.9, from v4.0.0-rc.1 before v4.12.3.","format":"markdown","source":"go"},{"lang":"es","text":"ZITADEL es una plataforma de gestión de identidades de código abierto. Las versiones anteriores a la 3.4.9 y de la 4.0.0 a la 4.12.2 permitían a los usuarios eludir la aplicación de la organización durante la autenticación. Zitadel permite a las aplicaciones aplicar un contexto de organización durante la autenticación utilizando ámbitos (urn:zitadel:iam:org:id:{id} y urn:zitadel:iam:org:domain:primary:{domainname}). Si se aplica, un usuario necesita ser parte de la organización requerida para iniciar sesión. Aunque esto se aplicaba correctamente para las solicitudes de autorización de OAuth2/OIDC en el inicio de sesión V1, faltaban controles correspondientes para las solicitudes de autorización de dispositivos y todos los puntos finales de inicio de sesión V2 y OIDC API V2. Esto permitía a los usuarios eludir la restricción e iniciar sesión con usuarios de otras organizaciones. Tenga en cuenta que esta aplicación permite una verificación adicional durante la autenticación y las aplicaciones que dependen de autorizaciones / asignaciones de roles no se ven afectadas por esta elusión. Este problema ha sido parcheado en las versiones 3.4.9 y 4.12.3.","source":"nvd"}],"published":"2026-03-18T17:25:41.000Z","modified":"2026-09-10T03:50:39.006Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":">= 4.0.0-rc.1, < 4.12.3","status":"affected"},{"version":">= 3.0.0-rc.1, < 3.4.9","status":"affected"},{"version":"< 1.80.0-v2.20.0.20260317120401-d90285929ca0","status":"affected"}],"vendor":"zitadel","product":"zitadel","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0.0-rc.1","status":"affected","fixed":"4.12.3"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.0.0-rc.1","status":"affected","fixed":"3.4.9"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.80.0-v2.20.0.20260317120401-d90285929ca0"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.80.0-v2.20.0.20260317120401-d90285929ca0"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"go"},{"ranges":[{"status":"affected","fixed":"3.4.9"},{"status":"affected","introduced":"4.0.0","fixed":"4.12.3"}],"vendor":"zitadel","product":"zitadel","cpe":"cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-g2pf-ww5m-2r9m","tags":["advisory","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zitadel/zitadel/commit/d90285929ca019fa817f31551fd0883429dda2a8","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v3.4.9","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v4.12.3","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33132","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/zitadel/zitadel","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-20T19:30:52.294Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33132","url":"https://www.cve.org/CVERecord?id=CVE-2026-33132","licence":"CVE Terms of Use","modified":"2026-03-20T19:31:30.207Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g2pf-ww5m-2r9m","url":"https://github.com/advisories/GHSA-g2pf-ww5m-2r9m","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:39.006Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4751","url":"https://pkg.go.dev/vuln/GO-2026-4751","licence":"CC-BY-4.0","modified":"2026-04-02T20:59:30.966Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33132","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33132","licence":"Public domain","modified":"2026-06-17T10:37:00.110Z"}],"updatedAt":"2026-11-25T22:59:16.316Z","epss":{"score":0.00352,"percentile":0.30846,"date":"2026-12-01T12:00:22.000Z"}}