CVE-2025-27507
JSON

9.0critical

IDOR Vulnerabilities in ZITADEL's Admin API that Primarily Impact LDAP Configurations

Severity
9.0critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.61% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-f3gh-529w-v32xGO-2025-3499

Description

The open-source identity infrastructure software Zitadel allows administrators to disable the user self-registration. ZITADEL's Admin API contains Insecure Direct Object Reference (IDOR) vulnerabilities that allow authenticated users, without specific IAM roles, to modify sensitive settings. While several endpoints are affected, the most critical vulnerability lies in the ability to manipulate LDAP configurations. Customers who do not utilize LDAP for authentication are not at risk from the most severe aspects of this vulnerability. However, upgrading to the patched version to address all identified issues is strongly recommended. This vulnerability is fixed in 2.71.0, 2.70.1, ,2.69.4, 2.68.4, 2.67.8, 2.66.11, 2.65.6, 2.64.5, and 2.63.8.

Affected

Product or packageVersionsReported by
zitadel zitadel>= 2.63.0-rc.1, < 2.63.8, >= 2.64.0-rc.1, < 2.64.5, >= 2.66.0-rc.1, < 2.66.11, >= 2.67.0-rc.1, < 2.67.8, >= 2.68.0-rc.1, < 2.68.4, >= 2.69.0-rc.1, < 2.69.4, >= 2.70.0-rc.1, < 2.70.1, >= 2.65.0-rc.1, < 2.65.6 and 8 moreCVE List, NVD
github.com/zitadel/zitadel/v2 (Go)before 2.63.8, from 2.64.0 before 2.64.5, from 2.65.0 before 2.65.6, from 2.66.0 before 2.66.11, from 2.67.0 before 2.67.8, from 2.68.0 before 2.68.4, from 2.69.0 before 2.69.4, from 2.70.0 before 2.70.1GitHub Advisory Database
github.com/zitadel/zitadel (Go)before 2.63.8, from 2.64.0 before 2.64.5, from 2.65.0 before 2.65.6, from 2.66.0 before 2.66.11, from 2.67.0 before 2.67.8, from 2.68.0 before 2.68.4, from 2.69.0 before 2.69.4, from 2.70.0 before 2.70.1 and 1 moreGitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
GitHub9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L

Classification

CWE-639CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

The open-source identity infrastructure software Zitadel allows administrators to disable the user self-registration. ZITADEL's Admin API contains Insecure Direct Object Reference (IDOR) vulnerabilities that allow authenticated users, without specific IAM roles, to modify sensitive settings. While several endpoints are affected, the most critical vulnerability lies in the ability to manipulate LDAP configurations. Customers who do not utilize LDAP for authentication are not at risk from the most severe aspects of this vulnerability. However, upgrading to the patched version to address all identified issues is strongly recommended. This vulnerability is fixed in 2.71.0, 2.70.1, ,2.69.4, 2.68.4, 2.67.8, 2.66.11, 2.65.6, 2.64.5, and 2.63.8.

GitHub Advisory Database
Summary

ZITADEL's Admin API contains Insecure Direct Object Reference (IDOR) vulnerabilities that allow authenticated users, without specific IAM roles, to modify sensitive settings. While several endpoints are affected, the most critical vulnerability lies in the ability to manipulate LDAP configurations. Customers who do not utilize LDAP for authentication are not at risk from the most severe aspects of this vulnerability. However, we still strongly recommend upgrading to the patched version to address all identified issues.

Description

ZITADEL's Admin API, intended for managing ZITADEL instances, contains 12 HTTP endpoints that are unexpectedly accessible to authenticated ZITADEL users who are not ZITADEL managers. The most critical vulnerable endpoints relate to LDAP configuration:

  • /idps/ldap
  • /idps/ldap/{id}

By accessing these endpoints, unauthorized users could:

  • Modify ZITADEL's instance LDAP settings, redirecting all LDAP login attempts to a malicious server, effectively taking over user accounts.
  • Expose the original LDAP server's password, potentially compromising all user accounts.
Additional Vulnerable Endpoints

