Echo: vim: security update to 2:9.2.0524-1

high Tenable Self-Hosted Container Security Plugin ID 459543

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Vim is an open source, command line text editor. Prior to version 9.2.0495, a Vimscript code injection
vulnerability exists in s:NetrwBookHistSave() in the netrw plugin
(runtime/pack/dist/opt/netrw/autoload/netrw.vim) when serializing browsed directory paths to the history
file ~/.vim/.netrwhist. A directory name derived from the filesystem is interpolated into a single-quoted
Vimscript string literal without escaping embedded single quotes, allowing a crafted directory name to
break out of the string context and execute arbitrary Vimscript, including shell commands via system() and
:!, the next time the history file is sourced. This issue has been patched in version 9.2.0495.
(CVE-2026-47162)

Solution

Update the vim library and its related packages to version 2:9.2.0524-1 or later.

See Also

https://advisory.echohq.com/cve/CVE-2026-47162

Plugin Details

Severity: High

ID: 459543

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.18

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-47162

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

CVSS v4

Risk Factor: High

Base Score: 7.3

Threat Score: 4.4

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/12/2026

Vulnerability Publication Date: 6/11/2026

Reference Information

CVE: CVE-2026-47162

IAVA: 2026-A-0619