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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-30T15:49:12.654Z
- Modified: 2026-11-08T14:06:47.920Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- openziti ziti: up to 2.0.0 (not affected: 3027fdffd3e57884487b7c46e5e669cfbc8becdf)

## Every score

- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- VulnCheck: CVSS:4.0 8.7 High `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`

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

- CVE List: [CVE-2026-58165](https://www.cve.org/CVERecord?id=CVE-2026-58165), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-58165](https://nvd.nist.gov/vuln/detail/CVE-2026-58165), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-58165 · Whole record: https://cve.day/CVE-2026-58165.json · Rebuilt by cve.day 2026-11-25T22:59:26.714Z
