{"id":"CVE-2026-54557","published":"2026-06-26T16:47:29Z","modified":"2026-06-26T17:58:21Z","title":"mise HTTP backend uses raw version path for install symlink destination","vendor":"jdx","product":"mise","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00183,"percentile":0.08108,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/jdx/mise/security/advisories/GHSA-f94h-j2qg-fxw3","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.62},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"jdx","affectedVersions":[{"vendor":"jdx","product":"mise","versions":["< 2026.6.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-26T17:57:43.960724Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"mise","vulnerableRanges":["<2026.6.1"],"patched":["2026.6.1"],"from":["GHSA-f94h-j2qg-fxw3"],"provenance":"source"}],"summary":{"text":"mise's HTTP backend, which builds the install symlink destination from the raw resolved version string for non-latest versions, contains a path traversal flaw in mise versions before 2026.6.1. An attacker who can supply a repository-controlled .tool-versions file can, on Unix-like systems where that version is an absolute path, get mise to create a symlink outside its install tree, and with bin_path, an executable symlink under an attacker-selected prefix, which requires the victim to run mise install in that repository.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:50Z"},"euvd":{"id":"EUVD-2026-39814","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-33646","published":"2026-06-26","fixed":"2026.3.10","kev":false,"link":{"from":"CVE-2026-33646","to":"CVE-2026-54557","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:mise","fromFixed":"2026.3.10","toFixed":"2026.6.1","daysApart":0}]}},{"cve":"CVE-2026-54557","published":"2026-06-26","fixed":"2026.6.1","kev":false},{"cve":"CVE-2026-35533","published":"2026-04-07","fixed":"2026.6.4","kev":false},{"cve":"CVE-2026-55441","published":"2026-06-26","fixed":"2026.6.4","kev":false,"link":{"from":"CVE-2026-54557","to":"CVE-2026-55441","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:mise","fromFixed":"2026.6.1","toFixed":"2026.6.4","daysApart":0}]}},{"cve":"CVE-2026-55448","published":"2026-06-26","fixed":"2026.6.4","kev":false,"link":{"from":"CVE-2026-54557","to":"CVE-2026-55448","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:mise","fromFixed":"2026.6.1","toFixed":"2026.6.4","daysApart":0}]}}],"package":"crates.io:mise"}}