Skip to content
Heist/ feed
Back to feed
Medium

neovim — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-11487

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.

Products
neovim
Affected versions
0.10.4-8build2, 0.11.4-3, 0.11.4-4, 0.11.5-2, 0.11.5-3, 0.11.6-1, 0.12.4-1, 0.2.0-3build2, 0.2.2-2, 0.2.2-3, 0.2.2-3ubuntu0.1~esm1, 0.3.8-1, 0.4.3-3, 0.4.4-1, 0.5.1-1, 0.6.0-1, 0.6.1-1, 0.6.1-2, 0.6.1-3, 0.7.2-7, 0.7.2-8, 0.9.5-10, 0.9.5-6ubuntu1, 0.9.5-6ubuntu2
Fixed versions
Not specified
CVEs
CVE-2026-11487
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:01 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-11487

core-osv · Original source

Published 8 Jun 2026, 05:16 UTC

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.

osv:UBUNTU-CVE-2026-11487

neovim

Fixed versions: Not specified

neovim

Fixed versions: Not specified

neovim

Fixed versions: Not specified

neovim

Fixed versions: Not specified

neovim

Fixed versions: Not specified

neovim

Fixed versions: Not specified

neovim

Fixed versions: Not specified

Complete source record
{
  "id": "d7573bf00e09c4c44f30878976958c133dc897ae609fad246d006dfe44294ba7",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-11487",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-11487",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-11487",
    "products": [
      {
        "name": {
          "value": "neovim",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.2.0-3build2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.2-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.2-3ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "neovim",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.3.8-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.4.3-3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "neovim",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.4-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.5.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.6.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.6.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.6.1-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.6.1-3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "neovim",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.7.2-7",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.7.2-8",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.9.5-6ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.9.5-6ubuntu2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "neovim",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.5-10",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.10.4-8build2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "neovim",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.11.6-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.12.4-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "neovim",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.10.4-8build2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.11.4-3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.11.4-4",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.11.5-2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.11.5-3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.11.6-1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-11487",
      "aliases": [
        "UBUNTU-CVE-2026-11487"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "neovim",
            "purl": "pkg:deb/ubuntu/neovim?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "0.2.0-3build2",
            "0.2.2-2",
            "0.2.2-3",
            "0.2.2-3ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11487.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "neovim",
                "binary_version": "0.2.2-3ubuntu0.1~esm1"
              },
              {
                "binary_name": "neovim-runtime",
                "binary_version": "0.2.2-3ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "neovim",
            "purl": "pkg:deb/ubuntu/neovim?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.3.8-1",
            "0.4.3-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11487.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "neovim",
                "binary_version": "0.4.3-3"
              },
              {
                "binary_name": "neovim-runtime",
                "binary_version": "0.4.3-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "neovim",
            "purl": "pkg:deb/ubuntu/neovim?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.4.4-1",
            "0.5.1-1",
            "0.6.0-1",
            "0.6.1-1",
            "0.6.1-2",
            "0.6.1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11487.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "neovim",
                "binary_version": "0.6.1-3"
              },
              {
                "binary_name": "neovim-runtime",
                "binary_version": "0.6.1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "neovim",
            "purl": "pkg:deb/ubuntu/neovim?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.7.2-7",
            "0.7.2-8",
            "0.9.5-6ubuntu1",
            "0.9.5-6ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11487.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "neovim",
                "binary_version": "0.9.5-6ubuntu2"
              },
              {
                "binary_name": "neovim-runtime",
                "binary_version": "0.9.5-6ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "neovim",
            "purl": "pkg:deb/ubuntu/neovim?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.9.5-10",
            "0.10.4-8build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11487.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "neovim",
                "binary_version": "0.10.4-8build2"
              },
              {
                "binary_name": "neovim-runtime",
                "binary_version": "0.10.4-8build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "neovim",
            "purl": "pkg:deb/ubuntu/neovim?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.11.6-1",
            "0.12.4-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11487.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "neovim",
                "binary_version": "0.12.4-1"
              },
              {
                "binary_name": "neovim-runtime",
                "binary_version": "0.12.4-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "neovim",
            "purl": "pkg:deb/ubuntu/neovim?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.10.4-8build2",
            "0.11.4-3",
            "0.11.4-4",
            "0.11.5-2",
            "0.11.5-3",
            "0.11.6-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11487.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "neovim",
                "binary_version": "0.11.6-1"
              },
              {
                "binary_name": "neovim-runtime",
                "binary_version": "0.11.6-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:04.362417876Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-11487"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-11487",
        "https://www.cve.org/CVERecord?id=CVE-2026-11487",
        "https://github.com/neovim/neovim/issues/39914",
        "https://github.com/neovim/neovim/pull/39918",
        "https://github.com/neovim/neovim/commit/f83e0dcaf8cf18de94828341b0a1a61a86c75baf"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-11487",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 357943,
  "published_at": "2026-06-08T05:16:00+00:00"
}