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
    • 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-3864

CVE-2026-3864: Kubernetes NFS CSI Path Traversal Flaw

CVE-2026-3864 is a path traversal flaw in the Kubernetes CSI Driver for NFS that allows attackers to delete or modify unintended directories on NFS servers. This article covers technical details, impact, and mitigation.

Published: March 27, 2026

CVE-2026-3864 Overview

A path traversal vulnerability was discovered in the Kubernetes CSI Driver for NFS where the subDir parameter in volume identifiers was insufficiently validated. Attackers with the ability to create PersistentVolumes referencing the NFS CSI driver could craft volume identifiers containing path traversal sequences (../). During volume deletion or cleanup operations, the driver could operate on unintended directories outside the intended managed path within the NFS export. This may lead to deletion or modification of directories on the NFS server.

Critical Impact

Attackers with PersistentVolume creation privileges can manipulate volume identifiers to traverse directories and delete or modify arbitrary directories on NFS servers, potentially causing significant data loss or integrity issues.

Affected Products

  • Kubernetes CSI Driver for NFS (vulnerable versions not specified in advisory)
  • Kubernetes clusters using NFS CSI driver with PersistentVolume creation capabilities
  • NFS storage backends connected via the vulnerable CSI driver

Discovery Timeline

  • 2026-03-17 - Security announcement posted to Openwall OSS-Security
  • 2026-03-20 - CVE-2026-3864 published to NVD
  • 2026-03-23 - Last updated in NVD database

Technical Details for CVE-2026-3864

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as path traversal. The root issue lies in insufficient input validation of the subDir parameter within volume identifiers processed by the NFS CSI driver.

When a user creates a PersistentVolume that references the NFS CSI driver, they can specify a volume identifier that includes a subDir component. Under normal operation, this parameter should constrain operations to a subdirectory within the NFS export. However, due to inadequate validation, attackers can inject path traversal sequences such as ../ to escape the intended directory boundary.

The attack requires privileged access to create PersistentVolumes in the Kubernetes cluster. While this limits the attack surface to users with elevated permissions, it represents a significant risk in multi-tenant environments or clusters where PersistentVolume creation is delegated to less-trusted users or automated systems.

Root Cause

The vulnerability stems from the NFS CSI driver's failure to properly sanitize or validate the subDir parameter before using it in file system operations. The driver does not implement adequate checks to prevent directory traversal sequences from being included in the path, allowing the constructed path to resolve to locations outside the intended NFS export subdirectory.

Attack Vector

The attack is network-accessible and requires high privileges (the ability to create PersistentVolumes in a Kubernetes cluster). An attacker would craft a malicious PersistentVolume resource with a specially constructed volume identifier containing path traversal sequences in the subDir parameter. When the volume is subsequently deleted or cleaned up, the CSI driver processes the malicious path without proper validation, causing it to operate on directories outside the intended scope. This can result in unauthorized deletion or modification of directories on the NFS server, potentially affecting other volumes or critical system data.

The vulnerability mechanism can be understood through the following attack flow:

  1. Attacker creates a PersistentVolume with a crafted volume identifier containing ../ sequences in the subDir field
  2. The NFS CSI driver accepts the volume specification without proper path validation
  3. During volume deletion or cleanup operations, the driver constructs a file system path using the unsanitized subDir value
  4. The path traversal sequences cause the driver to operate on directories outside the intended NFS export path
  5. Unintended directories are deleted or modified on the NFS server

For detailed technical information, refer to the GitHub Kubernetes Issue and the Kubernetes Security Announcement.

Detection Methods for CVE-2026-3864

Indicators of Compromise

  • PersistentVolume resources containing ../ or similar path traversal patterns in volume identifiers or subDir parameters
  • Unexpected deletions or modifications of directories on NFS servers
  • Audit logs showing creation of PersistentVolumes with unusual or suspicious volume identifier strings
  • NFS server logs indicating access to directories outside expected export subdirectories

Detection Strategies

  • Implement Kubernetes admission controllers (e.g., OPA Gatekeeper, Kyverno) to validate PersistentVolume specifications and reject those containing path traversal sequences
  • Monitor Kubernetes audit logs for PersistentVolume creation events and analyze volume identifiers for suspicious patterns
  • Enable detailed logging on NFS servers to track directory operations and identify anomalous access patterns
  • Deploy runtime security tools to detect unexpected file system operations by the CSI driver pods

Monitoring Recommendations

  • Configure alerts for PersistentVolume creation events involving the NFS CSI driver
  • Establish baseline monitoring for NFS server directory structures and alert on unexpected changes
  • Implement file integrity monitoring on critical NFS directories to detect unauthorized modifications
  • Review CSI driver pod logs regularly for error messages or unusual path operations

How to Mitigate CVE-2026-3864

Immediate Actions Required

  • Review all existing PersistentVolumes using the NFS CSI driver for path traversal sequences in volume identifiers
  • Implement admission controller policies to prevent creation of PersistentVolumes with path traversal patterns
  • Restrict PersistentVolume creation privileges to trusted administrators only
  • Audit NFS server directories for signs of unauthorized access or modifications

Patch Information

Consult the Kubernetes Security Announcement and the GitHub Issue for the latest patch information and updated driver versions. Upgrade to a patched version of the NFS CSI driver as soon as one becomes available.

Workarounds

  • Deploy admission controllers with policies that reject PersistentVolumes containing ../ or encoded path traversal sequences in volume identifiers
  • Restrict RBAC permissions for PersistentVolume creation to a minimal set of trusted users or service accounts
  • Implement NFS server-side access controls to limit the impact of potential directory traversal attacks
  • Consider using alternative CSI drivers or storage solutions until a patched version is available
bash
# Example Kyverno ClusterPolicy to block path traversal in PersistentVolumes
# Deploy after customizing to your environment
kubectl apply -f - <<EOF
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: block-nfs-path-traversal
spec:
  validationFailureAction: enforce
  rules:
  - name: check-volume-handle
    match:
      resources:
        kinds:
        - PersistentVolume
    validate:
      message: "Volume identifiers must not contain path traversal sequences"
      pattern:
        spec:
          csi:
            volumeHandle: "!*../*"
EOF

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechKubernetes

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Kubernetes Issue

  • Google Groups Security Announcement

  • Openwall OSS-Security Post
  • Related CVEs
  • CVE-2024-9486: Kubernetes Image Builder Privilege Escalation

  • CVE-2025-1974: Kubernetes ingress-nginx Controller RCE Flaw

  • CVE-2025-9708: Kubernetes C# Client Certificate Flaw

  • CVE-2025-7342: Kubernetes Image Builder Privilege Escalation
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