VYPR
patchPublished Nov 24, 2026· 1 source

LM Studio Plugin Vulnerability Allows Arbitrary File Creation and RCE

A critical directory traversal vulnerability in LM Studio plugins, discovered by Zero Day Initiative, allows authenticated remote attackers to create arbitrary files and execute code.

A significant security vulnerability has been identified within the plugin sandbox of LM Studio, a popular application for running local large language models. The vulnerability, tracked as ZDI-26-1120 and assigned CVE-2026-133994, allows remote attackers with prior authentication to create arbitrary files on affected installations.

The core of the issue lies in the improper validation of user-supplied path information before it is used in file operations. This oversight enables an attacker to manipulate file paths, effectively traversing directories and writing files to unintended locations on the system. Successful exploitation could lead to the execution of arbitrary code within the context of the service account running LM Studio.

This vulnerability carries a high severity rating, with a CVSS score of 9.1, underscoring the potential impact on affected systems. While exploitation requires authentication, the ability to create arbitrary files and achieve remote code execution (RCE) presents a substantial risk to users and their data.

The vulnerability was discovered and reported by researchers at Zero Day Initiative (ZDI), with contributions from Billy (@st424204), Pan Zhenpeng(@Peterpan980927), and Weiming Shi (@bestswngs) of STARLabs SG (@starlabs_sg). ZDI coordinated the public release of the advisory on November 24, 2026, following the vendor's disclosure on June 2, 2026.

LM Studio has addressed this vulnerability in version 0.4.16 of its application. Users are strongly advised to update to the latest version to mitigate the risk of exploitation. The changelog for this version confirms the fix for the plugin sandbox directory traversal vulnerability.

This discovery highlights ongoing security challenges in the rapidly evolving landscape of AI development tools. As applications like LM Studio become more integrated into workflows, the security of their components, including plugin architectures, becomes paramount. Vulnerabilities that allow for arbitrary file creation or code execution can have far-reaching consequences, from data breaches to complete system compromise.

Users of LM Studio should remain vigilant and ensure their software is up-to-date. The detailed advisory from ZDI provides further technical insights into the vulnerability's mechanics and the conditions required for exploitation. Prompt patching is the most effective defense against such threats.

Synthesized by Vypr AI