{"id":"CVE-2026-33646","published":"2026-06-26T16:51:44Z","modified":"2026-06-29T13:28:19Z","title":"mise: Arbitrary Code Execution via Tera Templates in .tool-versions Files (Trust Bypass)","vendor":"jdx","product":"mise","tier":"tail","description":{"text":"mise manages dev tools like node, python, cmake, and terraform. Prior to 2026.3.10, mise processes .tool-versions files through the Tera template engine during parsing, with the exec() function registered, enabling arbitrary command execution. Unlike .mise.toml files, .tool-versions files are not subject to trust verification in non-paranoid mode. This means an attacker can place a malicious .tool-versions file in a git repository, and when a victim with mise activated cds into the directory, arbitrary commands execute without any trust prompt. This vulnerability is fixed in 2026.3.10.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00461,"percentile":0.4087,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/jdx/mise/security/advisories/GHSA-fjj5-v948-whjj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":8.17},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"jdx","affectedVersions":[{"vendor":"jdx","product":"mise","versions":["< 2026.3.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-29T13:28:13.981681Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"mise","vulnerableRanges":["<2026.3.10"],"patched":["2026.3.10"],"from":["GHSA-fjj5-v948-whjj"],"provenance":"source"}],"summary":{"text":"mise, a tool for managing development tools such as node, python, cmake and terraform, processes .tool-versions files through its Tera template engine with the exec() function registered, so code injected into those files runs as a command. An attacker who can place a malicious .tool-versions file in a git repository can get arbitrary commands executed on a victim's machine without network access or authentication, but the victim must have mise activated and cd into that directory; .tool-versions files bypass the trust verification applied to .mise.toml files in non-paranoid mode.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:43Z"},"euvd":{"id":"EUVD-2026-39816","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-33646","published":"2026-06-26","fixed":"2026.3.10","kev":false},{"cve":"CVE-2026-54557","published":"2026-06-26","fixed":"2026.6.1","kev":false,"link":{"from":"CVE-2026-33646","to":"CVE-2026-54557","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:mise","fromFixed":"2026.3.10","toFixed":"2026.6.1","daysApart":0}]}},{"cve":"CVE-2026-35533","published":"2026-04-07","fixed":"2026.6.4","kev":false},{"cve":"CVE-2026-55441","published":"2026-06-26","fixed":"2026.6.4","kev":false}],"package":"crates.io:mise"}}