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

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

CVE-2026-27967 is a path traversal vulnerability in Zed code editor that exploits symlinks to access files outside the project directory, bypassing workspace boundaries. This article covers the technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-27967 Overview

CVE-2026-27967 is a symlink escape vulnerability affecting the Zed code editor in versions prior to 0.225.9. The vulnerability exists in the Agent file tools (read_file, edit_file) and allows attackers to read and write files outside the project directory when a project contains symbolic links pointing to external paths. This bypasses the intended workspace boundary and privacy protections (file_scan_exclusions, private_files), potentially leaking sensitive user data to the LLM.

Critical Impact

Attackers can leverage symbolic links within a project to escape workspace boundaries and access sensitive files outside the intended project directory, bypassing privacy protections and potentially exposing confidential data to the integrated LLM.

Affected Products

  • Zed code editor versions prior to 0.225.9

Discovery Timeline

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

Technical Details for CVE-2026-27967

Vulnerability Analysis

This vulnerability is classified as CWE-59 (Improper Link Resolution Before File Access), commonly known as a symlink attack. The Zed code editor's Agent file tools fail to properly validate symbolic links before performing file operations, allowing path traversal outside the designated project workspace.

When the Agent's read_file or edit_file functions process a file path that includes or traverses through a symbolic link, the application follows the symlink without verifying that the resolved path remains within the project boundary. This design flaw enables an attacker who can place or influence symbolic links within a project directory to access arbitrary files on the system that the user has read/write permissions for.

The vulnerability is particularly concerning because it bypasses the editor's built-in privacy protections, including file_scan_exclusions and private_files configurations. Files marked as private or excluded from scanning can still be accessed if a symlink pointing to them exists within the project.

Root Cause

The root cause is improper link resolution before file access in the Agent file tools. The read_file and edit_file functions do not implement proper symlink canonicalization and path validation to ensure that resolved file paths remain within the project directory boundaries. The application trusts the symbolic link target without verification, allowing workspace boundary bypass.

Attack Vector

The attack requires local access and user interaction. An attacker would need to:

  1. Create or modify a project that the victim opens in Zed
  2. Include symbolic links within the project directory that point to sensitive files outside the workspace (e.g., ~/.ssh/id_rsa, ~/.aws/credentials, or application configuration files)
  3. When the victim uses Agent file tools on paths that traverse through these symlinks, the sensitive external files are read or modified
  4. Data from these files may be exposed to the integrated LLM, leading to information disclosure

The vulnerability is particularly dangerous in shared project environments or when opening untrusted project repositories containing malicious symlinks.

Detection Methods for CVE-2026-27967

Indicators of Compromise

  • Presence of unusual symbolic links in project directories pointing to sensitive system paths
  • Unexpected file access patterns from the Zed editor process to files outside project boundaries
  • LLM agent interactions referencing content from files outside the workspace
  • Symbolic links pointing to home directory configuration files (.ssh, .aws, .gnupg, etc.)

Detection Strategies

  • Monitor file system access from Zed processes for paths outside project directories
  • Implement file integrity monitoring on sensitive configuration files
  • Use endpoint detection to identify symlink creation in project directories pointing to sensitive paths
  • Review project directories for suspicious symbolic links before opening in Zed

Monitoring Recommendations

  • Configure SentinelOne to alert on symlink creation patterns targeting sensitive directories
  • Enable detailed file access logging for the Zed editor process
  • Monitor for unusual data exfiltration patterns that may indicate LLM exposure of sensitive data
  • Audit project repositories for malicious symlinks before use

How to Mitigate CVE-2026-27967

Immediate Actions Required

  • Upgrade Zed code editor to version 0.225.9 or later immediately
  • Audit existing projects for suspicious symbolic links pointing outside project boundaries
  • Review and remove any untrusted symbolic links from project directories
  • Consider temporarily avoiding Agent file tools on projects with symbolic links until patched

Patch Information

The vulnerability is fixed in Zed version 0.225.9. Users should update to this version or later to address the symlink escape vulnerability. For detailed information, refer to the GitHub Security Advisory.

Workarounds

  • Manually review and remove symbolic links from project directories before using Agent file tools
  • Avoid opening untrusted projects that may contain malicious symlinks
  • Use operating system-level restrictions to prevent Zed from accessing sensitive directories
  • Consider running Zed in a sandboxed environment with limited file system access until the patch is applied

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.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-59
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27800: 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