LM Studio before 0.4.16: five Pwn2Own flaws including unauthenticated code execution through MCP tool schemas (ZDI-26-1121, CVSS 9.8); fixed 2026-06-08
TL;DR #
LM Studio before 0.4.16 lets a remote attacker run code with no authentication through MCP tool schemas, per ZDI-26-1121 (CVE-2026-133995, CVSS 9.8). ZDI published four more LM Studio advisories the same day, 2026-11-24. All five say "Fixed in LM Studio 0.4.16", which the vendor dates 2026-06-08. Update to the current release, 0.4.29 when read on 2026-11-29.
What happened #
The five flaws were used at Pwn2Own Berlin, held 2026-05-14 to 2026-05-16. Each ZDI page gives 2026-06-02 as the day the flaw was reported to the vendor and 2026-11-24 as the public release.
| ZDI id | CVE id on the ZDI page | ZDI score and vector | What the page says | Credit |
|---|---|---|---|---|
| ZDI-26-1121 | CVE-2026-133995 | 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Code execution through MCP tool schemas. A supplied schema is used to generate code without validation. No authentication needed. | OtterSec |
| ZDI-26-1120 | CVE-2026-133994 | 9.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Arbitrary file creation through a path traversal in the plugin sandbox, leading to code execution. Authentication required. | STAR Labs SG |
| ZDI-26-1119 | CVE-2026-133992 | 8.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Authentication bypass. The CLI identity uses weak credentials. | STAR Labs SG |
| ZDI-26-1118 | CVE-2026-133991 | 5.9 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Information disclosure in JSON schema validation error messages. | STAR Labs SG |
| ZDI-26-1117 | CVE-2026-133989 | 6.8 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
Information disclosure through server-side request forgery. JSON schema references in chat completion requests are fetched without validation. | STAR Labs SG |
The scores are ZDI's, read on 2026-11-29. The pages for ZDI-26-1117, ZDI-26-1118 and ZDI-26-1119 each say an attacker uses the flaw "in conjunction with other vulnerabilities". STAR Labs says its team "successfully chained 5 bugs including SSRF and Code Injection" against LM Studio on 2026-05-14. ZDI credits STAR Labs on four pages.
No page says which LM Studio setting or network position an attacker needs. Trend Micro's event write-up of 2026-06-10 says LM Studio "is usually local-first and doesn't get exposed to the internet much". This file rates the batch high for that reason and because the fix has shipped since June.
CVE Services returned CVE_RECORD_DNE for all five CVE ids on 2026-11-29. Scanners keyed on CVE records will not flag an old install yet.
The vendor's 0.4.16 changelog is dated June 8, 2026 and lists Build 2 and Build 1 under that one date. Its only security wording is the line "Security hardening" under Build 1. It names no flaw, no CVE and no researcher.
LM Studio has one earlier file here, CVE-2026-119979, fixed in 0.4.22 Build 1. An install updated for that id is already past 0.4.16.
Am I affected? #
Check the version the app reports. ZDI gives no affected range. Treat anything below 0.4.16 as affected.
The download page offered 0.4.29 on 2026-11-29.
If you are affected #
- Update LM Studio to the current release.
- If an install older than 0.4.16 was reachable by other machines, follow if-your-local-ai-agent-was-exploited.md. The ZDI pages report no exploitation outside the contest.
Prevention #
- Keep local model apps on the current release. The vendor's notes for this fix say only "Security hardening".
- See mcp-hygiene.md for connecting MCP servers you do not control.
Sources #
- ZDI-26-1121, ZDI-26-1120, ZDI-26-1119, ZDI-26-1118, ZDI-26-1117. Read 2026-11-29: titles, vectors, descriptions, fixed version, timeline, credits. Scores from the published index, which lists five LM Studio rows.
- LM Studio changelog 0.4.16. Read 2026-11-29: date and the "Security hardening" line.
- LM Studio download page. Read 2026-11-29: 0.4.29.
- STAR Labs, Pwn2Own Berlin 2026. Event dates and the five-bug chain sentence.
- Trend Micro, Pwn2Own GenAI write-up, 2026-06-10. The local-first sentence.
- CVE Services (
cveawg.mitre.org/api/cve/<id>). Queried 2026-11-29 for the five ids: no record. - No vendor advisory was found. The vendor's only text read is the changelog line.