CVE-2026-57453 Vim: PowerShell Command Injection via Unescaped Filename in zip.vim Extraction
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux vim(Azure Linux:3.0) | All versions | No fix listed |
References
- https://github.com/vim/vim/security/advisories/GHSA-x5fg-h5w9-9frf vendor-advisory
- https://github.com/vim/vim/commit/b2cc9be119d51212bf0d3f2a99 patch
- https://github.com/vim/vim/releases/tag/v9.2.0678 product
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Red Hat CVE page vendor-advisory
- RHSA-2026:57614 patch vendor-advisory
- Red Hat Bugzilla 2492967 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-57453 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8500-1 vendor-advisory
- bugs.debian.org issue-tracking