CVE-2026-41411
Vim: Command injection via backtick expansion in tag filenames
Description
Vim is an open source, command line text editor. Prior to 9.2.0357, A command injection vulnerability exists in Vim's tag file processing. When resolving a tag, the filename field from the tags file is passed through wildcard expansion to resolve environment variables and wildcards. If the filename field contains backtick syntax (e.g., `command`), Vim executes the embedded command via the system shell with the full privileges of the running user.
INFO
Published Date :
April 24, 2026, 5:16 p.m.
Last Modified :
April 27, 2026, 1:39 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update Vim to version 9.2.0357 or later.
- Avoid processing untrusted tag files.
- Sanitize filenames in tag files.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-41411.
| URL | Resource |
|---|---|
| https://github.com/vim/vim/commit/c78194e41d5a0b05b0ddf383b6679b1503f977fb | Patch |
| https://github.com/vim/vim/releases/tag/v9.2.0357 | Product |
| https://github.com/vim/vim/security/advisories/GHSA-cwgx-gcj7-6qh8 | Patch Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-41411 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-41411
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-41411 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-41411 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 27, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* versions up to (excluding) 9.2.0357 Added Reference Type GitHub, Inc.: https://github.com/vim/vim/commit/c78194e41d5a0b05b0ddf383b6679b1503f977fb Types: Patch Added Reference Type GitHub, Inc.: https://github.com/vim/vim/releases/tag/v9.2.0357 Types: Product Added Reference Type GitHub, Inc.: https://github.com/vim/vim/security/advisories/GHSA-cwgx-gcj7-6qh8 Types: Patch, Vendor Advisory -
New CVE Received by [email protected]
Apr. 24, 2026
Action Type Old Value New Value Added Description Vim is an open source, command line text editor. Prior to 9.2.0357, A command injection vulnerability exists in Vim's tag file processing. When resolving a tag, the filename field from the tags file is passed through wildcard expansion to resolve environment variables and wildcards. If the filename field contains backtick syntax (e.g., `command`), Vim executes the embedded command via the system shell with the full privileges of the running user. Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L Added CWE CWE-78 Added Reference https://github.com/vim/vim/commit/c78194e41d5a0b05b0ddf383b6679b1503f977fb Added Reference https://github.com/vim/vim/releases/tag/v9.2.0357 Added Reference https://github.com/vim/vim/security/advisories/GHSA-cwgx-gcj7-6qh8