CVE-2026-11487 Neovim View Branch secure.lua M.read command injection
A command injection vulnerability in Neovim's secure.lua allows local attackers to execute arbitrary commands via manipulated path arguments.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-11487?
CVE-2026-11487 is a medium-severity command injection vulnerability in Neovim, published on 8 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw has been found in Neovim up to 0.12.2. Affected by this issue is the function M.read of the file runtime/lua/vim/secure.lua of the component View Branch. Executing a manipulation of the argument path can lead to command injection. It is possible to launch the attack on the local host. The exploit has been published and may be used. This patch is called f83e0dcaf8cf18de94828341b0a1a61a86c75baf. A patch should be applied to remediate this issue.
Which versions are affected by CVE-2026-11487?
How do I fix CVE-2026-11487?
Apply the vendor's patch.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-11487 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-11487 exists.
Sources
Also known as DEBIAN-CVE-2026-11487, GHSA-6869-x4fx-m53f, UBUNTU-CVE-2026-11487.