The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40304

CVE-2026-40304: Netfoundry Zrok Auth Bypass Vulnerability

CVE-2026-40304 is an authentication bypass flaw in Netfoundry Zrok that allows non-admin users to delete global frontends without ownership verification. This article covers technical details, affected versions, and patches.

Updated: May 14, 2026

CVE-2026-40304 Overview

CVE-2026-40304 is a broken access control flaw [CWE-284] in zrok, an open source platform for sharing web services, files, and network resources. The vulnerability resides in the unaccess handler at controller/unaccess.go, where an ownership guard short-circuits when a frontend record has environment_id = NULL. That NULL value marks admin-created global frontends, so the check bypasses ownership verification entirely. A non-admin user who knows a global frontend token can issue a DELETE /api/v2/unaccess request with any of their own environment IDs and permanently delete that global frontend. Removing the global frontend takes down every public share routed through it. Version 2.0.1 patches the issue.

Critical Impact

Any authenticated zrok user can permanently destroy admin-created global frontends, disrupting all public shares routed through them.

Affected Products

  • Netfoundry zrok versions prior to 2.0.1
  • Self-hosted zrok controllers exposing the /api/v2/unaccess endpoint
  • zrok deployments that rely on global (admin-created) frontends to route public shares

Discovery Timeline

  • 2026-04-17 - CVE-2026-40304 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2026-40304

Vulnerability Analysis

zrok separates frontends into user-owned and global (admin-created) records. User-owned frontends carry an environment_id linking them to a specific user environment, while global frontends store environment_id as NULL. The unaccess handler in controller/unaccess.go is responsible for tearing down access bindings and, by extension, frontend records.

The handler enforces ownership by comparing the frontend's environment_id against an environment owned by the caller. When environment_id is NULL, the SQL or Go-level comparison evaluates to false, but the code path interprets that result as "no ownership conflict" rather than "unverified ownership." The deletion proceeds without authorization, allowing any authenticated user to remove an admin-managed resource.

Root Cause

The root cause is improper handling of NULL semantics inside the ownership predicate. The guard treats the absence of an owning environment as a passable condition instead of an explicit denial. Records reserved for administrative control should fail closed when standard ownership cannot be established.

Attack Vector

Exploitation requires network access to the zrok controller API and low-privilege authenticated credentials. The attacker must also know a target global frontend token, which is typically referenced in public share URLs and configuration. The attacker calls DELETE /api/v2/unaccess, supplies the global frontend token, and includes any environment ID they legitimately own. The handler validates the caller's environment, fails to validate frontend ownership against NULL, and removes the global frontend, breaking all dependent public shares. Refer to the GitHub Security Advisory GHSA-3jpj-v3xr-5h6g for the upstream technical write-up.

Detection Methods for CVE-2026-40304

Indicators of Compromise

  • DELETE /api/v2/unaccess requests submitted by non-admin accounts that target frontend tokens belonging to global frontends.
  • Sudden disappearance of admin-created global frontend records in the zrok controller database with no corresponding administrative action.
  • Mass failures across public shares that previously routed through a shared global frontend.

Detection Strategies

  • Audit controller logs for unaccess calls and correlate the requesting user's role against the deleted frontend's environment_id.
  • Alert when a frontend whose environment_id is NULL is removed by any account other than a designated administrator.
  • Compare a known-good inventory of global frontends to the live controller state on a recurring schedule.

Monitoring Recommendations

  • Ship zrok controller API and database logs to a centralized log platform with retention sufficient for incident review.
  • Track HTTP 200 responses on DELETE /api/v2/unaccess and pivot on user identity, source IP, and frontend token.
  • Monitor share availability metrics and treat sharp drops as a trigger for frontend integrity checks.

How to Mitigate CVE-2026-40304

Immediate Actions Required

  • Upgrade all zrok controllers to version 2.0.1 or later as published in the zrok v2.0.1 release.
  • Rotate any global frontend tokens that may have been exposed in shared URLs, documentation, or chat history.
  • Review controller audit logs for unauthorized unaccess activity since the affected versions were deployed.

Patch Information

Netfoundry resolved the flaw in zrok version 2.0.1. The fix updates the ownership guard in controller/unaccess.go so that frontend records with environment_id = NULL cannot be deleted through the standard unaccess path. Full details are available in the GitHub Security Advisory GHSA-3jpj-v3xr-5h6g.

Workarounds

  • Restrict network access to the zrok controller API to trusted administrative networks until the upgrade is complete.
  • Limit account creation on shared zrok deployments and review existing low-privilege accounts for legitimacy.
  • Back up the controller database regularly so deleted global frontends can be restored quickly if abused.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechNetfoundry Zrok

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-284
  • Technical References
  • GitHub Release v2.0.1
  • Vendor Resources
  • GitHub Security Advisory GHSA-3jpj-v3xr-5h6g
  • Related CVEs
  • CVE-2026-42275: Netfoundry Zrok Path Traversal Vulnerability

  • CVE-2026-40303: Netfoundry Zrok DOS Vulnerability

  • CVE-2026-40302: Netfoundry Zrok XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English