The following endpoints are also affected by IDOR vulnerabilities, potentially allowing unauthorized modification of instance settings such as languages, labels, and templates:

  • /idps/templates/_search
  • /idps/templates/{id}
  • /policies/label/_activate
  • /policies/label/logo
  • /policies/label/logo_dark
  • /policies/label/icon
  • /policies/label/icon_dark
  • /policies/label/font
  • /text/message/passwordless_registration/{language}
  • /text/login/{language}
Impact

The impact of this vulnerability varies depending on whether a ZITADEL instance utilizes LDAP for authentication:

  • LDAP Users: Successful exploitation could lead to complete takeover of user accounts and exposure of the LDAP server's password.
  • Non-LDAP Users: While the most severe risks are related to LDAP, exploitation of the additional vulnerable endpoints could still allow unauthorized modification of instance settings, impacting all organizations.
Patches

2.x versions are fixed on >= 2.71.0 2.70.x versions are fixed on >= 2.70.1 2.69.x versions are fixed on >= 2.69.4 2.68.x versions are fixed on >= 2.68.4 2.67.x versions are fixed on >= 2.67.8 2.66.x versions are fixed on >= 2.66.11 2.65.x versions are fixed on >= 2.65.6 2.64.x versions are fixed on >= 2.64.5 2.63.x versions are fixed on >= 2.63.8

Questions

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

Credit

This vulnerability was discovered by Amit Laish, a senior security researcher from GE Vernova and we want to thank him for reporting this to us!

Go Vulnerability Database

IDOR Vulnerabilities in ZITADEL's Admin API that Primarily Impact LDAP Configurations in github.com/zitadel/zitadel.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/zitadel/zitadel before v2.63.8, from v2.64.0 before v2.64.5, from v2.65.0 before v2.65.6, from v2.66.0 before v2.66.11, from v2.67.0 before v2.67.8, from v2.68.0 before v2.68.4, from v2.69.0 before v2.69.4, from v2.70.0 before v2.70.1.

NVD (es)

El software de infraestructura de identidad de código abierto Zitadel permite a los administradores desactivar el autorregistro de usuarios. La API de administración de ZITADEL contiene vulnerabilidades de referencia directa a objetos inseguros (IDOR) que permiten a los usuarios autenticados, sin roles de IAM específicos, modificar configuraciones confidenciales. Si bien varios endpoints se ven afectados, la vulnerabilidad más crítica radica en la capacidad de manipular configuraciones LDAP. Los clientes que no utilizan LDAP para la autenticación no corren el riesgo de sufrir los aspectos más graves de esta vulnerabilidad. Sin embargo, se recomienda encarecidamente actualizar a la versión parcheada para solucionar todos los problemas identificados. Esta vulnerabilidad se ha corregido en 2.71.0, 2.70.1, 2.69.4, 2.68.4, 2.67.8, 2.66.11, 2.65.6, 2.64.5 y 2.63.8.

References

https://github.com/zitadel/zitadel/security/advisories/GHSA-f3gh-529w-v32xadvisory, vendor-advisory, web
https://github.com/zitadel/zitadel/commit/d9d8339813f1c43d3eb7d8d80f11fdabb2fd2ee4fix, patch, web
https://nvd.nist.gov/vuln/detail/CVE-2025-27507advisory
https://github.com/zitadel/zitadelpackage
https://github.com/zitadel/zitadel/releases/tag/v2.63.8web
https://github.com/zitadel/zitadel/releases/tag/v2.64.5web
https://github.com/zitadel/zitadel/releases/tag/v2.65.6web
https://github.com/zitadel/zitadel/releases/tag/v2.66.11web
https://github.com/zitadel/zitadel/releases/tag/v2.67.8web
https://github.com/zitadel/zitadel/releases/tag/v2.68.4web
https://github.com/zitadel/zitadel/releases/tag/v2.69.4web
https://github.com/zitadel/zitadel/releases/tag/v2.70.1web

Sources

SourceRecordLicence
CVE ListCVE-2025-27507 changed 2025-03-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-f3gh-529w-v32x changed 2025-03-11CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3499 changed 2025-03-10CC-BY-4.0
NVDCVE-2025-27507 changed 2026-06-17Public domain