CVE-2026-40304 json
zrok's broken ownership check in DELETE /api/v2/unaccess allows non-admin to delete global frontend records
published 2026-04-16 6 mo ago modified 2026-10-26 13 d ago also GHSA-3jpj-v3xr-5h6g , GO-2026-5090 , EUVD-2026-23551
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/openziti/zrok/v2 2.0.1
- netfoundry zrok 2.0.1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/openziti/zrok | <=1.1.11 all versions |
no fix listed |
| go | github.com/openziti/zrok/v2 | <2.0.1 |
2.0.1 |
Affected products
- openziti zrok
Classification
References
-
github.com
/openziti/zrok/security/advisories/GHSA-3jpj-v3xr-5h6g
web, vendor-advisory, advisory
-
github.com
/openziti/zrok/releases/tag/v2.0.1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-40304
advisory
-
github.com
/openziti/zrok
package
Sources
- CVE List CVE-2026-40304
- GitHub Advisory GHSA-3jpj-v3xr-5h6g
- NVD CVE-2026-40304
- OSV GO-2026-5090
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.