8.7high
OpenZiti - Privilege Escalation to Admin via Unauthorized Enrollment Creation
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
OpenZiti through 2.0.0, fixed in commit 3027fdf, contains a privilege escalation vulnerability that allows authenticated non-admin identities with fine-grained enrollment management permissions to create enrollments for any identity, including the default administrator, because the ApplyCreate function in controller/model/enrollment_manager.go verifies only that the target identity exists without performing authorization checks binding the caller to the target identity. Attackers can redeem the resulting one-time token through the unauthenticated client API enrollment endpoint to obtain a client certificate authenticating as the targeted admin identity, yielding full administrative control of the controller and the zero-trust overlay it manages.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| openziti ziti | up to 2.0.0 Not affected: 3027fdffd3e57884487b7c46e5e669cfbc8becdf | CVE List |
All scores
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
OpenZiti through 2.0.0, fixed in commit 3027fdf, contains a privilege escalation vulnerability that allows authenticated non-admin identities with fine-grained enrollment management permissions to create enrollments for any identity, including the default administrator, because the ApplyCreate function in controller/model/enrollment_manager.go verifies only that the target identity exists without performing authorization checks binding the caller to the target identity. Attackers can redeem the resulting one-time token through the unauthenticated client API enrollment endpoint to obtain a client certificate authenticating as the targeted admin identity, yielding full administrative control of the controller and the zero-trust overlay it manages.
NVD (es)
OpenZiti hasta la versión 2.0.0, corregido en el commit 3027fdf, contiene una vulnerabilidad de escalada de privilegios que permite a identidades autenticadas no administradoras con permisos de gestión de inscripción de grano fino crear inscripciones para cualquier identidad, incluyendo el administrador predeterminado, porque la función ApplyCreate en controller/model/enrollment_manager.go verifica solo que la identidad objetivo existe sin realizar comprobaciones de autorización que vinculen al llamador con la identidad objetivo. Los atacantes pueden canjear el token de un solo uso resultante a través del endpoint de inscripción de la API de cliente no autenticado para obtener un certificado de cliente que autentica como la identidad de administrador objetivo, lo que otorga control administrativo total del controlador y la superposición de confianza cero que gestiona.
References
| https://github.com/openziti/ziti/issues/4010 | exploit, issue-tracking, technical-description | |
| https://github.com/openziti/ziti/pull/4013 | issue-tracking, patch | |
| https://github.com/openziti/ziti/commit/3027fdffd3e57884487b7c46e5e669cfbc8becdf | patch | |
| https://www.vulncheck.com/advisories/openziti-privilege-escalation-to-admin-via-unauthorized-enrollment-creation | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58165 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-58165 changed 2026-10-25 | Public domain |