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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 5.3 · Medium EPSS 0.01% · P2
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
访问控制不恰当
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
openzitizrok < 2.0.1 -

II. Public POCs for CVE-2026-40304

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

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-403037.5 HIGHzrok allows unauthenticated DoS via unbounded memory allocation in striped session cookie
CVE-2026-403026.1 MEDIUMzrok 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