Logical Error in Zrok Software for Web Services and Resource Sharing
CVE-2026-40304
What is CVE-2026-40304?
The Zrok software, designed for sharing web services, files, and network resources, is susceptible to a logical error that allows non-admin users to delete global frontend records. This vulnerability occurs due to an issue in the ownership guard mechanism within the unaccess handler. Specifically, when a frontend record's environment_id is NULL, the condition incorrectly evaluates to false, thereby bypassing ownership verification. As a result, a non-admin user with a valid global frontend token can send a DELETE request to /api/v2/unaccess using any of their environment IDs, leading to the permanent deletion of the global frontend and consequently disrupting all public shares routed through it. The issue has been resolved in version 2.0.1.
Affected Version(s)
zrok < 2.0.1
