{"id":"JLSEC-2026-1892","details":"Vim is an open source, command line text editor. Prior to 9.2.0839, the `runtime/ftplugin/sh.vim`, `runtime/ftplugin/zsh.vim`, and `runtime/ftplugin/ps1.vim` filetype plugins pass attacker-controlled Visual-mode selections from K through keywordprg commands without safely separating shell arguments. fnameescape() and `PATH_ESC_CHARS` do not neutralize shell metacharacters before ShKeywordPrg, ZshKeywordPrg, or GetHelp invokes bash, zsh, or PowerShell, allowing arbitrary operating-system commands to execute with the privileges of the user running Vim. This issue is fixed in version 9.2.0839.","modified":"2026-12-02T14:45:12.010265386Z","published":"2026-12-02T14:32:56.182Z","upstream":["CVE-2026-73077","EUVD-2026-56233"],"database_specific":{"license":"CC-BY-4.0","sources":[{"imported":"2026-12-02T14:11:18.603Z","modified":"2026-10-06T19:34:36.703Z","published":"2026-08-11T16:17:39.430Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-73077","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73077","database_specific":{"status":"Analyzed"},"affected":{"vim:vim":["\u003c 9.2.0839"]},"id":"CVE-2026-73077"},{"modified":"2026-08-11T18:33:31Z","published":"2026-08-11T15:39:24Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-56233","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-56233","affected":{"vim:vim":["\u003c 9.2.0839"]},"id":"EUVD-2026-56233","imported":"2026-12-02T14:11:19.987Z"}]},"references":[{"type":"WEB","url":"https://github.com/vim/vim/commit/c5a82fe013e73c98004ad7cd4f906b1ad1ed610e"},{"type":"WEB","url":"https://github.com/vim/vim/security/advisories/GHSA-r5v6-q6j8-8qw2"}],"affected":[{"package":{"name":"Vim_jll","ecosystem":"Julia","purl":"pkg:julia/Vim_jll?uuid=1e82aed4-b73c-514c-b6b0-721e3fbe9c02"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1892.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/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","source":"CNA"}]}