{"@context":"https://openvex.dev/ns/v0.2.0","@id":"https://database.harborguard.co/cve/CVE-2026-47162/vex.json","author":"HarborGuard Database","role":"Document Creator","timestamp":"2026-06-12T12:47:52.867Z","version":1,"tooling":"HarborGuard Database (https://database.harborguard.co)","statements":[{"vulnerability":{"name":"CVE-2026-47162","@id":"https://www.cve.org/CVERecord?id=CVE-2026-47162","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 "},"products":[{"@id":"cpe:2.3:a:vim:vim:\\<_9.2.0495:*:*:*:*:*:*:*","identifiers":{"cpe23":"cpe:2.3:a:vim:vim:\\<_9.2.0495:*:*:*:*:*:*:*"}}],"status":"affected","action_statement":"No fixed version is published yet; monitor the upstream advisory.","timestamp":"2026-06-12T12:47:52.867Z"}]}