Description
mise manages dev tools like node, python, cmake, and terraform. Prior to 2026.7.1, release tar archives record mise/bin/mise with user and group ID 1001 and packaging/standalone/install.envsubst extracts and moves it without normalizing ownership, allowing a local user with those IDs to replace a root-installed executable, especially when MISE_INSTALL_PATH targets a shared location such as /usr/local/bin. This issue is fixed in version 2026.7.1.
Published: 2026-08-18
Score: 6.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from an incorrect ownership setting in the mise binary when installed via the root account. The tarball contents assign the executable mise/bin/mise the user and group ID 1001. During unpacking, the installer does not correct these ownerships, which allows a local user whose UID or GID matches 1001 to overwrite the binary. Once replaced, that user can introduce malicious code that will run with root privileges because the executable is owned by a privileged account after installation. This flaw falls under CWE‑278 and enables privilege escalation by local users who can manipulate the file system.

Affected Systems

All installations of the jdx: mise tool built before version 2026.7.1 are affected. The issue is present in earlier releases that package the mise executable with ownership of UID 1001 and GID 1001, and the installer extracts it without normalizing to the current user’s identity. The problem most directly applies when the installation path is a shared location such as /usr/local/bin, as the binary is exposed to non‑privileged users who hold the corresponding UID or GID.

Risk and Exploitability

The CVSS score of the vulnerability is 6.7, indicating moderate severity. No EPSS score is publicly available and the vulnerability is not listed in CISA’s KEV catalog, suggesting that it is not known to be actively exploited in the wild. Exploitation requires local access to the machine, the ability to write to the installation directory, and possession of the UID or GID 1001. If these conditions are met, an attacker can replace the binary and execute arbitrary code as root. The risk is therefore notable for environments where users with UID or GID 1001 have write access to shared system directories.

Generated by OpenCVE AI on August 18, 2026 at 16:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to mise v2026.7.1 or newer.
  • If upgrading cannot be done, reinstall the mise binary and set its ownership to root:root (or the appropriate privileged user) to prevent local replacement.
  • Change MISE_INSTALL_PATH to a directory that is only writable by root or otherwise restrict write permissions for non‑privileged users.

Generated by OpenCVE AI on August 18, 2026 at 16:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 18:15:00 +0000

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

Tue, 18 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 18 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description mise manages dev tools like node, python, cmake, and terraform. Prior to 2026.7.1, release tar archives record mise/bin/mise with user and group ID 1001 and packaging/standalone/install.envsubst extracts and moves it without normalizing ownership, allowing a local user with those IDs to replace a root-installed executable, especially when MISE_INSTALL_PATH targets a shared location such as /usr/local/bin. This issue is fixed in version 2026.7.1.
Title mise: Incorrect file ownership, when installed by the root user using `install.sh`
Weaknesses CWE-278
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-18T15:32:36.211Z

Reserved: 2026-08-06T19:56:23.724Z

Link: CVE-2026-71477

cve-icon Vulnrichment

Updated: 2026-08-18T15:32:22.365Z

cve-icon NVD

Status : Received

Published: 2026-08-18T16:18:16.290

Modified: 2026-08-18T16:18:16.290

Link: CVE-2026-71477

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T18:00:04Z

Weaknesses
  • CWE-278

    Insecure Preserved Inherited Permissions