Vulnerability  ·  2026-06-27

mise Dev-Tool Manager — Arbitrary Command Execution via Tera Template Injection in .tool-versions (Trust Bypass)

VulnerabilityHigh impactGlobalCVE-2026-33646
mise processes .tool-versions configuration files through the Tera template engine during parsing and registers the exec() function in that context. Unlike .mise.toml files, .tool-versions files are not subject to trust verification in non-paranoid mode. An attacker can embed arbitrary Tera exec() calls in a .tool-versions file committed to a repository; any developer who cds into the directory with mise activated automatically executes the attacker's commands, with no prompt or warning.
mise is heavily used in AI/ML developer workflows for managing Python, Node, and other toolchain versions. This is a supply-chain/drive-by attack: a malicious open-source repo, a social engineering lure, or a compromised upstream repository can execute attacker code on any developer machine that has mise activated — instantly exfiltrating cloud credentials, API keys, model weights, or establishing persistent access without any user interaction beyond a directory change.
An attacker places a malicious .tool-versions file in a git repository. The file contains Tera template directives calling the registered exec() function. When a victim with mise shell activation runs 'cd' into the directory, mise parses .tool-versions through the Tera engine without performing any trust check (unlike .mise.toml files), and the embedded exec() call runs arbitrary OS commands immediately.
mise < 2026.3.10
Upgrade to mise 2026.3.10 or later. Advisory: https://github.com/jdx/mise/security/advisories/GHSA-fjj5-v948-whjj
Sources
Feedly CVE-2026-33646 (advisory confirmed via GitLab Advisory Database)NVD CVE-2026-33646GitHub Advisory GHSA-fjj5-v948-whjj
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →