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 (updated June 12, 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/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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2026.2.18 before 2026.6.4

Fixed versions

  • 2026.6.4

Solution

Upgrade to version 2026.6.4 or above.

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 Sun, 08 Nov 2026 00:16:07 +0000.