CVE-2026-103929

mise permits untrusted local configuration to override default shell arguments

Published Oct 14, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
mise manages dev tools like node, python, cmake, and terraform. Prior to 2026.7.14, in the default non-safe mode, mise loads .mise.toml [settings] from an untrusted local project before trust approval and strip_local_only_settings removes only fields marked global_only. The unix_default_file_shell_args, unix_default_inline_shell_args, windows_default_file_shell_args, and windows_default_inline_shell_args settings were not marked global_only, allowing a repository to replace the default interpreter arguments used by trusted tasks that have no explicit shell, postinstall directives, template exec operations, or hooks that fall back to the default shell. When mise appends the trusted command after the attacker-controlled interpreter arguments, the attacker-selected command can execute first with the developer account's privileges even though the local configuration was never trusted. The separate path-sanitization hardening note in the advisory is outside this vulnerability. This issue is fixed in version 2026.7.14.

Analysis

AI-generated

Technical impact

This vulnerability allows a local attacker with file‑system access to a project to create or modify a .mise.toml file that overrides the default shell arguments for tasks. Because mise runs in its default non‑safe mode it loads this configuration before checking for trust, and the affected settings were not marked as global only. As a result, the attacker’s interpreter arguments are inserted before the legitimate task command, causing the attacker‑controlled command to execute with the user’s privileges. The consequence is that arbitrary commands can run on the developer’s machine, effectively providing local privilege escalation or command injection.

Affected Systems

All installations of the development tool mise with versions earlier than 2026.7.14 are affected. This includes any distributions of mise that run with the default non‑safe mode on Linux, macOS, or Windows. Users who have not yet upgraded beyond v2026.7.13 are susceptible.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity. The EPSS score is <1%, suggesting a low probability of exploitation, and the issue is not listed in the CISA KEV catalog. Exploitation requires the attacker to place a crafted .mise.toml file in a directory where tasks will be executed, which is typically possible for anyone with local access to the project. Once present, mise will prepend the malicious shell arguments before the trusted command, allowing the attacker‑controlled command to run first with developer‑level privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade mise to version 2026.7.14 or later, which marks the vulnerable shell argument settings as global only.
  • If an upgrade cannot be done immediately, avoid running tasks in directories that contain an untrusted .mise.toml; verify or remove the file before executing any tasks.
  • Use mise’s trust mechanism to explicitly mark configuration files as trusted before running tasks, ensuring that only reviewed settings are loaded.

Generated by OpenCVE AI on October 15, 2026 at 18:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g74g-rg72-j2p3 mise permits untrusted local configuration to override default shell arguments
History
Type Values Removed Values Added
First Time appeared Jdx
Jdx mise
Vendors & Products Jdx
Jdx mise
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description mise manages dev tools like node, python, cmake, and terraform. Prior to 2026.7.14, in the default non-safe mode, mise loads .mise.toml [settings] from an untrusted local project before trust approval and strip_local_only_settings removes only fields marked global_only. The unix_default_file_shell_args, unix_default_inline_shell_args, windows_default_file_shell_args, and windows_default_inline_shell_args settings were not marked global_only, allowing a repository to replace the default interpreter arguments used by trusted tasks that have no explicit shell, postinstall directives, template exec operations, or hooks that fall back to the default shell. When mise appends the trusted command after the attacker-controlled interpreter arguments, the attacker-selected command can execute first with the developer account's privileges even though the local configuration was never trusted. The separate path-sanitization hardening note in the advisory is outside this vulnerability. This issue is fixed in version 2026.7.14.
Title mise permits untrusted local configuration to override default shell arguments
Weaknesses CWE-284
CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 15, 2026, 7:11 PM
Reserved
Oct 1, 2026, 2:20 PM
Status
Deferred
Published
Oct 14, 2026, 4:17 PM
Modified
Oct 15, 2026, 7:17 PM