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

CVE-2026-27800: Zed Code Editor Path Traversal Flaw

CVE-2026-27800 is a Zip Slip path traversal vulnerability in Zed code editor that allows malicious extensions to write files outside their sandbox. This article covers the technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-27800 Overview

CVE-2026-27800 is a Path Traversal (Zip Slip) vulnerability affecting Zed, a modern code editor. The vulnerability exists in the extension archive extraction functionality in versions prior to 0.224.4. The extract_zip() function in crates/util/src/archive.rs fails to validate ZIP entry filenames for path traversal sequences (e.g., ../), allowing a malicious extension to write files outside its designated sandbox directory by downloading and extracting a crafted ZIP archive.

Critical Impact

Attackers can craft malicious Zed extensions that escape sandbox restrictions and write arbitrary files to any location on the victim's file system, potentially leading to code execution or system compromise.

Affected Products

  • Zed Code Editor versions prior to 0.224.4

Discovery Timeline

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

Technical Details for CVE-2026-27800

Vulnerability Analysis

This vulnerability is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as Path Traversal or Directory Traversal. The flaw resides in the archive extraction logic that processes ZIP files during extension installation.

When Zed downloads and extracts extension archives, the extract_zip() function processes each entry's filename without adequately sanitizing path components. This oversight allows specially crafted ZIP archives to contain entries with relative path sequences that navigate outside the intended extraction directory.

The attack requires user interaction—specifically, the victim must install a malicious extension. However, once installed, the extension can silently write files to arbitrary locations on the filesystem, bypassing the sandbox protections designed to isolate extension data.

Root Cause

The root cause is insufficient input validation in the extract_zip() function located in crates/util/src/archive.rs. The function fails to:

  1. Canonicalize or normalize the file paths extracted from ZIP entries
  2. Verify that resolved paths remain within the designated extraction directory
  3. Reject or sanitize entries containing directory traversal sequences like ../ or absolute paths

This is a classic Zip Slip vulnerability pattern where archive entry names are trusted without verification, enabling attackers to control the final destination of extracted files.

Attack Vector

The attack is network-based and requires user interaction. An attacker would need to:

  1. Create a malicious Zed extension package containing a specially crafted ZIP archive
  2. Include ZIP entries with path traversal sequences in their filenames (e.g., ../../../.config/autostart/malicious.desktop)
  3. Distribute the malicious extension through social engineering, a compromised extension repository, or typosquatting
  4. When a user installs the extension, files are extracted to attacker-controlled locations outside the sandbox

The vulnerability allows files to be written with user-level permissions, which could enable persistent code execution through autostart mechanisms, configuration file manipulation, or overwriting existing application files.

For complete technical details, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-27800

Indicators of Compromise

  • Unexpected files appearing in directories outside of Zed's extension directories
  • Files in user autostart or profile configuration directories that coincide with recent extension installations
  • ZIP archives with suspicious entry names containing ../ sequences in Zed cache or temp directories

Detection Strategies

  • Monitor file system activity during Zed extension installation for writes outside expected directories
  • Implement file integrity monitoring on critical configuration directories like ~/.config/, ~/.bashrc, and autostart locations
  • Audit recently installed Zed extensions and verify their authenticity against official sources
  • Scan extension ZIP archives for entries containing path traversal sequences before extraction

Monitoring Recommendations

  • Enable filesystem auditing for user home directories to detect anomalous file creation patterns
  • Monitor Zed process activity for file writes outside standard application directories
  • Implement endpoint detection rules that alert on path traversal patterns in archive operations
  • Review extension installation logs and correlate with unexpected file system changes

How to Mitigate CVE-2026-27800

Immediate Actions Required

  • Upgrade Zed to version 0.224.4 or later immediately
  • Audit recently installed extensions for suspicious behavior or unknown origins
  • Review filesystem for unexpected files that may have been written during previous extension installations
  • Only install extensions from trusted and verified sources

Patch Information

The vulnerability has been fixed in Zed version 0.224.4. The patch addresses the path traversal issue by implementing proper validation of ZIP entry filenames during extraction. Users should update to this version or later to remediate the vulnerability.

For detailed patch information, see the GitHub Security Advisory.

Workarounds

  • Avoid installing Zed extensions from untrusted or unverified sources until the patch is applied
  • Temporarily disable automatic extension updates if using a vulnerable version
  • Use filesystem sandboxing tools (e.g., Flatpak, Firejail) to limit Zed's write access to sensitive directories
  • Implement strict file permissions on critical configuration directories to prevent unauthorized modifications
bash
# Verify Zed version to ensure patched version is installed
zed --version
# Expected output should show version 0.224.4 or higher

# Optionally restrict Zed's filesystem access using Firejail
firejail --whitelist=~/projects --whitelist=~/.config/zed zed

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechZed

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27967: Zed Code Editor Path Traversal Flaw

  • CVE-2026-27976: Zed Code Editor RCE Vulnerability

  • CVE-2026-25805: Zed Editor Information Disclosure Flaw
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