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-40303

CVE-2026-40303: Netfoundry Zrok DOS Vulnerability

CVE-2026-40303 is a denial of service flaw in Netfoundry Zrok that allows unauthenticated attackers to trigger massive heap allocations. This post covers technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-40303 Overview

CVE-2026-40303 is a resource exhaustion vulnerability in zrok, software developed by NetFoundry for sharing web services, files, and network resources. The vulnerability exists in the endpoints.GetSessionCookie function, which parses an attacker-supplied cookie chunk count and calls make([]string, count) without any upper bound validation before token authentication occurs. This allows unauthenticated remote attackers to trigger massive heap allocations, leading to denial of service conditions.

Critical Impact

Unauthenticated remote attackers can trigger gigabyte-scale heap allocations per request, causing process-level OOM termination or repeated goroutine panics, effectively denying service to legitimate users of OAuth-protected proxy shares.

Affected Products

  • Netfoundry zrok versions prior to 2.0.1
  • zrok publicProxy component
  • zrok dynamicProxy component

Discovery Timeline

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

Technical Details for CVE-2026-40303

Vulnerability Analysis

This vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption). The flaw resides in the session cookie handling logic of zrok's proxy functionality. When processing incoming requests to OAuth-protected proxy shares, the application parses a cookie value that specifies how many string chunks to allocate in memory. The critical issue is that this parsing and memory allocation occurs before any authentication or token validation takes place.

The attack surface is accessible via network without any authentication requirements or user interaction, making it trivially exploitable. An attacker can craft malicious requests specifying arbitrarily large chunk counts, forcing the application to allocate gigabytes of memory per request. This can rapidly exhaust available system memory, triggering either Out-of-Memory (OOM) killer termination of the process or causing repeated goroutine panics that destabilize the service.

Root Cause

The root cause is improper input validation in the endpoints.GetSessionCookie function. The function accepts an attacker-controlled integer value specifying the number of cookie chunks without implementing any upper bound validation. The absence of input sanitization before the make([]string, count) call allows unbounded memory allocation requests. This design flaw is compounded by the fact that the vulnerable code path is reached before any authentication checks, enabling unauthenticated exploitation.

Attack Vector

The attack is network-based and can be executed by any unauthenticated remote attacker who can reach an OAuth-protected proxy share. The attacker sends HTTP requests with specially crafted cookie values containing extremely large chunk count values. Each malicious request forces the zrok service to attempt allocating massive amounts of heap memory.

The vulnerability affects both the publicProxy and dynamicProxy components, meaning any zrok deployment utilizing OAuth-protected proxy shares is potentially vulnerable. The attack requires no special privileges, no user interaction, and can be automated to send many requests in rapid succession, quickly exhausting server resources.

Since no verified code examples are available, readers should consult the GitHub Security Advisory for detailed technical information about the vulnerability mechanism and exploitation vectors.

Detection Methods for CVE-2026-40303

Indicators of Compromise

  • Unusual memory consumption spikes on servers running zrok proxy services
  • Frequent OOM killer events or process terminations in system logs
  • Repeated goroutine panic messages in zrok application logs
  • High volume of requests to OAuth-protected proxy endpoints with abnormal cookie sizes

Detection Strategies

  • Monitor system memory utilization and alert on rapid memory consumption increases
  • Implement log analysis rules to detect OOM events and goroutine panic patterns
  • Deploy network-level monitoring to identify suspicious request patterns targeting proxy endpoints
  • Use application performance monitoring to track unusual resource allocation behavior in zrok services

Monitoring Recommendations

  • Configure memory usage alerts with thresholds appropriate for your environment
  • Enable detailed logging on zrok proxy components to capture request metadata
  • Implement rate limiting on proxy endpoints as a detection and defense measure
  • Review access logs for requests with abnormally large cookie header values

How to Mitigate CVE-2026-40303

Immediate Actions Required

  • Upgrade zrok to version 2.0.1 or later immediately
  • If immediate upgrade is not possible, consider temporarily disabling OAuth-protected proxy shares
  • Implement network-level rate limiting to reduce the impact of exploitation attempts
  • Monitor systems for signs of active exploitation while remediation is in progress

Patch Information

NetFoundry has addressed this vulnerability in zrok version 2.0.1. The patch implements proper upper bound validation on the cookie chunk count parameter before memory allocation occurs. Organizations should upgrade to this version or later to fully remediate the vulnerability.

For detailed patch information, see the GitHub Release v2.0.1 and the GitHub Security Advisory.

Workarounds

  • Implement reverse proxy or WAF rules to limit maximum cookie header sizes
  • Apply network-level rate limiting on endpoints serving OAuth-protected proxy shares
  • Consider temporarily restricting access to affected proxy services to trusted IP ranges
  • Deploy resource limits (cgroups, container memory limits) to prevent single-service OOM from affecting the entire system
bash
# Example: Configure nginx rate limiting for zrok proxy endpoints
limit_req_zone $binary_remote_addr zone=zrok_limit:10m rate=10r/s;

location /proxy/ {
    limit_req zone=zrok_limit burst=20 nodelay;
    # Additional proxy configuration
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNetfoundry Zrok

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

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

  • CVE-2026-40304: Netfoundry Zrok Auth Bypass 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