{
  "id": "CVE-2026-58165",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-58165",
  "published_at": "2026-06-30T15:49:12.654Z",
  "title": "OpenZiti - Privilege Escalation to Admin via Unauthorized Enrollment Creation",
  "vendor": "openziti",
  "product": "ziti",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-862",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "openziti",
        "product": "ziti",
        "ranges": [
          "\u003c= 2.0.0"
        ],
        "fixed_in": [
          "3027fdffd3e57884487b7c46e5e669cfbc8becdf"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ziti to 3027fdffd3e57884487b7c46e5e669cfbc8becdf or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/openziti/ziti/pull/4013"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openziti/ziti/commit/3027fdffd3e57884487b7c46e5e669cfbc8becdf"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/openziti/ziti/issues/4010",
      "source": "cvelist",
      "title": "Researcher Disclosure",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
