JLSEC-2026-1844: Path Traversal
Vim is an open source, command line text editor. Prior to version 9.1.1552, a path traversal issue in Vim’s tar.vim plugin can allow overwriting of arbitrary files when opening specially crafted tar archives. Impact is low because this exploit requires direct user interaction. However, successfully exploitation can lead to overwriting sensitive files or placing executable code in privileged locations, depending on the permissions of the process editing the archive. The victim must edit such a file using Vim which will reveal the filename and the file content, a careful user may suspect some strange things going on. Successful exploitation could results in the ability to execute arbitrary commands on the underlying operating system. Version 9.1.1552 contains a patch for the vulnerability.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.1.1552
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Users are exposed when they open and edit a specially crafted tar archive with Vim. The potential impact depends on the permissions of the process running Vim, since files may be overwritten or code may be placed in privileged locations accessible to that process.
What must an attacker do to exploit it?
An attacker must provide a specially crafted tar archive and persuade the victim to edit it using Vim. Exploitation requires direct user interaction, and Vim reveals the archive filename and content during editing, which may allow a careful user to notice suspicious behavior.
Which version contains the fix?
Vim version 9.1.1552 contains a patch for this vulnerability.