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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Neovim | 0.12.0, 0.12.1, 0.12.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | neovim | 0.12.3-1 | — |
| Debian 13 | neovim | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | neovim | No fix yet | — |
| Ubuntu 26.04 LTS | neovim | No fix yet | — |
| Ubuntu 25.10 | neovim | No fix yet | — |
| Ubuntu 24.04 LTS | neovim | No fix yet | — |
| Ubuntu 22.04 LTS | neovim | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | neovim | No fix yet | — |
| Ubuntu Pro 18.04 LTS | neovim | No fix yet | — |
References
- VDB-369107 | Neovim View Branch secure.lua M.read command injection vdb-entry technical-description
- VDB-369107 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- CVE-2026-11487 | CVE Analysis and Report third-party-advisory
- Submit #834495 | Neovim Neovim <= 0.12.2 command injection third-party-advisory
- https://github.com/neovim/neovim/issues/39914 exploit issue-tracking
- https://github.com/neovim/neovim/pull/39918 issue-tracking patch
- https://github.com/neovim/neovim/commit/f83e0dcaf8cf18de94828341b0a1a61a86c75baf patch
- https://github.com/neovim/neovim/ product