2026-10-30 17:48CVE-2026-119979VulnCheck
PUBLISHED5.2CWE-22

LM Studio before 0.4.22+1 Path Traversal via Model Downloader

LM Studio before 0.4.22+1 contains a path traversal vulnerability in the model downloader's resolveDownloadRequest that allows attackers to write files outside the models directory using backslash-separated traversal filenames. Attackers can trick users into downloading a crafted model repository that plants a plugin manifest.json, install-state.json and mcp-bridge-config.json, running an attacker-supplied Python payload on every launch.

Problem type

Affected products

Element Labs

LM Studio

< 0.4.22+1 - AFFECTED

References

GitHub Security Advisories

GHSA-fv7x-c662-7ccq

LM Studio before 0.4.22+1 contains a path traversal vulnerability in the model downloader's...

https://github.com/advisories/GHSA-fv7x-c662-7ccq

LM Studio before 0.4.22+1 contains a path traversal vulnerability in the model downloader's resolveDownloadRequest that allows attackers to write files outside the models directory using backslash-separated traversal filenames. Attackers can trick users into downloading a crafted model repository that plants a plugin manifest.json, install-state.json and mcp-bridge-config.json, running an attacker-supplied Python payload on every launch.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-119979
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-119979",
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "dateUpdated": "2026-10-30T17:48:43.705Z",
    "dateReserved": "2026-10-30T17:45:34.401Z",
    "datePublished": "2026-10-30T17:48:43.705Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck",
        "dateUpdated": "2026-10-30T17:48:43.705Z"
      },
      "datePublic": "2026-10-30T00:00:00.000Z",
      "title": "LM Studio before 0.4.22+1 Path Traversal via Model Downloader",
      "descriptions": [
        {
          "lang": "en",
          "value": "LM Studio before 0.4.22+1 contains a path traversal vulnerability in the model downloader's resolveDownloadRequest that allows attackers to write files outside the models directory using backslash-separated traversal filenames. Attackers can trick users into downloading a crafted model repository that plants a plugin manifest.json, install-state.json and mcp-bridge-config.json, running an attacker-supplied Python payload on every launch."
        }
      ],
      "affected": [
        {
          "vendor": "Element Labs",
          "product": "LM Studio",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "0.4.22+1"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
              "cweId": "CWE-22",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://lmstudio.ai/changelog/lmstudio-v0.4.22",
          "name": "LM Studio 0.4.22 Release Notes",
          "tags": [
            "release-notes"
          ]
        },
        {
          "url": "https://www.vulncheck.com/advisories/lm-studio-before-0.4.22-1-path-traversal-via-model-downloader",
          "name": "VulnCheck Advisory: LM Studio before 0.4.22+1 Path Traversal via Model Downloader",
          "tags": [
            "third-party-advisory"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "NONE",
            "userInteraction": "REQUIRED",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH"
          }
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Ariel Fogel of Pillar Security",
          "type": "finder"
        }
      ]
    }
  }
}