Vim <9.2.0202: glob() Command Injection on Unix
CVE-2026-33412 Published on March 24, 2026
Vim affected by Command injection via newline in glob()
Vim is an open source, command line text editor. Prior to version 9.2.0202, a command injection vulnerability exists in Vim's glob() function on Unix-like systems. By including a newline character (\n) in a pattern passed to glob(), an attacker may be able to execute arbitrary shell commands. This vulnerability depends on the user's 'shell' setting. This issue has been patched in version 9.2.0202.
Vulnerability Analysis
CVE-2026-33412 is exploitable with local system access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
User Interaction:
REQUIRED
Confidentiality Impact:
HIGH
Availability Impact:
HIGH
Weakness Type
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2026-33412 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2026-33412
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-33412 are published in these products:
Affected Versions
vim:
-
Version < 9.2.0202
is affected.
Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION):
Red Hat Enterprise Linux Server (v. 7 ELS):
Red Hat OpenShift Container Platform 4.12:
Red Hat OpenShift Container Platform 4.13:
Red Hat OpenShift Container Platform 4.14:
Red Hat OpenShift Container Platform 4.15:
Red Hat OpenShift Container Platform 4.16:
Red Hat OpenShift Container Platform 4.17:
Red Hat OpenShift Container Platform 4.18:
Red Hat OpenShift Container Platform 4.19:
Red Hat Enterprise Linux AppStream EUS (v. 10.0):
Red Hat Enterprise Linux AppStream (v. 10):
Red Hat Enterprise Linux AppStream (v. 8):
Red Hat Enterprise Linux AppStream AUS (v. 8.2):
Red Hat Enterprise Linux AppStream AUS (v.8.4):
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4):
Red Hat Enterprise Linux AppStream AUS (v.8.6):
Red Hat Enterprise Linux AppStream E4S (v.8.6):
Red Hat Enterprise Linux AppStream TUS (v.8.6):
Red Hat Enterprise Linux AppStream E4S (v.8.8):
Red Hat Enterprise Linux AppStream TUS (v.8.8):
Red Hat Enterprise Linux AppStream E4S (v.9.0):
Red Hat Enterprise Linux AppStream E4S (v.9.2):
Red Hat Enterprise Linux AppStream EUS (v.9.4):
Red Hat Enterprise Linux AppStream EUS (v.9.6):
Red Hat Enterprise Linux AppStream (v. 9):
Red Hat Enterprise Linux BaseOS EUS (v. 10.0):
Red Hat Enterprise Linux BaseOS (v. 10):
Red Hat Enterprise Linux BaseOS (v. 8):
Red Hat Enterprise Linux BaseOS AUS (v. 8.2):
Red Hat Enterprise Linux BaseOS AUS (v.8.4):
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4):
Red Hat Enterprise Linux BaseOS AUS (v.8.6):
Red Hat Enterprise Linux BaseOS E4S (v.8.6):
Red Hat Enterprise Linux BaseOS TUS (v.8.6):
Red Hat Enterprise Linux BaseOS E4S (v.8.8):
Red Hat Enterprise Linux BaseOS TUS (v.8.8):
Red Hat Enterprise Linux BaseOS E4S (v.9.0):
Red Hat Enterprise Linux BaseOS E4S (v.9.2):
Red Hat Enterprise Linux BaseOS EUS (v.9.4):
Red Hat Enterprise Linux BaseOS EUS (v.9.6):
Red Hat Enterprise Linux BaseOS (v. 9):
Red Hat AI Inference Server 3.2:
Red Hat AI Inference Server 3.3:
Red Hat Insights proxy 1.5:
Red Hat Update Infrastructure 5:
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.