Skip to content

CVE-2026-57453 Vim: PowerShell Command Injection via Unescaped Filename in zip.vim Extraction

HighCVSS 7.3 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

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.

Upgrade path

7 packages: 6 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
azure linux vim(Azure Linux 3.0) < 9.2.0735-1; All versions 9.2.0735-1 Partially fixed
alpine/vim(Alpine v3.23) >= 9.1.1784, < 9.2.0854-r0 9.2.0854-r0 Fixed
alpine/vim(Alpine v3.24) >= 9.1.1784, < 9.2.0680-r0 9.2.0680-r0 Fixed
debian/vim(Debian 14) < 2:9.2.0782-1; = 2:9.1.1230-2; = 2:9.1.1385-1; = 2:9.1.1766-1 +14 more 2:9.2.0782-1 Fixed
redhat/vim-main(Red Hat hummingbird 1) < 9.2.967-1.1.hum1 9.2.967-1.1.hum1 Fixed
ubuntu/vim(Ubuntu 26.04) < 2:9.1.2141-1ubuntu4.6 2:9.1.2141-1ubuntu4.6 Fixed
vim = >= 9.1.1784, < 9.2.0678; >= 9.1.1784, < 9.2.0678 9.2.0678 Fixed

Affected products

ProductAffected versionsFixed in
vim = >= 9.1.1784, < 9.2.0678 No fix listed
redhat/vim-main(Red Hat:hummingbird:1) < 9.2.967-1.1.hum1 9.2.967-1.1.hum1
debian/vim(Debian:14) < 2:9.2.0782-1 2:9.2.0782-1
debian/vim(Debian:14) = 2:9.1.1230-2 No fix listed
debian/vim(Debian:14) = 2:9.1.1385-1 No fix listed
debian/vim(Debian:14) = 2:9.1.1766-1 No fix listed
debian/vim(Debian:14) = 2:9.1.1829-1 No fix listed
debian/vim(Debian:14) = 2:9.1.1846-1 No fix listed
debian/vim(Debian:14) = 2:9.1.1882-1 No fix listed
debian/vim(Debian:14) = 2:9.1.2103-1 No fix listed
debian/vim(Debian:14) = 2:9.1.2141-1 No fix listed
debian/vim(Debian:14) = 2:9.2.0119-1 No fix listed
debian/vim(Debian:14) = 2:9.2.0136-1 No fix listed
debian/vim(Debian:14) = 2:9.2.0218-1 No fix listed
debian/vim(Debian:14) = 2:9.2.0315-1 No fix listed
debian/vim(Debian:14) = 2:9.2.0338-1 No fix listed
debian/vim(Debian:14) = 2:9.2.0355-1 No fix listed
debian/vim(Debian:14) = 2:9.2.0428-1 No fix listed
debian/vim(Debian:14) = 2:9.2.0461-1 No fix listed
debian/vim(Debian:14) = 2:9.2.0524-1 No fix listed
alpine/vim(Alpine:v3.23) >= 9.1.1784, < 9.2.0854-r0 9.2.0854-r0
alpine/vim(Alpine:v3.24) >= 9.1.1784, < 9.2.0680-r0 9.2.0680-r0
ubuntu/vim(Ubuntu:26.04) < 2:9.1.2141-1ubuntu4.6 2:9.1.2141-1ubuntu4.6
vim >= 9.1.1784, < 9.2.0678 9.2.0678
azure linux vim(Azure Linux:3.0) < 9.2.0735-1 9.2.0735-1
Show 1 more
ProductAffected versionsFixed in
azure linux vim(Azure Linux:3.0) All versions No fix listed

References