OS Command Injection in Vim - CVE-2026-42307
Published: April 23, 2026 / Updated: May 27, 2026
Vim
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary shell commands.
The vulnerability exists due to improper neutralization of special elements used in an OS command in the netrw standard plugin function s:GetTempfile() when processing crafted local or remote URLs. A remote attacker can trick the victim into opening a crafted URL to execute arbitrary shell commands.
User interaction is required to open a crafted URL, and the injected payload is typically visible in the filename.