{"id":"CVE-2022-36051","aliases":["GHSA-c8fj-4pm8-mp2c"],"url":"https://o3.security/vulnerability/CVE-2022-36051","summary":"Broken Authorization in ZITADEL Actions","details":"### Impact\n\n**Actions**, introduced in ZITADEL **1.42.0** on the API and **1.56.0** for Console, is a feature, where users with role `ORG_OWNER` are able to create Javascript Code, which is invoked by the system at certain points during the login.\n**Actions**, for example, allow creating authorizations (user grants) on newly created users programmatically.\nDue to a missing authorization check, **Actions** were able to grant authorizations for projects that belong to other organisations inside the same Instance. Granting authorizations via API and Console is not affected by this vulnerability.\n\n### Patches\n\n2.x versions are fixed on >= [2.2.0](https://github.com/zitadel/zitadel/releases/tag/v2.2.0)\n1.x versions are fixed on >= [1.87.1](https://github.com/zitadel/zitadel/releases/tag/v1.87.1)\n\nZITADEL recommends upgrading to the latest versions available in due course.\n\n### Workarounds\n\nThere is no workaround since a patch is already available.\n\n### Who did disclose this\n\nDuring our recurring white box penetration test our external security consultant found this issue.\nThe full report will be made public after the complete review.\n\n### References\n\nhttps://docs.zitadel.com/docs/guides/manage/customize/behavior\nhttps://docs.zitadel.com/docs/apis/actions\nhttps://zitadel.com/blog/pentest-results-h1-2021\n\n### Questions\n\nIf you have any questions or comments about this advisory:\n* Email us at [security@zitadel.com](mailto:security@zitadel.com)\n","published":"2022-08-31T22:40:10Z","modified":"2026-10-28T02:31:09.797373317Z","cvss":{"score":8.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N"},"epss":{"score":0.00989,"percentile":0.60833,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/zitadel/zitadel","fixedVersion":"2.2.0"},{"ecosystem":"Go","name":"github.com/zitadel/zitadel","fixedVersion":"1.87.1"}],"fix":{"url":"https://github.com/zitadel/zitadel/pull/4237","label":"zitadel/zitadel#4237"},"references":[{"type":"WEB","url":"https://github.com/zitadel/zitadel/releases/tag/v1.87.1"},{"type":"WEB","url":"https://github.com/zitadel/zitadel/releases/tag/v2.2.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36051.json"},{"type":"ADVISORY","url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-c8fj-4pm8-mp2c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36051"},{"type":"WEB","url":"https://github.com/zitadel/zitadel/pull/4237"},{"type":"WEB","url":"https://github.com/zitadel/zitadel/pull/4238"},{"type":"PACKAGE","url":"github.com/zitadel/zitadel"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:09.797373317Z"}}