CVE-2026-11487: Neovim View Branch secure.lua M.read command injection
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Neovimto a version that resolves this vulnerability.Patch f83e0dcaf8cf18de94828341b0a1a61a86c75baf
Event History
Frequently Asked Questions
What is the severity of CVE-2026-11487?
The severity of CVE-2026-11487 is rated as medium with a score of 5.3.
How does CVE-2026-11487 affect Neovim?
CVE-2026-11487 affects Neovim by allowing command injection through the M.read function in secure.lua due to improper handling of the argument path.
What is the risk associated with CVE-2026-11487?
The risk associated with CVE-2026-11487 is rated at 39, indicating it can be exploitable under certain conditions.
How do I fix CVE-2026-11487?
To fix CVE-2026-11487, update Neovim to a version beyond 0.12.2 where the vulnerability has been patched.
Can CVE-2026-11487 be exploited remotely?
No, CVE-2026-11487 can only be exploited locally.