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

CVE-2026-27884: NetExec Path Traversal Vulnerability

CVE-2026-27884 is a path traversal flaw in NetExec's spider_plus module that allows attackers to write or overwrite arbitrary files via crafted SMB share filenames. This post covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-27884 Overview

CVE-2026-27884 is a Path Traversal vulnerability affecting NetExec, a network execution tool. Prior to version 1.5.1, the spider_plus module improperly creates the output file and folder path when saving files from SMB shares. The module does not account for the possibility that Linux SMB shares can contain path traversal characters such as ../ in filenames. An attacker can craft a malicious filename in an SMB share that includes these traversal sequences, which when crawled and downloaded by spider_plus, can write or overwrite arbitrary files on the system running NetExec.

Critical Impact

Attackers can achieve arbitrary file write or overwrite capabilities by exploiting improper path validation in the spider_plus module, potentially leading to system compromise or denial of service.

Affected Products

  • NetExec versions prior to 1.5.1
  • Systems running spider_plus module with DOWNLOAD=true against untrusted targets
  • Linux environments using SMB share crawling functionality

Discovery Timeline

  • 2026-02-26 - CVE CVE-2026-27884 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-27884

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - 'Path Traversal'). The spider_plus module in NetExec is designed to crawl SMB shares and optionally download discovered files. When processing filenames from remote SMB shares, the module constructs local file paths by directly concatenating the remote path components without proper sanitization.

On Linux systems, SMB shares can legitimately contain directory separators and path traversal sequences like ../ within filenames. The vulnerable code failed to validate or sanitize these sequences before constructing the local output path, allowing an attacker-controlled filename to escape the intended output directory.

Root Cause

The root cause lies in the file path construction logic within nxc/modules/spider_plus.py. The original implementation used os.path.join() and related path manipulation functions without considering that SMB share paths could contain path traversal characters. The module trusted the remote filename input without sanitizing directory traversal sequences, violating the principle of input validation for untrusted data.

Attack Vector

The attack requires network access and user interaction. An attacker must control or compromise an SMB share that the target NetExec user will crawl. By placing a file with a crafted filename containing path traversal sequences (e.g., ../../../etc/cron.d/malicious_job) on the SMB share, the attacker can cause the spider_plus module to write files to arbitrary locations on the victim's filesystem when run with DOWNLOAD=true.

python
 import json
 import errno
-from os.path import abspath, join, split, exists, splitext, getsize, sep
+from os.path import abspath, join, exists, splitext, getsize
 from os import makedirs, remove, stat
+from pathlib import Path, PurePosixPath
 import time
 from nxc.helpers.misc import CATEGORY
 from nxc.paths import NXC_PATH

Source: GitHub Commit Details

The patch introduces pathlib.Path and PurePosixPath for safer path handling, removing the vulnerable split and sep imports that were part of the insecure path construction logic.

Detection Methods for CVE-2026-27884

Indicators of Compromise

  • Unexpected files appearing outside of NetExec's designated output directories
  • Files in sensitive system directories (e.g., /etc/cron.d/, /home/*/.ssh/) with recent modification times correlating with spider_plus execution
  • SMB share filenames containing ../ sequences in network logs or packet captures

Detection Strategies

  • Monitor file creation events in system directories that should not receive files from user tools
  • Implement file integrity monitoring (FIM) on critical system paths to detect unauthorized writes
  • Audit NetExec command invocations for spider_plus module usage with DOWNLOAD=true flag

Monitoring Recommendations

  • Review SMB traffic logs for suspicious filenames containing path traversal patterns
  • Configure endpoint detection to alert on file writes to sensitive directories from NetExec processes
  • Maintain an inventory of NetExec versions deployed and flag installations running versions prior to 1.5.1

How to Mitigate CVE-2026-27884

Immediate Actions Required

  • Upgrade NetExec to version 1.5.1 or later immediately
  • Audit recent spider_plus executions with DOWNLOAD=true for potential compromise
  • Review file system for unexpected files that may have been written through exploitation

Patch Information

The vulnerability is patched in NetExec version 1.5.1. The fix introduces proper path sanitization using Python's pathlib module to prevent path traversal sequences from escaping the intended output directory. For detailed patch information, see the GitHub Security Advisory and the GitHub Pull Request Review.

Workarounds

  • Do not run spider_plus with DOWNLOAD=true against untrusted or potentially compromised SMB targets
  • Only use the module for enumeration without file download functionality until patched
  • If downloading is required, use the module only against fully trusted internal shares
bash
# Configuration example
# Avoid using DOWNLOAD=true flag until upgraded to v1.5.1
# Vulnerable usage (avoid):
# netexec smb target -u user -p pass -M spider_plus -o DOWNLOAD=true

# Safer enumeration-only usage:
netexec smb target -u user -p pass -M spider_plus

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechNetexec

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Details

  • GitHub Issue Discussion

  • GitHub Pull Request Review

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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