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

CVE-2026-42275: Netfoundry Zrok Path Traversal Vulnerability

CVE-2026-42275 is a path traversal flaw in Netfoundry Zrok's WebDAV backend that allows symlink following to access files outside the shared root. This article covers technical details, affected versions, and mitigation.

Published: May 18, 2026

CVE-2026-42275 Overview

CVE-2026-42275 is a path traversal vulnerability [CWE-22] in zrok, an open-source platform from NetFoundry for sharing web services, files, and network resources. Versions prior to 2.0.2 contain a flaw in the WebDAV drive backend (davServer.Dir) that normalizes lexical path traversal but fails to block symbolic link following. Remote WebDAV consumers can exploit symlinks inside a shared DriveRoot to read files outside that root. On shares lacking operating system permission restrictions, attackers can also write or overwrite arbitrary files accessible to the zrok process. The maintainers patched the issue in version 2.0.2.

Critical Impact

Remote attackers connecting to an exposed zrok WebDAV share can read, write, or overwrite files anywhere on the host filesystem accessible to the zrok process, leading to data disclosure and potential host compromise.

Affected Products

  • NetFoundry zrok versions prior to 2.0.2
  • zrok WebDAV drive backend component (davServer.Dir)
  • Self-hosted and managed zrok deployments sharing local directories via WebDAV

Discovery Timeline

  • 2026-05-08 - CVE-2026-42275 published to the National Vulnerability Database
  • 2026-05-08 - Last updated in NVD database

Technical Details for CVE-2026-42275

Vulnerability Analysis

The vulnerability resides in zrok's WebDAV backend implementation, specifically the davServer.Dir handler. The handler enforces a DriveRoot boundary by lexically normalizing requested paths, stripping .. sequences and resolving relative components before serving content. This normalization protects against classic dot-dot-slash traversal but does not resolve symbolic links present inside the shared directory tree.

When the zrok process encounters a symlink that points outside DriveRoot, it follows the link and operates on the target. A remote WebDAV consumer can therefore read sensitive files such as configuration files, private keys, or credentials located anywhere the zrok process can access. If the share does not rely on operating system file permissions to constrain writes, the same primitive enables file overwrite, which can be used to tamper with binaries, scripts, or configuration to achieve persistence or code execution.

Root Cause

The root cause is incomplete path containment in davServer.Dir. Lexical normalization operates on the requested URL path, but the filesystem layer dereferences symbolic links transparently. Without an explicit check that the resolved target remains within DriveRoot, the boundary intended by the operator is bypassed. This is a classic symlink-following weakness layered on top of a WebDAV file service.

Attack Vector

The attack requires network access to a zrok WebDAV share. An attacker who can place a symlink inside the shared DriveRoot, either through legitimate write access or by socially engineering an operator, can then request the symlink path over WebDAV. The zrok server follows the link and returns or modifies the target file. No authentication is required when the share is configured without OS-level permission restrictions.

text
// Patch reference from openziti/zrok commit 459bcfc1e121decae1b1d11c37ad94e4ed5bbf2e
 .vscode
 .contexts
 CLAUDE.md
-/.claude/
+.claude
+.codex
 AGENTS.md
 *.db
 /automated-release-build/

Source: openziti/zrok commit 459bcfc. The release branch v2.0.2_drive_symlinks introduces symlink containment in the WebDAV backend. See the GitHub Security Advisory GHSA-74m3-9qvm-rp9h for full technical details.

Detection Methods for CVE-2026-42275

Indicators of Compromise

  • WebDAV requests (PROPFIND, GET, PUT, MOVE) targeting paths inside a zrok share that resolve through symbolic links
  • Unexpected symbolic links present under a configured DriveRoot pointing to locations such as /etc, /root, /home, or zrok configuration directories
  • Access or modification timestamps on sensitive host files that correlate with zrok process activity
  • zrok process logs showing successful file operations on paths outside the intended DriveRoot

Detection Strategies

  • Audit each DriveRoot filesystem tree with find <DriveRoot> -type l -exec ls -l {} \; to enumerate every symlink and verify each target stays inside the root
  • Enable verbose access logging on the zrok WebDAV backend and review requests for paths that reference directories not created by authorized users
  • Compare process-level file access (via auditd or eBPF tooling) against the declared DriveRoot to identify out-of-bounds reads and writes

Monitoring Recommendations

  • Forward zrok access logs and host file integrity events to a central analytics platform and alert on writes to system directories by the zrok process user
  • Monitor for creation of new symbolic links inside any DriveRoot and require operator review before exposure
  • Track installed zrok versions across the environment and flag any host running a release earlier than 2.0.2

How to Mitigate CVE-2026-42275

Immediate Actions Required

  • Upgrade all zrok deployments to version 2.0.2 or later, which adds symlink containment in davServer.Dir
  • Inventory every DriveRoot used by zrok WebDAV shares and remove symbolic links that point outside the root
  • Run the zrok process under a dedicated, least-privileged operating system account so that filesystem permissions limit reachable files
  • Temporarily disable WebDAV shares that cannot be patched immediately, especially those exposed over untrusted networks

Patch Information

The fix is included in zrok 2.0.2. Reference the GitHub Release v2.0.2, the upstream commit on the v2.0.2_drive_symlinks branch in openziti/zrok commit 459bcfc, and the coordinating GitHub Security Advisory GHSA-74m3-9qvm-rp9h.

Workarounds

  • Place each DriveRoot on a dedicated filesystem or mount that does not provide a path to sensitive host data
  • Enforce strict OS-level permissions on the zrok process user so that reads and writes outside DriveRoot are denied by the kernel
  • Reject or remove symbolic links during ingestion of files into shared directories until the upgrade to 2.0.2 is complete
bash
# Inventory symbolic links inside a zrok DriveRoot and flag targets outside the root
DRIVE_ROOT="/var/lib/zrok/share"
find "$DRIVE_ROOT" -type l -printf '%p -> %l\n' | \
  while IFS= read -r line; do
    target=$(readlink -f "${line%% -> *}")
    case "$target" in
      "$DRIVE_ROOT"/*) ;;
      *) echo "OUT-OF-ROOT: $line (resolves to $target)" ;;
    esac
  done

# Upgrade zrok to the patched release
zrok version
# Replace the binary with the v2.0.2 release artifact, then restart the service
systemctl restart zrok

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechNetfoundry Zrok

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release v2.0.2
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-74m3-9qvm-rp9h
  • Related CVEs
  • CVE-2026-40304: Netfoundry Zrok Auth Bypass 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