CVE-2026-57453
Analyzed Analyzed - Analysis Complete

Vim PowerShell Command Injection via Zip Plugin

Vulnerability report for CVE-2026-57453, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-25

Last updated on: 2026-06-26

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-25
Last Modified
2026-06-26
Generated
2026-07-16
AI Q&A
2026-06-25
EPSS Evaluated
2026-07-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
vim vim From 9.1.1784 (inc) to 9.2.0678 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-57453 is a security vulnerability in the zip.vim plugin bundled with Vim versions from 9.1.1784 until 9.2.0678. When the plugin falls back to using PowerShell to browse, read, extract, update, or delete entries in a zip archive, it improperly constructs the PowerShell command by quoting archive entry names only for the shell (cmd.exe) but not for PowerShell itself.

This improper quoting allows a crafted archive entry name containing PowerShell subexpressions (e.g., $(...)) to break out of the intended string context and execute arbitrary PowerShell commands with the privileges of the user running Vim. The vulnerability is triggered by opening, viewing, or extracting the malicious archive.

The issue was fixed in Vim version 9.2.0678 by introducing a new escaping function (PSEscape()) that properly escapes strings for PowerShell commands, preventing command injection.

Impact Analysis

This vulnerability can lead to arbitrary command execution on the affected system with the privileges of the user running Vim.

An attacker can craft a malicious zip archive with specially named entries that, when opened or extracted using the vulnerable Vim plugin, cause PowerShell to execute arbitrary commands.

The impact includes high confidentiality and integrity loss because arbitrary commands can be run, potentially leading to data theft, modification, or other malicious actions. The availability impact is low.

Exploitation requires user interaction (opening or extracting the malicious archive) and has a high attack complexity.

Mitigation Strategies

To mitigate this vulnerability, update Vim to version 9.2.0678 or later, where the issue has been fixed by properly escaping PowerShell commands in the zip.vim plugin.

Avoid opening or extracting zip archives with potentially untrusted or crafted entry names using vulnerable Vim versions.

Detection Guidance

This vulnerability is triggered when a user opens, views, or extracts a specially crafted zip archive using the vulnerable versions of Vim's zip.vim plugin on Windows systems where PowerShell is used as a fallback for zip operations.

Detection on a network or system level is challenging because the exploit requires user interaction and occurs locally within Vim when handling zip archives. There are no specific network signatures or commands provided in the available information to detect exploitation attempts.

To detect if your Vim installation is vulnerable, check the Vim version:

  • vim --version

If the version is between 9.1.1784 and 9.2.0677 inclusive, the system is vulnerable and should be updated to at least 9.2.0678.

Since the vulnerability involves PowerShell command injection, monitoring PowerShell command execution logs for suspicious commands triggered by Vim could help detect exploitation attempts, but no specific commands or signatures are provided.

Compliance Impact

The vulnerability allows arbitrary command execution with the privileges of the user running Vim, potentially leading to high confidentiality and integrity loss of data.

Such unauthorized access or manipulation of data could impact compliance with standards and regulations like GDPR and HIPAA, which require protection of sensitive information and prevention of unauthorized access.

However, the provided information does not explicitly discuss compliance implications or specific regulatory impacts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-57453. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart