Skip to main content
Vulnerability Database/CVE-2026-109374

CVE-2026-109374: ZITADEL Privilege Escalation Vulnerability

CVE-2026-109374 is a privilege escalation flaw in ZITADEL that enables end-user impersonators to gain administrator access by bypassing admin checks. This article covers the technical details, affected versions, and steps to protect your systems.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-109374 Overview

CVE-2026-109374 is a privilege escalation vulnerability in ZITADEL versions 3.0.0 through 4.19.1. The flaw resides in the OpenID Connect (OIDC) token exchange flow and permits end-user impersonators to impersonate administrators, including the IAM_OWNER role. The vulnerability bypasses the admin.impersonation check that normally restricts elevated impersonation. Attackers holding IAM_END_USER_IMPERSONATOR or ORG_END_USER_IMPERSONATOR roles can sign into relying applications as administrators, inheriting their roles and claims. The weakness is categorized under CWE-863: Incorrect Authorization.

Critical Impact

Authenticated users with limited impersonation roles can escalate to full administrative access across the ZITADEL identity platform, compromising tenant isolation and administrative boundaries.

Affected Products

  • ZITADEL 3.0.0 and later releases prior to 4.19.2
  • Deployments using OIDC token exchange with impersonation roles enabled
  • Relying applications that trust ZITADEL-issued tokens for administrative access

Discovery Timeline

  • 2026-10-12 - CVE-2026-109374 published to the National Vulnerability Database (NVD)
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-109374

Vulnerability Analysis

ZITADEL implements OIDC token exchange (RFC 8693) to allow one principal to act on behalf of another. The platform distinguishes between standard end-user impersonation and administrative impersonation using the admin.impersonation authorization check. This check is intended to gate privileged impersonation targets such as IAM_OWNER.

The vulnerability allows the admin.impersonation gate to be bypassed during token exchange. A principal with only the lower-privileged roles IAM_END_USER_IMPERSONATOR or ORG_END_USER_IMPERSONATOR can request a token targeting an administrator and receive an access token carrying that administrator's roles and claims. Any downstream relying application that trusts ZITADEL tokens will then grant administrative access to the impersonator.

Root Cause

The root cause is an authorization check gap in the token exchange handler. The code path that validates the subject of impersonation does not consistently invoke the admin.impersonation permission check when the exchanged token targets an administrative identity. This maps to CWE-863: Incorrect Authorization, where an authorization decision is made using incomplete or incorrect logic.

Attack Vector

Exploitation requires an authenticated principal already holding IAM_END_USER_IMPERSONATOR or ORG_END_USER_IMPERSONATOR. The attacker performs an OIDC token exchange request specifying an administrative user, such as an IAM_OWNER, as the subject. ZITADEL issues a token for the administrator rather than rejecting the request. The attacker then authenticates to any relying application that trusts ZITADEL, operating with the target administrator's permissions.

For technical details, consult the ZITADEL GitHub Security Advisory GHSA-w4gv-rcwj-w6r5 and the VulnCheck Privilege Escalation Advisory.

Detection Methods for CVE-2026-109374

Indicators of Compromise

  • Successful OIDC token exchange events where the subject is an IAM_OWNER or other administrative role but the requesting principal only holds IAM_END_USER_IMPERSONATOR or ORG_END_USER_IMPERSONATOR.
  • Access tokens issued with administrative claims whose act (actor) claim references a non-admin impersonator.
  • Unexpected administrative actions in relying applications correlated with impersonation sessions originating from ZITADEL.

Detection Strategies

  • Audit ZITADEL authentication logs for token_exchange events and compare the requester's assigned roles against the subject user's roles.
  • Alert when an impersonation session gains claims that exceed the requester's authorization scope.
  • Review historical token exchange records across the entire vulnerable version range to identify prior misuse before upgrade.

Monitoring Recommendations

  • Forward ZITADEL audit logs to a centralized analytics platform and build correlation rules between impersonator identity and resulting token privileges.
  • Monitor relying application logs for administrative API calls tied to session tokens carrying act claims.
  • Track and periodically review all principals assigned IAM_END_USER_IMPERSONATOR and ORG_END_USER_IMPERSONATOR roles.

How to Mitigate CVE-2026-109374

Immediate Actions Required

  • Upgrade ZITADEL to version 4.19.2 or later, which restores the admin.impersonation enforcement in the token exchange path.
  • Inventory all accounts and service principals holding IAM_END_USER_IMPERSONATOR or ORG_END_USER_IMPERSONATOR roles and revoke any that are not required.
  • Rotate credentials and revoke active sessions for any administrator whose identity could have been targeted by impersonation.

Patch Information

The vendor fix is included in ZITADEL 4.19.2. Patch details and remediation guidance are published in the ZITADEL GitHub Security Advisory GHSA-w4gv-rcwj-w6r5. Operators running any release from 3.0.0 up to and including 4.19.1 must upgrade.

Workarounds

  • Temporarily remove IAM_END_USER_IMPERSONATOR and ORG_END_USER_IMPERSONATOR role assignments from all principals until the upgrade is deployed.
  • Disable OIDC token exchange flows for relying applications that do not require impersonation.
  • Restrict administrative accounts, such as IAM_OWNER, from being valid impersonation targets by segregating admin identities into dedicated organizations where feasible.
bash
# Configuration example: identify principals with impersonation roles via the ZITADEL management API
curl -X POST "https://<zitadel-host>/management/v1/users/_search" \
  -H "Authorization: Bearer <admin_token>" \
  -H "Content-Type: application/json" \
  -d '{"queries":[{"roleQuery":{"role":"IAM_END_USER_IMPERSONATOR"}}]}'

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.