Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 97%

CVE-2026-40304: CWE-284: Improper Access Control in openziti zrok

0
Medium
VulnerabilityCVE-2026-40304cvecve-2026-40304cwe-284cwe-863
Published: Fri Apr 17 2026 (04/17/2026, 21:04:23 UTC)
Source: CVE Database V5
Vendor/Project: openziti
Product: zrok

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.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/25/2026, 02:56:17 UTC

Technical Analysis

The vulnerability in openziti zrok (CVE-2026-40304) involves a logical flaw in the unaccess handler's ownership guard. Specifically, when a frontend record has a NULL environment_id (indicating an admin-created global frontend), the check incorrectly short-circuits, allowing deletion without verifying ownership. Consequently, a non-admin user who knows a global frontend token can exploit this by calling DELETE /api/v2/unaccess with any of their own environment IDs, leading to permanent deletion of the global frontend and disruption of all public shares routed through it. This flaw affects versions prior to 2.0.1, which includes the fix.

Potential Impact

The vulnerability allows non-admin users to delete global frontend resources that they do not own, causing denial of service by taking down all public shares routed through the deleted frontend. There is no direct confidentiality or integrity impact reported, but availability is significantly affected.

Mitigation Recommendations

Upgrade to openziti zrok version 2.0.1 or later, which patches the improper access control vulnerability. Since the vendor has released a fixed version, applying this official update is the recommended remediation. Patch status is confirmed by the versioning information in the advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-10T21:41:54.504Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e2a83ebdfbbecc5994f134

Added to database: 4/17/2026, 9:38:06 PM

Last enriched: 4/25/2026, 2:56:17 AM

Last updated: 6/1/2026, 8:33:06 PM

Views: 47

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses