Vim < 9.2.0435 OS Command Injection (GHSA-hwg5-3cxw-wvvg)

medium Nessus Plugin ID 314673

Synopsis

The remote host is missing a security update.

Description

The version of Vim installed on the remote host is prior to 9.2.0435. It is, therefore, affected by a vulnerability as referenced in the GHSA-hwg5-3cxw-wvvg advisory.

- Vim's `:find` command-line completion feature is affected by an OS command injection vulnerability. When the `path` option contains backtick-enclosed shell commands, those commands execute during file name completion. Because `path` lacks the `P_SECURE` flag, an attacker can set it via modeline to execute arbitrary shell commands when a user opens an attacker-controlled file and triggers `:find` completion. (CVE-2026-44656)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Vim version 9.2.0435 or later.

See Also

http://www.nessus.org/u?648cbf57

Plugin Details

Severity: Medium

ID: 314673

File Name: vim_9_2_0435.nasl

Version: 1.3

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 5/14/2026

Updated: 5/15/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-44656

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 4.6

Threat Score: 1.8

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/a:vim:vim

Required KB Items: installed_sw/Vim

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/2/2026

Vulnerability Publication Date: 5/3/2026

Reference Information

CVE: CVE-2026-44656

IAVA: 2026-A-0439