PT-2026-161255

تاريخ النشر

2026-11-19

·

تاريخ التحديث

2026-11-19

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

Summary

ZITADEL’s OIDC token exchange allowed a user holding only the end-user impersonation permission to impersonate administrators, including an instance owner (IAM OWNER).
ZITADEL distinguishes two impersonation permissions: impersonation, granted by the IAM END USER IMPERSONATOR and ORG END USER IMPERSONATOR roles, is documented to allow impersonating end users only, while impersonating administrators additionally requires admin.impersonation, granted by the IAM ADMIN IMPERSONATOR and ORG ADMIN IMPERSONATOR roles. The token exchange only ever checked impersonation and never whether the impersonated user is an administrator, so admin.impersonation was not enforced.

Impact

An actor holding one of the * END USER IMPERSONATOR roles can:
  • Impersonate any administrator within the scope of their role (instance-wide for IAM END USER IMPERSONATOR, the users of their organization for ORG END USER IMPERSONATOR), including IAM OWNER and ORG OWNER
  • Sign in to applications as that administrator, with the administrator’s roles and claims
Impersonated tokens are marked as such and are rejected by ZITADEL’s own APIs, so the issue does not grant access to the ZITADEL Console or the management APIs. Its impact is limited to what the impersonated administrator can do in applications that rely on the instance for authentication.
This affects instances where impersonation is enabled (the instance security setting Allow Impersonation, which is disabled by default, and the token exchange grant on at least one application) and where at least one user holds an * END USER IMPERSONATOR role. Exploitation requires that role, so it is only reachable by users an administrator has already trusted to impersonate end users.
Scope note: A user counts as an administrator as soon as they hold any membership (instance, organization, project or project grant). The issue does not cross organizations for ORG END USER IMPERSONATOR and does not cross instances.

Affected Versions

Systems running one of the following versions are affected:
  • 4.x: 4.0.0 through 4.19.1 (including RC versions)
  • 3.x: 3.0.0 through 3.4.15 (including RC versions)

Patches

The vulnerability has been addressed in the latest releases. Impersonating a user who holds any membership now requires the admin.impersonation permission, which only the IAM ADMIN IMPERSONATOR and ORG ADMIN IMPERSONATOR roles grant; the * END USER IMPERSONATOR roles can only impersonate users without memberships.
The 3.x release line reached end-of-life on 2026-08-31 and will not receive a fix for this vulnerability. Affected 3.x deployments must upgrade to a patched 4.x release.

Workarounds

The recommended solution is to upgrade to a patched version. On unpatched versions, the issue can be avoided by not granting the IAM END USER IMPERSONATOR and ORG END USER IMPERSONATOR roles, or by disabling impersonation in the instance security settings.

Questions

If you have any questions or comments about this advisory, please email us at security@zitadel.com

Credits

Thanks to Wojciech Piekutowski from Nedap for finding and reporting the vulnerability.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
DHI-2GA2-SGY6-MHKB-M3TK
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