{"id":"CVE-2026-58165","summary":"OpenZiti - Privilege Escalation to Admin via Unauthorized Enrollment Creation","details":"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.","modified":"2026-07-08T08:12:10.064578340Z","published":"2026-06-30T15:49:12.654Z","database_specific":{"cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58165.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58165.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58165"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openziti-privilege-escalation-to-admin-via-unauthorized-enrollment-creation"},{"type":"REPORT","url":"https://github.com/openziti/ziti/pull/4013"},{"type":"FIX","url":"https://github.com/openziti/ziti/commit/3027fdffd3e57884487b7c46e5e669cfbc8becdf"},{"type":"PACKAGE","url":"https://github.com/openziti/ziti"},{"type":"EVIDENCE","url":"https://github.com/openziti/ziti/issues/4010"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openziti/ziti","events":[{"introduced":"0"},{"fixed":"9bf62f39ec3ba1a25d2faeea01b707410d73428d"},{"fixed":"3027fdffd3e57884487b7c46e5e669cfbc8becdf"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"2.0.0"}]}}],"versions":["v2.0.0-pre15","v2.0.0","v2.0.0-pre14","v2.0.0-pre13","v2.0.0-pre12","v2.0.0-pre11","v2.0.0-pre10","v2.0.0-pre9","v2.0.0-pre8","v2.0.0-pre7","v2.0.0-pre6","v2.0.0-pre5","v2.0.0-pre4","v2.0.0-pre3","v2.0.0-pre2","v2.0.0-pre1","v1.8.0-pre5","v1.8.0-pre4","v1.8.0-pre3","v1.8.0-pre2","v1.8.0-pre1","v1.7.1","v1.7.0","v1.5.4","v1.6.8","v1.6.7","v1.6.6","v1.6.5","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.1.15","v1.2.2","v1.2.1","v1.2.0","v1.1.14","v1.1.13","v1.1.12","v1.1.11","v1.1.10","v1.1.9","v1.1.8","v1.1.7","v1.1.6","v1.1.5","v1.1.4","v1.1.3","v1.1.1","v1.0.0","v1.1.0","v0.34.2","v0.34.1","v0.34.0","v0.33.1","v0.33.0","v0.32.2","v0.32.1","v0.32.0","v0.31.4","v0.31.3","v0.31.2","v0.31.1","v0.31.0","v0.30.5","v0.30.4","v0.30.3","v0.30.2","v0.30.1","v0.30.0","v0.29.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58165.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}