LiveActive security incident?Get immediate response
CVE Record

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.

HighCVSS 7.3Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

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().
Prepared
Confidence
high
Sources
8

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.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

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.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-33412 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

ScoreVersionSeverityVectorExploitImpactSource
7.3CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H1.35.9redhat-SADP
5.6CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N1.34.2GitHub_M

Vulnerability scoring details

Base CVSS 3.1 score

7.3High
CVSS 3.1 vector shape for CVE-2026-33412Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPvim: Vim: Arbitrary code execution via command injection in glob() function
other:Red Hat severity ratingcvssV3_1
  • 2026-03-24T20:02:21.511Z: Reported to Red Hat.
  • 2026-03-24T19:43:07.219Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
vimvim< 9.2.0202Listed
Weakness

CWE details

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.