CVE 9.6 CRITICAL

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

9.6 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Description

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.

AI Analysis

Arbitrary code execution via Tera templates in .tool-versions files due to lack of trust verification

Basic Information

ID CVE-2026-33646
Source GitHub_M
Published Jun 26, 2026 at 16:51

Affected Product

Vendor jdx
Product mise
Version < 2026.3.10
Affected Versions jdx mise < 2026.3.10

CWE Classification

AI Assessment

AI Score 9.6 / 10
AI Severity Critical
Vendor jdx
Product mise
Version < 2026.3.10

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.