CVE-2026-33646CWE-94

mise: Arbitrary Code Execution via Tera Templates in .tool-versions Files (Trust Bypass)

Critical · published June 26, 2026

CVSS v3.1
9.6
EPSS
1%
Percentile
52.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00685 · 52.0th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-06-26T16:51Z
EPSS history
Timeline
  • 26 JUN 16:51Z
    mise: Arbitrary Code Execution via Tera Templates in .tool-versions Files (Trust Bypass)
    cvelistv5