Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-22685

CVE-2026-22685: DevToys Path Traversal Vulnerability

CVE-2026-22685 is a path traversal flaw in DevToys that allows malicious extensions to overwrite arbitrary files on the user's system. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2026-22685 Overview

CVE-2026-22685 is a path traversal vulnerability in the DevToys desktop application that affects the extension installation mechanism. DevToys, a popular utility application for developers, fails to properly validate file paths contained within NUPKG extension packages during the extraction process. This allows malicious extension packages containing crafted file entries with sequences like ../../…/target-file to write files outside the intended extensions directory, potentially overwriting arbitrary files on the user's system.

Critical Impact

Successful exploitation enables attackers to overwrite arbitrary files on the victim's system with the privileges of the DevToys process, potentially leading to code execution, configuration tampering, or corruption of application or system files.

Affected Products

  • DevToys versions 2.0.0.0 to before 2.0.9.0

Discovery Timeline

  • 2026-01-10 - CVE-2026-22685 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2026-22685

Vulnerability Analysis

This vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) occurs within DevToys' extension installation workflow. When a user installs an extension package (NUPKG archive), the application extracts the archive contents without properly sanitizing the file paths embedded within the package. The extraction routine trusts the path information provided in the archive, allowing an attacker to craft malicious entries that traverse outside the designated extensions directory.

The impact of this vulnerability depends on the user's environment and the files targeted for overwrite. An attacker could potentially replace executable files, configuration files, or system libraries with malicious versions. On Windows systems where DevToys typically runs, this could lead to persistence mechanisms, privilege escalation if combined with other vulnerabilities, or complete compromise of developer workstations.

Root Cause

The root cause lies in insufficient input validation of file path entries during NUPKG archive extraction. The DevToys extensions manager did not properly sanitize or validate path components before writing extracted files to disk. Path traversal sequences such as ../ were not stripped or blocked, allowing the extraction process to resolve paths outside the intended target directory.

Attack Vector

The attack vector requires user interaction—specifically, a user must download and install a malicious extension package. An attacker could distribute such packages through social engineering, typosquatting on package repositories, or by compromising legitimate extension distribution channels. Once the victim attempts to install the crafted extension, the extraction process writes malicious files to attacker-controlled locations on the file system.

The following patch demonstrates the security fix applied to address this vulnerability:

text
 [Oo]bj/
 # [Oo]ut/
 [Ll]og/
-[Ll]ogs/
\ No newline at end of file
+[Ll]ogs/
+
+# TestData
+!**/**/TestData/**
\ No newline at end of file

Source: GitHub Commit Update

The fix includes updates to the extensions manager to properly handle CWE-22 (Path Traversal) and CWE-23 (Relative Path Traversal) vulnerabilities, along with dependency updates:

text
    <PackageVersion Include="NuGet.Packaging" Version="6.9.1" />
    <PackageVersion Include="Nuke.Common" Version="8.0.0" />
    <PackageVersion Include="OneOf" Version="3.0.271" />
-    <PackageVersion Include="SixLabors.ImageSharp" Version="3.1.5" />
+    <PackageVersion Include="SixLabors.ImageSharp" Version="3.1.12" />
    <PackageVersion Include="System.Text.Json" Version="8.0.5" />
    <PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
    <PackageVersion Include="System.ComponentModel.Composition" Version="$(DotNetVersion)" />

Source: GitHub Commit Update

Detection Methods for CVE-2026-22685

Indicators of Compromise

  • Unexpected files appearing outside the DevToys extensions directory (typically %APPDATA%\DevToys\Extensions\ or similar)
  • File system events showing DevToys.exe writing to unusual directories during extension installation
  • Modified or corrupted system files with timestamps correlating to extension installation activities
  • Suspicious NUPKG files containing entries with ../ path traversal sequences

Detection Strategies

  • Monitor file system activity during DevToys extension installations for writes outside the expected extensions directory
  • Implement file integrity monitoring (FIM) on critical system and application directories to detect unauthorized modifications
  • Analyze NUPKG packages before installation using archive inspection tools to identify path traversal patterns
  • Review DevToys application logs for unusual extraction paths or error messages related to file operations

Monitoring Recommendations

  • Enable process monitoring to track file operations performed by the DevToys process
  • Configure endpoint detection tools to alert on path traversal patterns (e.g., ../) in file paths accessed by desktop applications
  • Implement application whitelisting policies that detect unexpected file modifications by developer tools
  • Monitor for new or modified files in sensitive directories that correlate with DevToys execution

How to Mitigate CVE-2026-22685

Immediate Actions Required

  • Update DevToys to version 2.0.9.0 or later immediately
  • Audit recently installed extensions and verify their source authenticity
  • Review file system changes on systems where untrusted extensions may have been installed
  • Only install extensions from trusted, verified sources

Patch Information

The vulnerability has been patched in DevToys version 2.0.9.0. The fix implements proper path validation during NUPKG extraction to prevent path traversal attacks. Technical details of the patch are available in the GitHub Pull Request #1643 and the GitHub Security Advisory.

Workarounds

  • Avoid installing any extensions from untrusted or unverified sources until the update is applied
  • Manually inspect NUPKG files for suspicious path entries before installation using archive tools
  • Run DevToys with minimal privileges to limit the impact of potential file overwrites
  • Consider temporarily disabling extension installation functionality if updates cannot be immediately applied
bash
# Verify DevToys version on Windows (PowerShell)
Get-ItemProperty "HKCU:\Software\DevToys" | Select-Object Version
# Or check the installed application version directly
# Ensure version is 2.0.9.0 or higher

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechDevtoys

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.04%

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

  • GitHub Pull Request

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF 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