{"id":"CVE-2026-40304","published":"2026-04-17T21:04:23Z","modified":"2026-04-20T14:57:24Z","title":"zrok's broken ownership check in DELETE /api/v2/unaccess allows non-admin to delete global frontend records","vendor":"openziti","product":"zrok","tier":"tail","description":{"text":"zrok is software for sharing web services, files, and network resources. Prior to version 2.0.1, the unaccess handler (controller/unaccess.go) contains a logical error in its ownership guard: when a frontend record has environment_id = NULL (the marker for admin-created global frontends), the condition short-circuits to false and allows the deletion to proceed without any ownership verification. A non-admin user who knows a global frontend token can call DELETE /api/v2/unaccess with any of their own environment IDs and permanently delete the global frontend, taking down all public shares routed through it. Version 2.0.1 patches the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00297,"percentile":0.2289,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/openziti/zrok/security/advisories/GHSA-3jpj-v3xr-5h6g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openziti/zrok/releases/tag/v2.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":4.58},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"openziti","affectedVersions":[{"vendor":"openziti","product":"zrok","versions":["< 2.0.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-20T14:51:35.879686Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openziti/zrok","vulnerableRanges":["<=1.1.11","all versions"],"patched":[],"from":["GHSA-3jpj-v3xr-5h6g","GO-2026-5090"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/openziti/zrok/v2","vulnerableRanges":["<2.0.1"],"patched":["2.0.1"],"from":["GHSA-3jpj-v3xr-5h6g","GO-2026-5090"],"provenance":"source"}],"summary":{"text":"zrok, a software product for sharing web services, files, and network resources, contains a broken ownership check in the unaccess handler (controller/unaccess.go) that is reached via DELETE /api/v2/unaccess. An attacker with network access and low privileges (a non-admin account) who knows a global frontend token can use any of their own environment IDs to permanently delete that global frontend, disrupting all public shares routed through it, with no user interaction required and the attack complexity rated high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:13Z"},"euvd":{"id":"EUVD-2026-23551","exploited":false,"provenance":"source"}}