CVE-2026-57453
MEDIUM
6.5
CVSS 3.1
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.
Metadata
Severity & Metrics
6.5
MEDIUM CVSS 3.1
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| vim | vim | — | >= 9.1.1784, < 9.2.0678 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-77 | cna | CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.5 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L |
References (3)
- https://github.com/vim/vim/security/advisories/GHSA-x5fg-h5w9-9frf https://github.com/vim/vim/security/advisories/GHSA-x5fg-h5w9-9frf
- https://github.com/vim/vim/commit/b2cc9be119d51212bf0d3f2a99 https://github.com/vim/vim/commit/b2cc9be119d51212bf0d3f2a99
- https://github.com/vim/vim/releases/tag/v9.2.0678 https://github.com/vim/vim/releases/tag/v9.2.0678