RCE in Vim
CVE-2026-41411
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.6 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L.
EPSS exploit prediction
EPSS: 0.008 (54.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 54.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.008 · change: +0.003
Affected products
- Vim — versions < 9.2.0357
Weakness classification (CWE)
References
- github.com/vim/vim/security/advisories/GHSA-cwgx-gcj7-6qh8 (Patch, Vendor Advisory)
- github.com/vim/vim/commit/c78194e41d5a0b05b0ddf383b6679b1503f977fb (Patch)
- github.com/vim/vim/releases/tag/v9.2.0357 (Product)
Frequently asked questions
- What is CVE-2026-41411?
- CVE-2026-41411 is a medium-severity vulnerability in Vim, classified under OS Command Injection. CVSS score: 6.6/10. Published 2026-04-24.
- How severe is CVE-2026-41411?
- Medium severity. CVSS v3 base score is 6.6 out of 10.