CVE-2026-58165: OpenZiti privilege escalation in enrollment manager

CVE-2026-58165 · Severity: high · CVSS 8.8 · Published 2026-06-30

OpenZiti, a zero-trust networking platform, contains a security flaw that allows users with limited permissions to escalate their access to full administrator status. By exploiting a lack of authorization checks during the enrollment process, a non-admin user can generate a security token for the administrator account. This allows an attacker to take complete control of the network controller and the entire zero-trust environment it manages.

Vendors: OpenZiti.

Quick answers

Is CVE-2026-58165 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-58165 being exploited in the wild.
How severe is CVE-2026-58165?
High severity, with a CVSS score of 8.8, published 30 June 2026.
Which products and versions are affected?
OpenZiti Ziti Through 2.0.0.
Is there a fix for CVE-2026-58165?
A patch was published on 2026-06-26: Fix merged into main branch via commit 3027fdf Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-58165 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-58165?
Check whether you run OpenZiti Ziti at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A missing authorization check (CWE-862) exists in the ApplyCreate function within controller/model/enrollment_manager.go. While the system verifies that a target identity exists, it fails to ensure the caller is authorized to manage enrollments for that specific identity. An authenticated attacker with 'enrollment' entity permissions can create a one-time-token (OTT) for a target admin identity. By redeeming this token via the unauthenticated client API enrollment endpoint (POST /edge/client/v1/enroll/ott), the attacker obtains a client certificate with isAdmin=true. This vulnerability was fixed in commit 3027fdf and is addressed in versions following 2.0.0.

Affected products

  • OpenZiti Ziti Through 2.0.0

Timeline

  • 2026-06-19: disclosed: Issue reported via GitHub and fix developed
  • 2026-06-26: patched: Fix merged into main branch via commit 3027fdf
  • 2026-06-30: advisory: NVD and VulnCheck advisories published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.