CVE-2026-33412: 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.
Security readout for executives and security teams
Plain-English summary
Vim before 9.2.0202 can be tricked into running shell commands when its glob() function receives a pattern containing a newline on Unix-like systems. The bug needs local/user interaction conditions, but successful exploitation could compromise confidentiality, integrity, and availability under the affected user context.
Executive priority
Treat as a high-priority patching item for Unix-like systems with Vim installed, especially developer systems and shared servers. It is not described as remotely exploitable in the provided sources, but impact is high if triggered.
Technical view
CVE-2026-33412 is CWE-78 command injection in Vim glob() on Unix-like systems. A newline in a glob pattern can alter shell command handling, depending on the user's 'shell' setting. Upstream fixed the issue in Vim 9.2.0202. CVSS 3.1 is 7.3: AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
Likely exposure
Unix-like workstations, servers, containers, and developer environments running Vim versions earlier than 9.2.0202 are in scope. Exposure is most relevant where Vim processes attacker-influenced patterns through glob(), including local scripts, plugins, or editor workflows that handle untrusted input.
Exploitation context
The provided sources do not show CISA KEV listing or confirmed active exploitation. Exploitation requires local privileges and user interaction per the CVSS vector, and it depends on Vim configuration, especially the user's 'shell' setting.
Researcher notes
Key constraints are newline handling in glob(), Unix-like behavior, the configured shell, and whether attacker-controlled data can reach glob(). Do not assume all Vim use is exploitable; validate call paths and package backport status.
Mitigation direction
Upgrade Vim to version 9.2.0202 or later.
Apply vendor-packaged fixes, including relevant Red Hat security advisories where applicable.
Check OS vendor guidance for backported fixed package versions.
Restrict untrusted Vim scripts, plugins, or workflows until patched.
Validation and detection
Inventory Vim versions across Unix-like endpoints, servers, containers, and images.
Confirm installed packages include the upstream fix or vendor backport.
Review vendor advisory status for each affected distribution.
Identify Vim workflows that pass untrusted input into glob().
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
3ADP providers
37Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-78 · source CWE mapping
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.