CVE-2026-55448

mise: Local credential_command executes untrusted config

Published Jun 26, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Jdx
Jdx mise
Vendors & Products Jdx
Jdx mise
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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 27, 2026, 2:47 AM
Reserved
Jun 16, 2026, 9:59 PM
Status
Deferred
Published
Jun 26, 2026, 6:17 PM
Modified
Oct 25, 2026, 5:10 PM