Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. mise
  4. ›
  5. CVE-2026-54557

CVE-2026-54557: mise HTTP backend uses raw version path for install symlink destination

June 23, 2026

The mise HTTP backend builds its install symlink destination from the raw resolved version string for non-latest versions. Normal tool install paths use the sanitized version pathname, but the HTTP backend’s symlink path uses the raw value. On Unix-like systems, if that version is an absolute path, PathBuf::join discards the intended mise installs root.

A repository-controlled .tool-versions file can therefore make mise install create a symlink outside the mise install tree. With bin_path, the same issue can place an executable symlink under an attacker-selected absolute prefix, such as a developer-tool prefix that is later added to PATH.

The reproducer below also models a CI/developer workflow where a later step executes a preexisting trusted command from a user-local PATH prefix. The absolute-version HTTP entry replaces that command with a symlink to downloaded HTTP content. A non-absolute version control does not replace the trusted PATH command.

References

  • github.com/advisories/GHSA-f94h-j2qg-fxw3
  • github.com/jdx/mise/security/advisories/GHSA-f94h-j2qg-fxw3
  • nvd.nist.gov/vuln/detail/CVE-2026-54557

Code Behaviors & Features

Detect and mitigate CVE-2026-54557 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2026.6.1

Fixed versions

  • 2026.6.1

Solution

Upgrade to version 2026.6.1 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

cargo/mise/CVE-2026-54557.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 16 Jul 2026 12:16:53 +0000.