← Back to CVE Explorer

CVE-2026-54557

Full vulnerability record from the local CVENow database.

Description

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.

Severity
MEDIUM
CVSS score
5.5 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-26 18:17:00.553000
Last modified
2026-10-25 17:10:00.197000
View original CVE JSON
{
  "id": "CVE-2026-54557",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-26T18:17:00.553",
  "lastModified": "2026-10-25T17:10:00.197",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "mise gestiona herramientas de desarrollo como node, python, cmake y terraform. Antes de 2026.6.1, el backend HTTP de mise construye el destino de su enlace simbólico de instalación a partir de la cadena de versión resuelta en bruto para versiones no más recientes. Las rutas de instalación de herramientas normales utilizan el nombre de ruta de versión saneado, pero la ruta del enlace simbólico del backend HTTP utiliza el valor en bruto. En sistemas tipo Unix, si esa versión es una ruta absoluta, PathBuf::join descarta la raíz de instalaciones de mise prevista. Un archivo .tool-versions controlado por el repositorio puede, por lo tanto, hacer que mise install cree un enlace simbólico fuera del árbol de instalación de mise. Con bin_path, el mismo problema puede colocar un enlace simbólico ejecutable bajo un prefijo absoluto seleccionado por el atacante, como un prefijo de herramienta de desarrollo que se añade posteriormente a PATH. Esta vulnerabilidad se corrige en 2026.6.1."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "jdx",
          "product": "mise",
          "versions": [
            {
              "version": "< 2026.6.1",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
          "baseScore": 5.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-26T17:57:43.960724Z",
          "id": "CVE-2026-54557",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/jdx/mise/security/advisories/GHSA-f94h-j2qg-fxw3",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/jdx/mise/security/advisories/GHSA-f94h-j2qg-fxw3",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}