{"id":"GHSA-g8gm-547r-665m","aliases":["DHI-tgur-mvg3-gjnn-q6jq"],"status":"published","description":"### Summary\n\nZITADEL’s **SAML attribute query** endpoint (`/saml/v2/attribute`) allowed an unauthenticated attacker to look up the profile of any user in an instance. The attacker needed only the user’s login name and the identifier of any SAML application in that instance.\n\nZITADEL answered such lookups without checking who was asking.\n\n### Impact\n\nAn attacker who knows a user’s login name and the identifier of any SAML application in the same instance can:\n\n* **Read the user’s profile** — user ID, username, email address, first, last and display name — for any active user in the instance, across all organizations.\n* **Check whether a login name exists**, including those of administrators.\n* **Obtain a statement about the user signed by ZITADEL.** Some SAML applications that accept sign-ins started by the identity provider may wrongly accept it as a sign-in of that user.\n\nThis affects every ZITADEL instance with at least one SAML application. The identifier of a SAML application is not secret.\n\nThe issue does **not** expose passwords, secrets, tokens or sessions, and it does **not** allow changing any data in ZITADEL. SAML applications that follow the SAML standard do not accept the returned statement as a sign-in. Instances without any SAML application are **not** affected.\n\n**Scope note:** The issue is limited to a single instance. It crosses organizations within that instance, but not instances. The flaw originates in the SAML library ZITADEL uses, `github.com/zitadel/saml`, and is published for it as [GHSA-cm94-c633-xw44](https://github.com/zitadel/saml/security/advisories/GHSA-cm94-c633-xw44).\n\n### Affected Versions\n\nSystems running one of the following versions are affected:\n\n* **4.x:** `4.0.0` through `4.20.7` (including RC versions)\n\n### Patches\n\nThe vulnerability has been addressed in the latest releases.\n\nZITADEL no longer offers this lookup: the endpoint `/saml/v2/attribute` has been removed. No working integration depended on it. SAML applications keep receiving user attributes when users sign in.\n\n* **4.x**: Upgrade to $\\ge$ [4.20.8](https://github.com/zitadel/zitadel/releases/tag/v4.20.8)\n\n### Workarounds\n\nThe recommended solution is to upgrade to a patched version. If you cannot upgrade immediately, block all requests to `/saml/v2/attribute` at your reverse proxy or load balancer; no ZITADEL feature depends on this endpoint.\n\n### Questions\n\nIf you have any questions or comments about this advisory, please email us at security@zitadel.com\n\n### Credits\n\nThanks to tonghuaroot ([@tonghuaroot](https://github.com/tonghuaroot)), the Vidoc Security Research Lab (Grzegorz Niedziela ([@gregxsunday](https://github.com/gregxsunday)), Jakub Sajniak, Łukasz Tlałka and Kacper Tomporowski), Eric Chiang ([@ericchiang](https://github.com/ericchiang)), Kirill Novikov ([@knQzx](https://github.com/knQzx)), Özgün Kültekin ([@oz9un](https://github.com/oz9un)), Wade Sparks from VulnCheck, Soham Khardikar and Arpit Jain for finding and reporting the vulnerability.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2026-12-02T14:27:24Z","modified":"2026-12-02T14:30:27Z","affected":[{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"zitadel-4-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"zitadel-4-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"zitadel-4-fips-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"zitadel-4-fips-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"zitadel-4-fips-license","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"zitadel-4-fips-license","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"zitadel-4-fips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"zitadel-4-fips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"zitadel-4-license","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"zitadel-4-license","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.23","package":"zitadel-4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Alpine:3.24","package":"zitadel-4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-r0"}]}],"versions":["4.20.3-r0","4.20.4-r0","4.20.5-r0","4.20.6-r0","4.20.7-r0","4.20.8-r0","4.21.0-r0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"zitadel-4-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-0"}]}],"versions":["4.20.3-0","4.20.4-0","4.20.5-0","4.20.6-0","4.20.7-0","4.20.8-0","4.21.0-0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"zitadel-4-fips-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-0"}]}],"versions":["4.20.3-0","4.20.4-0","4.20.5-0","4.20.6-0","4.20.7-0","4.20.8-0","4.21.0-0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"zitadel-4-fips-license","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-0"}]}],"versions":["4.20.3-0","4.20.4-0","4.20.5-0","4.20.6-0","4.20.7-0","4.20.8-0","4.21.0-0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"zitadel-4-fips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-0"}]}],"versions":["4.20.3-0","4.20.4-0","4.20.5-0","4.20.6-0","4.20.7-0","4.20.8-0","4.21.0-0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"zitadel-4-license","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-0"}]}],"versions":["4.20.3-0","4.20.4-0","4.20.5-0","4.20.6-0","4.20.7-0","4.20.8-0","4.21.0-0"]},{"source":"osv","ecosystem":"Docker Hardened Images:Debian:13","package":"zitadel-4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.3-0"}]}],"versions":["4.20.3-0","4.20.4-0","4.20.5-0","4.20.6-0","4.20.7-0","4.20.8-0","4.21.0-0"]}],"references":[{"url":"https://scout.docker.com/v/DHI-tgur-mvg3-gjnn-q6jq","tags":["advisory"]},{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-g8gm-547r-665m","tags":["advisory"]}],"sources":{"osv":[{"id":"DHI-tgur-mvg3-gjnn-q6jq","upstream":["GHSA-g8gm-547r-665m"],"title":"### Summary","description":"### Summary\n\nZITADEL’s **SAML attribute query** endpoint (`/saml/v2/attribute`) allowed an unauthenticated attacker to look up the profile of any user in an instance. The attacker needed only the user’s login name and the identifier of any SAML application in that instance.\n\nZITADEL answered such lookups without checking who was asking.\n\n### Impact\n\nAn attacker who knows a user’s login name and the identifier of any SAML application in the same instance can:\n\n* **Read the user’s profile** — user ID, username, email address, first, last and display name — for any active user in the instance, across all organizations.\n* **Check whether a login name exists**, including those of administrators.\n* **Obtain a statement about the user signed by ZITADEL.** Some SAML applications that accept sign-ins started by the identity provider may wrongly accept it as a sign-in of that user.\n\nThis affects every ZITADEL instance with at least one SAML application. The identifier of a SAML application is not secret.\n\nThe issue does **not** expose passwords, secrets, tokens or sessions, and it does **not** allow changing any data in ZITADEL. SAML applications that follow the SAML standard do not accept the returned statement as a sign-in. Instances without any SAML application are **not** affected.\n\n**Scope note:** The issue is limited to a single instance. It crosses organizations within that instance, but not instances. The flaw originates in the SAML library ZITADEL uses, `github.com/zitadel/saml`, and is published for it as [GHSA-cm94-c633-xw44](https://github.com/zitadel/saml/security/advisories/GHSA-cm94-c633-xw44).\n\n### Affected Versions\n\nSystems running one of the following versions are affected:\n\n* **4.x:** `4.0.0` through `4.20.7` (including RC versions)\n\n### Patches\n\nThe vulnerability has been addressed in the latest releases.\n\nZITADEL no longer offers this lookup: the endpoint `/saml/v2/attribute` has been removed. No working integration depended on it. SAML applications keep receiving user attributes when users sign in.\n\n* **4.x**: Upgrade to $\\ge$ [4.20.8](https://github.com/zitadel/zitadel/releases/tag/v4.20.8)\n\n### Workarounds\n\nThe recommended solution is to upgrade to a patched version. If you cannot upgrade immediately, block all requests to `/saml/v2/attribute` at your reverse proxy or load balancer; no ZITADEL feature depends on this endpoint.\n\n### Questions\n\nIf you have any questions or comments about this advisory, please email us at security@zitadel.com\n\n### Credits\n\nThanks to tonghuaroot ([@tonghuaroot](https://github.com/tonghuaroot)), the Vidoc Security Research Lab (Grzegorz Niedziela ([@gregxsunday](https://github.com/gregxsunday)), Jakub Sajniak, Łukasz Tlałka and Kacper Tomporowski), Eric Chiang ([@ericchiang](https://github.com/ericchiang)), Kirill Novikov ([@knQzx](https://github.com/knQzx)), Özgün Kültekin ([@oz9un](https://github.com/oz9un)), Wade Sparks from VulnCheck, Soham Khardikar and Arpit Jain for finding and reporting the vulnerability.\n\n","status":"published","published":"2026-12-02T14:27:24Z","modified":"2026-12-02T14:30:27.043602783Z","updated_at":"2026-12-02T14:44:02.567125Z"}]}}
