Description
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.
Published: 2026-10-30
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch immediately
AI Analysis

Impact

The vulnerability stems from a path traversal flaw in LM Studio’s model downloader resolveDownloadRequest. Attackers can supply backslash‑separated traversal filenames that write files outside the intended models directory. A malicious model repository can be crafted to place a plugin manifest.json, install‑state.json and mcp‑bridge‑config.json, which triggers an attacker‑supplied Python payload each time LM Studio launches, leading to arbitrary code execution under the user’s privileges.

Affected Systems

Element Labs LM Studio versions prior to 0.4.22+1, as referenced in the changelog and advisory links. Any deployment of LM Studio that has not been updated to 0.4.22 or later is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.7 classifies this issue as high severity, although EPSS data is not available so the likelihood of exploitation cannot be precisely quantified. The vulnerability is not listed in CISA’s KEV catalog. The attack vector appears to be local, requiring the user to download a malicious model repository, after which arbitrary code runs during application startup. Patch status and the ability of the user to verify model sources directly influence risk.

Generated by OpenCVE AI on October 30, 2026 at 19:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LM Studio to version 0.4.22 or later.
  • Validate that model repositories originate from trusted or signed sources before downloading.
  • Audit existing model directories for unexpected plugin manifest, install‐state, or mcp‑bridge‑config files and remove any that were not added by legitimate sources.

Generated by OpenCVE AI on October 30, 2026 at 19:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Element Labs
Element Labs lm Studio
Vendors & Products Element Labs
Element Labs lm Studio

Fri, 30 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 30 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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.
Title LM Studio before 0.4.22+1 Path Traversal via Model Downloader
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Element Labs Lm Studio
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-30T18:34:20.363Z

Reserved: 2026-10-30T17:45:34.401Z

Link: CVE-2026-119979

cve-icon Vulnrichment

Updated: 2026-10-30T18:28:40.033Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-30T18:17:27.760

Modified: 2026-10-30T19:18:22.440

Link: CVE-2026-119979

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T22:49:25Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')