{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "9.2.0479"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3fb5e58fbc63d86a3e65f1a141b0d67af2aa38a1"
            }
          ],
          "repo": "https://github.com/vim/vim",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2fpv-9ff7-xg5w"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-78",
      "CWE-88"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46483.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "9.2.479"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Vim is an open source, command line text editor. Prior to 9.2.0479, a command injection vulnerability exists in tar#Vimuntar() in\nruntime/autoload/tar.vim when decompressing .tgz archives on Unix-like systems. The function builds :!gunzip and :!gzip -d commands using shellescape(tartail) without the {special} flag, allowing a crafted archive filename to trigger Vim cmdline-special expansion and execute shell commands in the user's context. This vulnerability is fixed in 9.2.0479.",
  "id": "CVE-2026-46483",
  "modified": "2026-07-08T05:38:08.065421496Z",
  "published": "2026-05-15T14:57:31.872Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/vim/vim/releases/tag/v9.2.0479"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46483.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/vim/vim/security/advisories/GHSA-2fpv-9ff7-xg5w"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46483"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vim/vim/commit/3fb5e58fbc63d86a3e65f1a141b0d67af2aa38a1"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Vim: Command injection in tar#Vimuntar via missing shellescape {special} flag"
}