PT-2026-48705

CVE-2026-47162

·

Published

2026-06-11

·

Updated

2026-11-11

Description by

CVSS 2.0
8.3
High
MetricsAV:N/AC:L/Au:M/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Vim versions prior to 9.2.0495
Description A Vimscript code injection exists in the s:NetrwBookHistSave() function within the netrw plugin. The issue occurs when serializing browsed directory paths to the history file ~/.vim/.netrwhist. A directory name from the filesystem is interpolated into a single-quoted Vimscript string literal without escaping embedded single quotes. This allows a crafted directory name to break the string context and execute arbitrary Vimscript, including shell commands via system() and :!, when the history file is subsequently sourced.
Recommendations Update to version 9.2.0495.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-CRM5-RH6J-2C7C
ALSA-2026:38509
ALSA-2026:38510
ALSA-2026:38511
AZL-89778
CLSA-2026-1781535483
CLSA-2026-1781550491
CLSA-2026-1781551234
CLSA-2026-1781552300
CLSA-2026-1781607668
CLSA-2026-1782138605
CLSA-2026-1782139332
CLSA-2026-1782152616
CLSA-2026-1782153265
CLSA-2026-1782221662
CLSA-2026-1782984730
CLSA-2026-1787394930
CLSA-2026-1792153017
DHI-72IX-DXPR-QKGN-MBD5
DHI-AZSC-LDEE-SONE-GRCQ
DHI-CWVG-LRRY-IJJA-VOFS
DHI-FBGA-7EJC-NYL2-I3YR
DHI-ITNM-ZK2W-4I7P-QHSI
DHI-KPTR-GCHO-IM3K-5BGO
DHI-P54D-35CQ-CV4E-BHO5
DHI-UNUU-KLQH-GKLD-WK6V
DHI-VKVK-FE45-RNCM-TZZC
DHI-WQTR-XONT-AIJE-U5YL
ECHO-1D9F-02A2-CD6E
OESA-2026-2761
OESA-2026-2762
OESA-2026-2763
OESA-2026-2863
RHSA-2026:55431
RHSA-2026:70818
RHSA-2026:72465
RHSA-2026:72466
USN-8451-1
Found an issue in the description? Have something to add? Feel free to write us 👾