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

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-22T17:19:56.000Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-fjj5-v948-whjj
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- jdx mise: < 2026.3.10
- mise (crates.io): before 2026.3.10

## Every score

- GitHub_M: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/jdx/mise/security/advisories/GHSA-fjj5-v948-whjj> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33646> (advisory)
- <https://github.com/jdx/mise> (package)

## Sources

- CVE List: [CVE-2026-33646](https://www.cve.org/CVERecord?id=CVE-2026-33646), CVE Terms of Use, modified 2026-06-29
- GitHub Advisory Database: [GHSA-fjj5-v948-whjj](https://github.com/advisories/GHSA-fjj5-v948-whjj), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-33646](https://nvd.nist.gov/vuln/detail/CVE-2026-33646), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-33646 · Whole record: https://cve.day/CVE-2026-33646.json · Rebuilt by cve.day 2026-11-25T22:59:26.504Z
