Path traversal in Vim - CVE-2026-35177

 

Path traversal in Vim - CVE-2026-35177

Published: April 7, 2026


Vulnerability identifier: #VU125036
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-35177
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Vim.org
Affected software:
Vim

Detailed vulnerability description

The vulnerability allows a remote attacker to overwrite arbitrary files.

The vulnerability exists due to path traversal in zip.vim when processing specially crafted zip archives. A remote attacker can trick the victim into opening a crafted archive and editing a malicious file within it to overwrite arbitrary files.

User interaction is required, and the file is written when the victim attempts to save it using :w.


How to mitigate CVE-2026-35177

Install security update from vendor's website.

Sources