Description
mise manages dev tools like node, python, cmake, and terraform. From 2026.3.15 until 2026.6.4, mise loads github.credential_command from local project config before any trust decision, then executes that value with sh -c when resolving a GitHub token. An attacker who can place a .mise.toml in a repository can execute arbitrary shell commands when the victim runs a GitHub-related mise command and no higher-priority GitHub token environment variable is set. This vulnerability is fixed in 2026.6.4.
Published: 2026-06-26
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in mise causes the program to load the github.credential_command value from a local .mise.toml file before it evaluates any trust policy and then executes that value using sh -c. According to the description, an attacker who can place a .mise.toml in a repository can cause the victim to run arbitrary shell commands whenever the victim invokes a GitHub‑related mise command without setting a more privileged GitHub token environment variable. This is a classic case of command injection (CWE‑78) that allows an attacker to gain arbitrary code execution on the victim’s system.

Affected Systems

The affected product is the mise development‑tool manager from the vendor jdx. Versions from 2026.3.15 through 2026.6.3 are vulnerable. The issue was fixed in mise 2026.6.4, so any installation of that version or later is no longer affected.

Risk and Exploitability

The CVSS score is 6.3, indicating a medium‑to‑high severity. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog. Because the flaw requires an attacker to place a configuration file in a local repository and the victim to execute a GitHub‑related mise command, exploitation is bounded to environments where these conditions can be satisfied. While no known exploits have been reported, the attack vector is plausible for developers who clone or work with untrusted repositories.

Generated by OpenCVE AI on June 26, 2026 at 18:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to mise 2026.6.4 or later, which contains a patch that prevents execution of untrusted credential_command values.
  • Ensure that a higher‑priority GitHub token environment variable (e.g., GITHUB_TOKEN) is set before running mise commands to bypass local credential_command processing.
  • Inspect or remove any .mise.toml files in repositories that are not trusted, or sanitize the github.credential_command value to avoid command injection.

Generated by OpenCVE AI on June 26, 2026 at 18:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-29hf-rm4x-xxph Mise's local credential_command executes untrusted config
History

Fri, 26 Jun 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Jdx
Jdx mise
Vendors & Products Jdx
Jdx mise

Fri, 26 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Description mise manages dev tools like node, python, cmake, and terraform. From 2026.3.15 until 2026.6.4, mise loads github.credential_command from local project config before any trust decision, then executes that value with sh -c when resolving a GitHub token. An attacker who can place a .mise.toml in a repository can execute arbitrary shell commands when the victim runs a GitHub-related mise command and no higher-priority GitHub token environment variable is set. This vulnerability is fixed in 2026.6.4.
Title mise: Local credential_command executes untrusted config
Weaknesses CWE-78
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-26T16:46:17.280Z

Reserved: 2026-06-16T21:59:57.018Z

Link: CVE-2026-55448

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-26T23:00:08Z

Weaknesses
  • CWE-78

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