Skip to content
Heist/ feed
Back to feed
Low

Neovim View Branch secure.lua M.read command injection

Type: advisorySources: OSV

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
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-11487
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 17:19 UTC · Revision 1

Source evidence

Neovim View Branch secure.lua M.read command injection

core-osv · Original source

Published 8 Jun 2026, 04:15 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:CVE-2026-11487
Complete source record
{
  "id": "3e2051c7993b38e2cc454ddf3d74c1cb13e7dd261973fa8d7d128c6431407658",
  "url": "https://osv.dev/vulnerability/CVE-2026-11487",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Neovim View Branch secure.lua M.read command injection",
    "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:CVE-2026-11487",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-11487",
      "aliases": [
        "CVE-2026-11487"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/neovim/neovim",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fc7e5cf6c93fef08effc183087a2c8cc9bf0d75a"
                },
                {
                  "fixed": "f83e0dcaf8cf18de94828341b0a1a61a86c75baf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.12.0"
                      },
                      {
                        "last_affected": "0.12.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.12.1"
                      },
                      {
                        "last_affected": "0.12.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.12.2"
                      },
                      {
                        "last_affected": "0.12.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f83e0dcaf8cf18de94828341b0a1a61a86c75baf"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.12.0",
            "0.12.1",
            "0.12.2",
            "v0.12.2",
            "v0.12.1",
            "v0.12.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-11487.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.372775236Z",
      "provider": "osv",
      "references": [
        "https://github.com/neovim/neovim/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11487.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-11487",
        "https://vuldb.com/cve/CVE-2026-11487",
        "https://vuldb.com/submit/834495",
        "https://vuldb.com/vuln/369107",
        "https://github.com/neovim/neovim/issues/39914",
        "https://vuldb.com/vuln/369107/cti",
        "https://github.com/neovim/neovim/commit/f83e0dcaf8cf18de94828341b0a1a61a86c75baf",
        "https://github.com/neovim/neovim/pull/39918"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74",
          "CWE-77"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11487.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-11487",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487640,
  "published_at": "2026-06-08T04:15:11.583+00:00"
}