{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2026.7.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b65dd674d75d9aa5c038b58a3a0cdb522cf258d5"
            },
            {
              "fixed": "f1c28906f17af74430ff96f4438733c4a842c88d"
            },
            {
              "fixed": "4b602740234abf18ae57f5c783d307456e873574"
            }
          ],
          "repo": "https://github.com/jdx/mise",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9mm4-fgvc-x7rp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-278"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71477.json"
  },
  "details": "mise manages dev tools like node, python, cmake, and terraform. Prior to 2026.7.1, release tar archives record mise/bin/mise with user and group ID 1001 and packaging/standalone/install.envsubst extracts and moves it without normalizing ownership, allowing a local user with those IDs to replace a root-installed executable, especially when MISE_INSTALL_PATH targets a shared location such as /usr/local/bin. This issue is fixed in version 2026.7.1.",
  "id": "CVE-2026-71477",
  "modified": "2026-08-20T03:30:11.390056968Z",
  "published": "2026-08-18T15:22:21.498Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/jdx/mise/releases/tag/v2026.7.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71477.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/jdx/mise/security/advisories/GHSA-9mm4-fgvc-x7rp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-71477"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jdx/mise/commit/b65dd674d75d9aa5c038b58a3a0cdb522cf258d5"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jdx/mise/commit/f1c28906f17af74430ff96f4438733c4a842c88d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jdx/mise/pull/10808"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jdx/mise/pull/10819"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "mise: Incorrect file ownership, when installed by the root user using `install.sh`"
}