Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. mise
  4. ›
  5. CVE-2026-33646

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

June 22, 2026 (updated July 21, 2026)

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.

References

  • github.com/advisories/GHSA-fjj5-v948-whjj
  • github.com/jdx/mise/security/advisories/GHSA-fjj5-v948-whjj
  • nvd.nist.gov/vuln/detail/CVE-2026-33646

Code Behaviors & Features

Detect and mitigate CVE-2026-33646 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2026.3.10

Fixed versions

  • 2026.3.10

Solution

Upgrade to version 2026.3.10 or above.

Impact 9.6 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

cargo/mise/CVE-2026-33646.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:25 +0000.