CVE-2026-54557
MediumCVSS 5.5Exploitation Probability (EPSS)
Low risk7th percentile — higher than 7% of all known CVEs
Summary
A vulnerability in mise (versions prior to 2026.6.1) allows creating a symlink outside the install directory by manipulating the version string in .tool-versions. The issue occurs in the HTTP backend, which uses the unsanitized version value to build the symlink path.
Risk Assessment
An attacker can place a symlink to an executable in an arbitrary location, such as a developer tools directory added to PATH, potentially leading to arbitrary code execution.
Recommendation
Update mise to version 2026.6.1 or later immediately. Before updating, verify the contents of .tool-versions files from untrusted repositories.
Original NVD description (English source)
mise manages dev tools like node, python, cmake, and terraform. Prior to 2026.6.1, 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. This vulnerability is fixed in 2026.6.1.

