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-2025-66945

CVE-2025-66945: Zdir Path Traversal Vulnerability

CVE-2025-66945 is a path traversal flaw in Zdir Pro 4.x ZIP extraction API that enables attackers to write files outside intended directories, leading to arbitrary file overwrite and remote code execution risks.

Published: March 6, 2026

CVE-2025-66945 Overview

A path traversal vulnerability exists in the ZIP extraction API of Zdir Pro 4.x. When a crafted ZIP archive is processed by the backend at /api/extract, files may be written outside the intended directory, leading to arbitrary file overwrite and potentially remote code execution. This vulnerability, commonly known as "Zip Slip," allows attackers to escape the designated extraction directory by embedding malicious path sequences within archive entries.

Critical Impact

Successful exploitation enables attackers to overwrite arbitrary files on the target system, potentially achieving remote code execution by overwriting application configuration files, scripts, or executables.

Affected Products

  • Zdir Pro 4.x
  • Zdir Zdir (all versions per CPE: cpe:2.3:a:zdir:zdir:*:*:*:*:*:*:*:*)

Discovery Timeline

  • 2026-03-03 - CVE-2025-66945 published to NVD
  • 2026-03-04 - Last updated in NVD database

Technical Details for CVE-2025-66945

Vulnerability Analysis

This path traversal vulnerability affects the ZIP extraction functionality exposed through the /api/extract endpoint in Zdir Pro 4.x. The core issue lies in insufficient validation of file paths contained within ZIP archive entries before extraction. When the application processes a ZIP file, it fails to properly sanitize or validate the destination paths of archived files, allowing malicious archives to specify paths that traverse outside the intended extraction directory using sequences like ../.

The vulnerability enables an attacker to craft a malicious ZIP archive containing files with specially constructed path names. When this archive is uploaded and processed by the vulnerable API, the extracted files are written to locations outside the intended target directory. This can result in overwriting critical system or application files, potentially leading to remote code execution if executable files or configuration files are overwritten with attacker-controlled content.

Root Cause

The root cause is improper input validation in the ZIP extraction routine. The application fails to properly sanitize file path entries within the ZIP archive before writing extracted files to disk. Specifically, the extraction logic does not adequately check for directory traversal sequences (such as ../ or ..\) embedded in the archived file names, nor does it verify that the resolved destination path remains within the intended extraction directory boundary.

This is classified under CWE-787 (Out-of-bounds Write), as the vulnerability allows writing data outside the expected memory/file location boundaries. The vulnerability also exhibits characteristics of path traversal (CWE-22) where input containing directory traversal sequences is not properly neutralized.

Attack Vector

The attack vector is network-based, requiring no authentication and no user interaction. An attacker can exploit this vulnerability by:

  1. Crafting a malicious ZIP archive containing entries with path traversal sequences in their file names (e.g., ../../etc/cron.d/malicious)
  2. Uploading the crafted ZIP archive to the vulnerable Zdir Pro instance
  3. Triggering the extraction process via the /api/extract API endpoint
  4. The malicious files are written outside the intended extraction directory, potentially overwriting sensitive system files

The exploitation mechanism relies on creating a ZIP archive where the file entry names include path traversal sequences. When the application extracts the archive without proper validation, files are written to unintended locations on the filesystem.

For detailed technical analysis and proof-of-concept information, refer to the GitHub PoC Repository and the ZeroDay CVE-2025-66945 Analysis.

Detection Methods for CVE-2025-66945

Indicators of Compromise

  • Unexpected files appearing in system directories outside the Zdir upload/extraction paths
  • Modified timestamps on critical configuration files or executables that coincide with ZIP extraction activity
  • Log entries showing requests to /api/extract endpoint with subsequent file system anomalies
  • Presence of files with unusual naming patterns that suggest path traversal origins

Detection Strategies

  • Monitor HTTP traffic to the /api/extract endpoint for suspicious ZIP upload activity
  • Implement file integrity monitoring (FIM) on critical system directories and application configuration files
  • Analyze web server logs for unusual patterns of archive extraction requests
  • Deploy endpoint detection rules that alert on file writes to sensitive directories following web application activity

Monitoring Recommendations

  • Enable detailed logging for all ZIP extraction operations in Zdir Pro
  • Configure alerts for file modifications in directories outside the designated upload/extraction paths
  • Monitor for new cron jobs, startup scripts, or modified executables that appear after extraction operations
  • Implement network monitoring to detect large file uploads to the /api/extract endpoint

How to Mitigate CVE-2025-66945

Immediate Actions Required

  • Restrict access to the /api/extract endpoint to trusted users or networks only
  • Implement web application firewall (WAF) rules to inspect and block malicious ZIP uploads
  • Consider disabling the ZIP extraction functionality until a patch is available
  • Review file system permissions to limit the web application's write access to only necessary directories

Patch Information

Consult the vendor advisory and the GitHub PoC Repository for the latest patch information. Organizations should apply security updates from Zdir as soon as they become available. Monitor the official Zdir channels for security advisories addressing this vulnerability.

Workarounds

  • Implement input validation at the application or reverse proxy level to reject ZIP files containing entries with path traversal sequences
  • Configure the web server or application container to run with minimal filesystem permissions
  • Use chroot or containerization to isolate the Zdir application and limit the impact of directory traversal attacks
  • Deploy a reverse proxy with request inspection capabilities to filter potentially malicious ZIP uploads before they reach the application
bash
# Example: Restrict write permissions for the web application user
# Limit the application's ability to write outside designated directories
chmod 755 /var/www/zdir
chown -R www-data:www-data /var/www/zdir/uploads
# Consider using AppArmor or SELinux profiles to further restrict file access

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechZdir

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-787
  • Technical References
  • ZeroDay CVE-2025-66945 Analysis
  • Vendor Resources
  • GitHub PoC Repository
  • 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