{"id":"CVE-2026-71477","state":"PUBLISHED","title":"mise: Incorrect file ownership, when installed by the root user using `install.sh`","description":"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.","publishedAt":"2026-08-18T15:22:21.498Z","updatedAt":"2026-08-18T15:32:36.211Z","severity":{"score":6.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["jdx mise"],"affected":[{"vendor":"jdx","product":"mise","versions":[{"version":"< 2026.7.1","status":"affected"}]}],"references":["https://github.com/jdx/mise/security/advisories/GHSA-9mm4-fgvc-x7rp","https://github.com/jdx/mise/pull/10808","https://github.com/jdx/mise/pull/10819","https://github.com/jdx/mise/commit/b65dd674d75d9aa5c038b58a3a0cdb522cf258d5","https://github.com/jdx/mise/commit/f1c28906f17af74430ff96f4438733c4a842c88d","https://github.com/jdx/mise/releases/tag/v2026.7.1"],"weaknesses":["CWE-278"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/71xxx/CVE-2026-71477.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71477","state":"PUBLISHED","datePublished":"2026-08-18T15:22:21.498Z","dateUpdated":"2026-08-18T15:32:36.211Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-06T19:56:23.724Z"},"containers":{"cna":{"title":"mise: Incorrect file ownership, when installed by the root user using `install.sh`","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"jdx","product":"mise","versions":[{"version":"< 2026.7.1","status":"affected"}]}],"references":[{"url":"https://github.com/jdx/mise/security/advisories/GHSA-9mm4-fgvc-x7rp","name":"https://github.com/jdx/mise/security/advisories/GHSA-9mm4-fgvc-x7rp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jdx/mise/pull/10808","name":"https://github.com/jdx/mise/pull/10808","tags":["x_refsource_MISC"]},{"url":"https://github.com/jdx/mise/pull/10819","name":"https://github.com/jdx/mise/pull/10819","tags":["x_refsource_MISC"]},{"url":"https://github.com/jdx/mise/commit/b65dd674d75d9aa5c038b58a3a0cdb522cf258d5","name":"https://github.com/jdx/mise/commit/b65dd674d75d9aa5c038b58a3a0cdb522cf258d5","tags":["x_refsource_MISC"]},{"url":"https://github.com/jdx/mise/commit/f1c28906f17af74430ff96f4438733c4a842c88d","name":"https://github.com/jdx/mise/commit/f1c28906f17af74430ff96f4438733c4a842c88d","tags":["x_refsource_MISC"]},{"url":"https://github.com/jdx/mise/releases/tag/v2026.7.1","name":"https://github.com/jdx/mise/releases/tag/v2026.7.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.7,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-278","lang":"en","description":"CWE-278: Insecure Preserved Inherited Permissions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-18T15:22:21.498Z"},"source":{"advisory":"GHSA-9mm4-fgvc-x7rp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/jdx/mise/security/advisories/GHSA-9mm4-fgvc-x7rp","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T15:32:10.643204Z","id":"CVE-2026-71477","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-18T15:32:36.211Z"}}]}}}