{"id":"CVE-2026-33646","aliases":["GHSA-fjj5-v948-whjj"],"url":"https://o3.security/vulnerability/CVE-2026-33646","summary":"mise: Arbitrary Code Execution via Tera Templates in .tool-versions Files (Trust Bypass)","details":"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.","published":"2026-06-26T16:51:44.261Z","modified":"2026-08-07T11:31:20.212433473Z","cvss":{"score":9.6,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},"epss":{"score":0.00383,"percentile":0.31154,"asOf":"2026-08-11"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"mise","fixedVersion":"2026.3.10"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33646.json"},{"type":"ADVISORY","url":"https://github.com/jdx/mise/security/advisories/GHSA-fjj5-v948-whjj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33646"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:20.212433473Z"}}