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

  1. Update LM Studio to the current release.
  2. 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