CVE-2026-57453 Vim: PowerShell Command Injection via Unescaped Filename in zip.vim Extraction
Attackers can execute arbitrary PowerShell commands via crafted zip archive entry names when using Vim's bundled zip plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-57453?
CVE-2026-57453 is a medium-severity command injection vulnerability in Vim Vim, published on 25 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Vim is an open source, command line text editor. From 9.1.1784 until 9.2.0678, when the bundled zip plugin autoload/zip.vim falls back to PowerShell to browse, read, extract, update or delete entries in a zip archive, it builds the PowerShell command by inserting archive entry names that are quoted only for the shell, not for PowerShell. A crafted entry name can break out of the intended string context and cause PowerShell to execute arbitrary commands with the privileges of the user running Vim, triggered by opening, viewing or extracting the archive. This vulnerability is fixed in 9.2.0678.
Weakness: CWE-77
Which versions are affected by CVE-2026-57453?
It affects 1 product.
Products include Vim Vim.
How do I fix CVE-2026-57453?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-57453 being exploited?
There is no known exploitation of CVE-2026-57453 in the wild and no public exploit code.
Other vulnerabilities in Vim Vim
Sources
Also known as ALPINE-CVE-2026-57453, AZL-91119, BELL-CVE-2026-57453, DEBIAN-CVE-2026-57453, ECHO-e71e-279b-37a1, GHSA-x5fg-h5w9-9frf and 4 more.