CVEFinder.io

CVE-2026-47162

âš ī¸ high
🔍 Scan for this CVE
Summary

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

Description

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.

CVSS Score
8.8
High
EPSS Score
0.3
Exploit Probability
Published Date
2026-06-11
First Seen: 2026-06-12
📊 Relative Risk Intelligence

This CVE is High Risk - more severe than 81.1% of all 329,456 vulnerabilities in our database.

#62,367
Top 25% most severe
Severity Percentile
đŸŽ¯ CISA SSVC Assessment Updated: Jun 12, 2026
🔍 Exploitation Status
None
No known exploits
âš™ī¸ Automatable
NO
Requires human interaction
đŸ’Ĩ Technical Impact
Total
Complete system compromise possible
SSVC data provided by CISA
Last Modified 2026-06-13
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS Vector 4.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE IDs (Weakness Types)

đŸ“Ļ Affected Products 1

🔗 References 3

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-47167 đŸ”ļ medium 5.3 0.1 Vim is an open source, command line text editor. Prior to version 9.2.0496, a code injection vulnerability exists in s:s... 2026-06-11
CVE-2026-52858 âš ī¸ high 7.8 0.2 Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python omni-completion script in python3... 2026-06-11
CVE-2026-52859 âš ī¸ high 8.2 0.3 Vim is an open source, command line text editor. Prior to version 9.2.0565, the update_snapshot() function in src/termin... 2026-06-11
CVE-2026-52860 âš ī¸ high 7.8 0.2 Vim is an open source, command line text editor. Prior to version 9.2.0597, Vim's Python omni-completion executes recons... 2026-06-11
CVE-2026-46483 â„šī¸ low 3.6 0.0 Vim is an open source, command line text editor. Prior to 9.2.0479, a command injection vulnerability exists in tar#Vimu... 2026-05-15
CVE-2026-42307 đŸ”ļ medium 4.4 0.2 Vim is an open source, command line text editor. Prior to version 9.2.0383, an OS command injection vulnerability exists... 2026-05-08
These CVEs affect the same products