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

CVE-2026-35533: Local settings bypass config trust checks

April 7, 2026

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.

References

  • github.com/advisories/GHSA-436v-8fw5-4mj8
  • github.com/jdx/mise
  • github.com/jdx/mise/security/advisories/GHSA-436v-8fw5-4mj8
  • nvd.nist.gov/vuln/detail/CVE-2026-35533

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2026.2.18 up to 2026.4.5

Solution

Unfortunately, there is no solution available yet.

Impact 7.7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

cargo/mise/CVE-2026-35533.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:18:40 +0000.