{"id":"CVE-2026-55441","published":"2026-06-26T16:48:23Z","modified":"2026-06-26T18:41:26Z","title":"mise: Arbitrary command execution via task-include files in an untrusted, config-less repository","vendor":"jdx","product":"mise","tier":"tail","description":{"text":"mise manages dev tools like node, python, cmake, and terraform. Prior to 2026.6.4, mise's trust feature gates config files (mise.toml, .tool-versions) through trust_check, but task-include files are loaded on a path that never reaches it. When a directory has a task-include dir (mise-tasks/, .mise/tasks/, …) but no config file, mise falls back to the default includes and renders each task's tera fields — and that tera environment has exec() registered. A {{ exec(command='…') }} in any rendered field runs arbitrary commands the moment the tasks are merely listed. There's no config file to gate on, so no trust prompt ever appears. Read-only commands trigger it: mise tasks, mise task ls, mise run, mise tasks --usage (the query shell completion runs on Tab). The victim only has to cd into a cloned repo and list or tab-complete a task. This vulnerability is fixed in 2026.6.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00184,"percentile":0.08153,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/jdx/mise/security/advisories/GHSA-77g9-363w-rccq","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":1.63},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"jdx","affectedVersions":[{"vendor":"jdx","product":"mise","versions":["< 2026.6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-26T18:14:26.577413Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"mise","vulnerableRanges":["<2026.6.4"],"patched":["2026.6.4"],"from":["GHSA-77g9-363w-rccq"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-39815","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-33646","published":"2026-06-26","fixed":"2026.3.10","kev":false},{"cve":"CVE-2026-54557","published":"2026-06-26","fixed":"2026.6.1","kev":false,"link":{"from":"CVE-2026-54557","to":"CVE-2026-55441","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:mise","fromFixed":"2026.6.1","toFixed":"2026.6.4","daysApart":0}]}},{"cve":"CVE-2026-35533","published":"2026-04-07","fixed":"2026.6.4","kev":false},{"cve":"CVE-2026-55441","published":"2026-06-26","fixed":"2026.6.4","kev":false},{"cve":"CVE-2026-55448","published":"2026-06-26","fixed":"2026.6.4","kev":false},{"cve":"CVE-2026-103929","published":"2026-10-14","fixed":"2026.7.14","kev":false,"link":{"from":"CVE-2026-55441","to":"CVE-2026-103929","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:mise","fromFixed":"2026.6.4","toFixed":"2026.7.14","daysApart":110}]}}],"package":"crates.io:mise"}}