(Pwn2Own) LM Studio Plugin Sandbox Directory Traversal Arbitrary File Creation Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to create arbitrary files on affected installations of LM Studio. Authentication is required to exploit this vulnerability.
The specific flaw exists within the plugin sandbox. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute arbitrary code in the context of the service account.
Additional Details
Fixed in LM Studio 0.4.16
https://lmstudio.ai/changelog/lmstudio/lmstudio-v0.4.16
Disclosure Timeline
- 2026-06-02 - Vulnerability reported to vendor
- 2026-11-24 - Coordinated public release of advisory
- 2026-11-24 - Advisory Updated
Credit
Billy (@st424204), Pan Zhenpeng(@Peterpan980927), Weiming Shi (@bestswngs) of STARLabs SG (@starlabs_sg)