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 lets non-admin users delete global frontends and disrupt public shares. This article covers the technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-40304 Overview

CVE-2026-40304 is an improper access control vulnerability in zrok, a software platform 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 that allows non-admin users to delete global frontends without proper authorization verification.

When a frontend record has environment_id = NULL (the marker for admin-created global frontends), the ownership condition short-circuits to false and allows the deletion to proceed without any ownership verification. This flaw enables a non-admin user who knows a global frontend token to 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.

Critical Impact

A non-privileged user can permanently delete admin-created global frontends, causing denial of service for all public shares routed through the affected frontend.

Affected Products

  • Netfoundry Zrok versions prior to 2.0.1

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

This vulnerability is classified as Improper Access Control (CWE-284), where the application fails to properly restrict access to a sensitive resource deletion operation. The core issue lies in the ownership verification logic within the unaccess handler function.

The flaw is particularly significant because global frontends are critical infrastructure components in zrok deployments. These admin-created frontends serve as routing endpoints for multiple public shares, making their unauthorized deletion a high-impact availability issue.

The vulnerability can be exploited over the network by authenticated low-privileged users. While the attack requires some knowledge of global frontend tokens and elevated complexity, successful exploitation results in complete availability loss for all services routed through the affected frontend.

Root Cause

The root cause is a logical error in the ownership guard within controller/unaccess.go. When checking if a user has permission to delete a frontend, the code evaluates whether the frontend's environment_id matches the requesting user's environment. However, for global frontends created by administrators, the environment_id is set to NULL.

The ownership condition incorrectly short-circuits when environment_id = NULL, returning false instead of denying access. This causes the guard to fail open, allowing the deletion to proceed without verifying that the requesting user has administrative privileges to manage global frontends.

Attack Vector

The attack vector is network-based, requiring an authenticated but non-privileged user account. The attacker must:

  1. Obtain knowledge of a global frontend token (through observation, enumeration, or other means)
  2. Have a valid environment ID associated with their account
  3. Send a crafted DELETE request to /api/v2/unaccess endpoint with the target global frontend token and their own environment ID

The vulnerability exploits the logical flaw where the NULL environment_id comparison causes the ownership check to bypass authorization entirely. When the deletion proceeds, all public shares routed through that global frontend become inaccessible, causing service disruption for potentially many users.

Detection Methods for CVE-2026-40304

Indicators of Compromise

  • Unexpected deletion of global frontend records from the zrok database
  • API logs showing DELETE /api/v2/unaccess requests from non-admin user accounts targeting global frontends
  • Sudden unavailability of public shares that were previously functioning correctly
  • Database audit logs indicating frontend records with NULL environment_id being removed

Detection Strategies

  • Monitor API access logs for DELETE requests to /api/v2/unaccess endpoints, particularly from non-administrative accounts
  • Implement alerting for any modification or deletion of frontend records where environment_id = NULL
  • Review authentication and authorization logs for suspicious access patterns involving frontend management operations
  • Deploy SentinelOne Singularity Platform for real-time threat detection and behavioral analysis of API abuse patterns

Monitoring Recommendations

  • Enable detailed audit logging for all frontend management API operations
  • Configure database-level triggers or monitoring to alert on deletions of global frontend records
  • Implement rate limiting and anomaly detection for the /api/v2/unaccess endpoint
  • Establish baseline metrics for frontend availability to quickly identify unauthorized deletions

How to Mitigate CVE-2026-40304

Immediate Actions Required

  • Upgrade zrok to version 2.0.1 or later immediately to patch the vulnerability
  • Audit recent API logs for any suspicious DELETE /api/v2/unaccess requests from non-admin users
  • Verify the integrity of all global frontend configurations and restore any that may have been deleted
  • Restrict network access to the zrok API to trusted sources while patching is in progress

Patch Information

Netfoundry has released version 2.0.1 of zrok which addresses this vulnerability. The patch corrects the ownership guard logic in controller/unaccess.go to properly deny deletion requests when environment_id = NULL unless the requesting user has administrative privileges.

For detailed patch information, refer to the GitHub Zrok Release v2.0.1 and the GitHub Security Advisory GHSA-3jpj-v3xr-5h6g.

Workarounds

  • Restrict access to the /api/v2/unaccess endpoint at the network or reverse proxy level to admin users only
  • Implement additional authorization middleware to validate admin privileges for any operations affecting global frontends
  • Deploy API gateway policies that require explicit admin authentication for frontend deletion operations
  • Consider temporarily disabling the unaccess API endpoint until the patch can be applied
bash
# Example: Restrict access to unaccess endpoint via nginx
# Add to nginx configuration for zrok API proxy
location /api/v2/unaccess {
    # Restrict to admin IP ranges only
    allow 10.0.0.0/8;
    deny all;
    
    proxy_pass http://zrok-backend;
}

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 Zrok Release v2.0.1
  • Vendor Resources
  • GitHub Security Advisory GHSA-3jpj-v3xr-5h6g
  • Related CVEs
  • 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 World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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