CVE-2026-40304
published medium CVSS 3.1 · 5.3zrok's broken ownership check in DELETE /api/v2/unaccess allows non-admin to delete global frontend records
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openziti | — | zrok< 2.0.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openziti | zrok | < 2.0.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-284 CWE-284: Improper Access Control
- CWE-863 CWE-863: Incorrect Authorization
References
2Provider assertions
2GitHub_M · cna
zrok's broken ownership check in DELETE /api/v2/unaccess allows non-admin to delete global frontend records
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 073866b082a7d44f0225e9810ad9861e965b1091b748f7a6f7635b31e81c60ca
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record