CVE-2026-57453 PUBLISHED

Vim: PowerShell Command Injection via Unescaped Filename in zip.vim Extraction

Assigner: GitHub_M
Reserved: 24.06.2026 Published: 25.06.2026 Updated: 25.06.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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
CVSS Score: 6.5

Product Status

Vendor vim
Product vim
Versions
  • Version >= 9.1.1784, < 9.2.0678 is affected

References

Problem Types

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') CWE