Skip to main content

OpenZiti CVE-2026-58165

| EUVDEUVD-2026-40371 HIGH
Missing Authorization (CWE-862)
2026-06-30 VulnCheck GHSA-c883-vc4m-3vc9
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as non-admin with enrollment-management permission
  2. Delivery
    Call create-enrollment targeting admin identity
  3. Exploit
    Controller mints one-time token (no authz check)
  4. Execution
    Redeem token at unauthenticated client enrollment API
  5. Persist
    Obtain client certificate as admin
  6. Impact
    Full administrative control of controller and overlay

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must already possess a valid, authenticated non-admin OpenZiti identity that has been granted fine-grained enrollment-management (entity-level enrollment create) permissions - this delegated permission is the exact prerequisite. With it, no further special configuration is required: the create-enrollment call succeeds against any target identity including the default admin, and the resulting one-time token is redeemed through the normally unauthenticated client API enrollment endpoint. Limiting factors: exploitation is impossible without that enrollment-management grant (PR:L in the vector), so deployments that never delegate enrollment management to non-admins are not exposed; the attacker also needs network reachability to both the management API (to create) and the client enrollment endpoint (to redeem). Affected versions are OpenZiti through 2.0.0.

Impact

All decision signals point to a genuine, high-priority issue rather than a high-CVSS paper risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, VC:H/VI:H/VA:H, score 8.7) indicates remote, low-complexity exploitation needing only low privileges and no user interaction, with full compromise of confidentiality, integrity, and availability of the controller. The privilege requirement is real but low - an attacker needs an existing non-admin identity that has been granted enrollment-management permissions, which limits exposure to environments using fine-grained delegated administration. Exploit code/details are publicly available (VulnCheck advisory and issue #4010) and a vendor patch exists, which typically increases near-term exploitation likelihood. EPSS and CISA KEV data were not provided; absence of KEV is not evidence of non-exploitation, only that active in-the-wild use is unconfirmed here. The technical impact is total (admin of the overlay), so for any OpenZiti deployment that delegates enrollment management to non-admins this should be treated as urgent.

Exploit ScenarioDerived

An attacker who controls a low-privileged OpenZiti identity that has been delegated enrollment-management permissions calls the controller's create-enrollment API specifying the default administrator's identity as the target; because no authorization check binds caller to target, the controller mints a one-time enrollment token for the admin. The attacker then redeems that token through the unauthenticated client API enrollment endpoint, obtains a client certificate authenticating as the admin, and gains full administrative control of the controller and overlay. Publicly available exploit details (VulnCheck, issue #4010) lower the barrier; the CVSS network vector and low attack complexity make this straightforward once the prerequisite permission is held.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv5 – Jun 30, 2026

Privilege escalation in OpenZiti through 2.0.0 lets an authenticated non-admin identity that holds fine-grained enrollment-management permissions mint an enrollment for any identity - including the built-in default administrator - and then redeem the resulting one-time token via the unauthenticated client enrollment API to receive a client certificate that authenticates as that admin, granting full control of the controller and the entire zero-trust overlay. The root cause is a missing authorization check (CWE-862) in the enrollment creation path. Publicly available exploit details exist (reported by VulnCheck, GitHub issue #4010) and a vendor fix is available; no public exploit identified as actively used at time of analysis.

Earlier versions of this analysis (4)
v4 Jun 30, 2026 - 17:43 cvss changed CVSS 8.7

Privilege escalation in OpenZiti through 2.0.0 lets an authenticated non-admin identity holding fine-grained enrollment-management permissions mint an enrollment for any identity — including the built-in default administrator — then redeem the resulting one-time token to authenticate as that admin. The flaw stems from a missing authorization check (CWE-862) in the controller's enrollment creation path, and publicly available exploit code exists, though it is not listed in CISA KEV.

v3 Jun 30, 2026 - 17:43 cvss changed CVSS 8.7

Privilege escalation in OpenZiti through 2.0.0 lets an authenticated non-admin identity holding fine-grained enrollment-management permissions create an enrollment for any identity - including the built-in default administrator - then redeem the resulting one-time token via the unauthenticated client enrollment API to obtain a client certificate that authenticates as that admin, granting full control of the controller and the entire zero-trust overlay. The flaw (CWE-862, missing authorization) was reported by VulnCheck, has publicly available exploit material, and is fixed in commit 3027fdf; CVSS 4.0 base score is 8.7 (High).

v2 Jun 30, 2026 - 17:42 cvss changed CVSS 8.7

Privilege escalation in OpenZiti through 2.0.0 lets an authenticated non-admin identity holding fine-grained enrollment-management permissions mint an enrollment for any identity - including the built-in default administrator - and redeem the resulting one-time token to obtain a client certificate that authenticates as that admin, granting full control of the controller and the zero-trust overlay. The flaw is a missing authorization check (CWE-862) in the ApplyCreate enrollment path, fixed in commit 3027fdf. Publicly available exploit code exists and a vendor patch is available; this is not currently listed in CISA KEV.

v1 Jun 30, 2026 - 17:15 CVSS 8.8

Privilege escalation in OpenZiti through 2.0.0 lets an authenticated non-admin identity holding fine-grained enrollment-management permissions forge an enrollment for any identity - including the built-in default administrator - and redeem the resulting one-time token to obtain a client certificate that authenticates as that admin. Successful exploitation yields full administrative control of the controller and the entire zero-trust overlay it governs. Publicly available exploit code exists; no public report of active exploitation at time of analysis.

RemediationAI

Upgrade OpenZiti to the build containing the fix in commit 3027fdffd3e57884487b7c46e5e669cfbc8becdf (merged via pull request https://github.com/openziti/ziti/pull/4013); an upstream fix is available but the specific tagged released version was not provided, so confirm the exact patched release with the vendor before deploying. As an interim compensating control, audit and revoke fine-grained enrollment-management permissions from any non-admin identities, since the vulnerability is only reachable by callers holding that delegated permission - the trade-off is that legitimate delegated enrollment workflows are disrupted and must be performed by full admins. Additionally, monitor for and treat as suspicious any newly created enrollments targeting admin identities (especially the default administrator) and any unexpected certificate enrollments redeemed against the client API, and rotate/invalidate suspicious one-time tokens. Review the advisories at https://github.com/openziti/ziti/issues/4010 and https://www.vulncheck.com/advisories/openziti-privilege-escalation-to-admin-via-unauthorized-enrollment-creation for vendor guidance.

Affected VersionsENISA

ziti 0 ≤2.0.0

Affected Packages

euvd ziti no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenZiti is an open-source zero-trust networking overlay whose controller issues identities and brokers enrollment of edge clients/routers via X.509 certificates. Enrollment objects carry a one-time token (and JWT) that, when redeemed against the client API enrollment endpoint, mints a client certificate binding the bearer to a specific identity. The flaw lives in ApplyCreate in controller/model/enrollment_manager.go: it confirms only that the target identity exists, without an authorization check tying the calling identity to the target. This is a textbook CWE-862 Missing Authorization - the permission to manage enrollments was treated as sufficient, ignoring whose identity the enrollment is for. The PR (#4013, commit 3027fdf) adds checkNonAdminEnrollmentForIdentity / checkNonAdminAccessToEnrollment guards that block non-admins from creating, reading, refreshing, deleting, or listing enrollments belonging to admin identities (identity.IsAdmin). Affected component per CPE is cpe:2.3:a:openziti:ziti.

Know when Openziti gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 8.8 HIGH

Remote API call (AV:N) at low complexity (AC:L) requires an authenticated non-admin with delegated enrollment permission (PR:L) and no user interaction; redeeming the token yields full admin, so C/I/A:H.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Analysis Updated
Jun 30, 2026 - 17:44 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 17:43 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 17:43 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 17:42 vuln.today
v2 - CVSS changed
CVSS changed
Jun 30, 2026 - 17:22 NVD
8.8 (HIGH) 8.7 (HIGH)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

OpenZiti through version 2.0.0 contains a privilege escalation flaw that allows any authenticated user holding enrollment-management permissions to compromise the built-in administrator account and seize full control of the entire zero-trust network overlay. Organizations depending on OpenZiti for critical network access enforcement lose enforcement capability and face complete infrastructure compromise. Immediate patching and permission auditing are required.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche open-source zero-trust overlay, limited production footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy