Moderate Vulnerability in Vim Packages: Arbitrary File Overwrite via Path Traversal Bypass

vim-X11 Updated 04 Jun 2026

Summary

03/06/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:22730: Moderate: vim security update. Affects vim-X11 versions < 2:8.0.1763-23.el8_10. Fixed in 2:8.0.1763-23.el8_10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Vim (Vi IMproved) is a highly configurable text editor built to enable efficient text editing. It is an improved version of the original vi editor and is widely used for programming and general text manipulation. The package includes various components such as vim-X11, vim-common, vim-enhanced, vim-filesystem, and vim-minimal, each serving different functionalities within the Vim ecosystem. This vulnerability affects these packages by allowing an attacker to exploit a flaw in the zip.vim plugin, leading to potential unauthorized file overwrites.

Vulnerability Detail

The vulnerability identified as CVE-2026-35177 allows for arbitrary file overwrites through a path traversal bypass in the zip.vim plugin of Vim. This issue arises when the plugin fails to properly validate file paths, enabling attackers to manipulate file paths and overwrite sensitive files on the system. The ramifications of this vulnerability can be severe, potentially leading to data loss, unauthorized access, or system compromise, depending on the files targeted by the attacker.

How To Fix

Minimum fixed version

2:8.0.1763-23.el8_10

This is the first release that contains the fix.

sudo dnf update vim-X11

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable the zip.vim plugin if it is not essential for their workflow. This can be done by commenting out or removing the relevant lines in the Vim configuration file (usually located at ~/.vimrc) that load the zip.vim plugin.

Conclusion

In summary, the vulnerability CVE-2026-35177 poses a moderate risk to users of Vim due to a flaw in the zip.vim plugin that allows for arbitrary file overwrites. It is crucial to update to the patched version of the affected packages to safeguard against potential exploits. Users can also utilize Vulert to monitor and check for vulnerabilities in their applications.

See every vulnerability recorded for vim-X11 →

Share this vulnerability

FAQ

CVE-2026-35177 is the identifier for a vulnerability in the Vim zip.vim plugin that allows for arbitrary file overwrites due to a path traversal bypass.

You can check if your Vim installation is affected by visiting the Vulert playground at Vulert Scanner, where you can analyze your manifest file without needing to sign up.

The consequences can include unauthorized file overwrites, data loss, and potential system compromise, depending on the files targeted by an attacker.

Yes, a patch is available in the updated version 2:8.0.1763-23.el8_10 of the affected Vim packages.

If you cannot update immediately, consider disabling the zip.vim plugin as a temporary workaround to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for vim-X11.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2:8.0.1763-23.el8_10

This is the first release that contains the fix.

sudo dnf update vim-X11

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback