Skip to main content

Docker EUVDEUVD-2026-19952

| CVE-2026-35533 HIGH
Improper Access Control (CWE-284)
2026-04-07 https://github.com/jdx/mise GHSA-436v-8fw5-4mj8
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker places malicious .mise.toml in repository
  2. Delivery
    Developer clones repository and runs mise command
  3. Exploit
    Trust settings loaded before verification
  4. Execution
    Untrusted config marked as trusted
  5. Impact
    Malicious _.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 .mise.toml in a repository. Victim must execute mise hook-env or similar command in the project directory. Requires mise v2026.3.17 or affected versions with trust-control bypass via local config preload.

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mise 2026.2.18, ≤ 2026.4.5

Affected Packages

cargo mise fix: 2026.6.4

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

NVD PRIMARY 7.8 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Jul 24, 2026 - 21:22 NVD
7.7 (HIGH) 7.8 (HIGH)
CVE Published
Apr 07, 2026 - 20:13 nvd
HIGH 7.7

DescriptionNVD

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:

  1. Settings::try_get() preloads local settings files.
  2. parse_settings_file() returns settings_file.settings without checking whether the file is trusted.
  3. trust_check() later consults those already-loaded settings.

The main trust-bypass path is in is_trusted():

rust
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:

toml
[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-arm64
  • mise v2026.3.17

Negative control:

toml
[env]
_.source = ["./poc.sh"]

mise ls fails with:

text
Config files in /work/poc/.mise.toml are not trusted.

and /tmp/mise-proof.txt is not created.

Primary exploit:

toml
[settings]
trusted_config_paths = ["/"]

[env]
_.source = ["./poc.sh"]

with:

bash
#!/usr/bin/env bash
echo trusted_paths_hookenv > /tmp/mise-proof.txt

Then:

bash
mise hook-env -s bash --force

Observed:

text
/tmp/mise-proof.txt => trusted_paths_hookenv

Related regression check:

  • v2026.2.17: local yes = true does not bypass trust
  • v2026.2.18: the same local yes = true value 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] _.source during mise hook-env
  • bypass of the protection that mise trust is 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_paths
  • yes
  • ci
  • paranoid

For example:

rust
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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy