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

CVE-2026-35177: Vim Path Traversal Vulnerability

CVE-2026-35177 is a path traversal flaw in Vim's zip.vim plugin that allows attackers to overwrite arbitrary files via malicious zip archives. This article covers technical details, affected versions, impact, and mitigation.

Published: April 10, 2026

CVE-2026-35177 Overview

CVE-2026-35177 is a path traversal bypass vulnerability in Vim's zip.vim plugin that allows attackers to overwrite arbitrary files when a user opens a specially crafted zip archive. This vulnerability circumvents the previous fix implemented for CVE-2025-53906, demonstrating that the original patch was insufficient to fully address the underlying security issue. The vulnerability exists in Vim versions prior to 9.2.0280.

Critical Impact

Opening a malicious zip archive in Vim could lead to arbitrary file overwrite, potentially allowing attackers to modify critical system files, configuration files, or inject malicious code into executable scripts.

Affected Products

  • Vim versions prior to 9.2.0280
  • Systems using Vim's zip.vim plugin for viewing zip archives
  • Any environment where users may open untrusted zip files with Vim

Discovery Timeline

  • 2026-04-06 - CVE CVE-2026-35177 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-35177

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal), a type of Directory Traversal vulnerability. The zip.vim plugin in Vim is designed to allow users to view and extract contents from zip archives directly within the editor. When processing file paths within a zip archive, the plugin fails to properly sanitize path components, allowing specially crafted archives to bypass the security fix previously implemented for CVE-2025-53906.

The attack requires local access and user interaction—specifically, a victim must open a malicious zip archive using Vim. While the attack complexity is high due to the need to craft a specific bypass payload, successful exploitation can affect resources beyond the scope of the vulnerable component, potentially impacting system integrity and availability.

Root Cause

The root cause lies in incomplete input validation within the zip.vim plugin's file path handling logic. While the previous patch for CVE-2025-53906 attempted to sanitize path traversal sequences like ../, the fix did not account for all possible encoding variations or bypass techniques that attackers could use to escape the intended extraction directory. This allowed crafted zip archives to still write files to arbitrary locations on the filesystem.

Attack Vector

The attack requires local access to the target system and user interaction. An attacker must:

  1. Craft a malicious zip archive containing files with specially formatted path traversal sequences that bypass existing sanitization
  2. Convince a victim to open the malicious zip archive using Vim
  3. When the victim opens or extracts files from the archive, the path traversal bypass triggers, writing files to unintended locations

The vulnerability mechanism exploits weaknesses in path normalization. When the zip.vim plugin processes filenames from the archive, the bypass technique circumvents the security checks, allowing directory escape sequences to be processed. This can result in files being written outside the intended extraction directory. For detailed technical information about the bypass technique, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-35177

Indicators of Compromise

  • Unexpected file modifications in system directories or user home directories after opening zip archives in Vim
  • Creation of new files in locations outside the expected extraction directory
  • Modified configuration files (.bashrc, .vimrc, .ssh/authorized_keys) with unexpected content
  • Presence of zip archives with unusual or deeply nested directory structures in recent file access logs

Detection Strategies

  • Monitor file system activity when Vim processes zip archives, specifically watching for writes outside the current working directory
  • Implement file integrity monitoring (FIM) on critical system files and configuration directories
  • Deploy endpoint detection rules that alert on unexpected file creation following Vim execution
  • Audit recent zip archive interactions on systems where Vim is commonly used

Monitoring Recommendations

  • Enable comprehensive file access logging on critical systems
  • Monitor for Vim processes writing to sensitive directories like /etc/, ~/.ssh/, or system binary locations
  • Implement alerting for modification of shell initialization files or SSH configuration after Vim execution
  • Review access logs for zip archives received from untrusted sources

How to Mitigate CVE-2026-35177

Immediate Actions Required

  • Upgrade Vim to version 9.2.0280 or later immediately
  • Avoid opening zip archives from untrusted sources using Vim until patched
  • Consider temporarily disabling the zip.vim plugin if upgrade is not immediately possible
  • Audit systems for any signs of compromise if untrusted zip files were recently opened

Patch Information

The vulnerability is fixed in Vim version 9.2.0280. Users should upgrade to this version or later to fully remediate the vulnerability. The fix addresses the path traversal bypass that circumvented the previous CVE-2025-53906 patch. For additional details, see the GitHub Security Advisory.

Workarounds

  • Disable the zip.vim plugin by adding let g:loaded_zipPlugin = 1 to your .vimrc configuration file
  • Use alternative tools for viewing zip archive contents until Vim can be upgraded
  • Implement strict file download policies preventing untrusted zip archives from reaching end-user systems
  • Configure application whitelisting to prevent execution of scripts that may have been overwritten
bash
# Disable zip.vim plugin in Vim configuration
echo 'let g:loaded_zipPlugin = 1' >> ~/.vimrc

# Verify Vim version after upgrade
vim --version | head -1

# Check if zip plugin is loaded (should return nothing if disabled)
vim -c 'echo exists("g:loaded_zipPlugin")' -c 'q'

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechVim

  • SeverityMEDIUM

  • CVSS Score4.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-53906: Vim Path Traversal Vulnerability

  • CVE-2026-39881: Vim Text Editor RCE Vulnerability

  • CVE-2026-34982: Vim Text Editor RCE Vulnerability

  • CVE-2026-34714: Vim Editor RCE 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