CVE-2026-57453
Vim: PowerShell Command Injection via Unescaped Filename in zip.vim Extraction
Reported by github_m · Published June 25, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| xxd | Amazon Linux | 2:9.2.725-1.amzn2023.0.1 |
| vim | Alpine | 9.2.0854-r0, 9.2.0680-r0 |
| vim-filesystem | Amazon Linux | 2:9.2.725-1.amzn2023.0.1 |
| vim-default-editor | Amazon Linux | 2:9.2.725-1.amzn2023.0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim | >= 9.1.1784, < 9.2.0678 |
| amazon:2023 | xxd | 0 |
| alpine | vim | 0, 0 |
| amazon:2023 | vim-filesystem | 0 |
| amazon:2023 | vim-default-editor | 0 |
| vim | vim | 9.1.1784 |
| amazon:2023 | vim-data | 0 |
| amazon:2023 | vim-enhanced | 0 |
| amazon:2023 | vim-minimal | 0 |
| amazon:2023 | vim-common | 0 |
Timeline
- Jun 25, 2026 CVE Published
- Jun 26, 2026 EPSS Score (17 in total, the first dated here)
- Jun 26, 2026 Coalition ESS Score
- Jun 29, 2026 Security Advisory (5 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-57453
vulnetix vdb fixes CVE-2026-57453
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-57453/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/vim/vim/security/advisories/GHSA-x5fg-h5w9-9frf x_refsource_CONFIRM
- https://github.com/vim/vim/commit/b2cc9be119d51212bf0d3f2a99 x_refsource_MISC
- https://github.com/vim/vim/releases/tag/v9.2.0678 x_refsource_MISC