Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40304— zrok's broken ownership check in DELETE /api/v2/unaccess allows non-admin to delete global frontend records

Quick assessment

Affected
openziti zrok
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

zrok是OpenZiti开源的一个安全的互联网共享工具。 zrok 2.0.1之前版本存在安全漏洞,该漏洞源于unaccess处理程序存在逻辑错误,可能导致非管理员用户删除全局前端。

CVSS 5.3 · Medium EPSS 0.36% · P28
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40304

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
zrok's broken ownership check in DELETE /api/v2/unaccess allows non-admin to delete global frontend records
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
访问控制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
zrok 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
zrok是OpenZiti开源的一个安全的互联网共享工具。 zrok 2.0.1之前版本存在安全漏洞,该漏洞源于unaccess处理程序存在逻辑错误,可能导致非管理员用户删除全局前端。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
openziti zrok < 2.0.1 -

II. Public POCs for CVE-2026-40304

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40304

请登录查看更多情报信息。

Same Patch Batch · openziti · 2026-04-17 · 3 CVEs total

CVE-2026-40303 7.5 HIGH zrok allows unauthenticated DoS via unbounded memory allocation in striped session cookie
CVE-2026-40302 6.1 MEDIUM zrok has reflected XSS in GitHub OAuth callback via unsanitized refreshInterval error rend

IV. Related Vulnerabilities

V. Comments for CVE-2026-40304

No comments yet


Leave a comment