Command Injection Affecting vim/vim package, versions [,9.2.0202)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.83% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-VIMVIM-15857098
  • published31 Mar 2026
  • disclosed24 Mar 2026
  • creditpyllyukko

Introduced: 24 Mar 2026

CVE-2026-33412  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.2.0202 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the glob() function. An attacker can execute arbitrary shell commands by passing a pattern containing a newline character, which is interpreted by the shell. This may result in arbitrary code execution depending on the user's shell configuration.

CVSS Base Scores

version 4.0
version 3.1