world

LM Studio ZDI Advisories Detail CVSS 9.8 Unauthenticated MCP Schema RCE

ZDI published five Pwn2Own bugs in LM Studio, led by CVE-2026-133995 (CVSS 9.8) via MCP schemas. Quietly patched in 0.4.16; update to 0.4.22+1 or newer.

LM Studio ZDI Advisories Detail CVSS 9.8 Unauthenticated MCP Schema RCE

The Zero Day Initiative (ZDI) published five Pwn2Own Berlin advisories on November 24, 2026 against LM Studio, led by CVE-2026-133995 (ZDI-26-1121, CVSS 9.8)—an unauthenticated code execution flaw triggered when the app dynamically constructs code from untrusted MCP tool schemas without validation. Although LM Studio shipped a silent fix in version 0.4.16 back on June 4 under a generic "Security hardening" note, users had no CVE warning for 173 days, and safe deployments actually require 0.4.22+1 or later due to a separate downloader flaw.

Five Pwn2Own Bugs and How They Chain Together

OtterSec researchers discovered the 9.8 MCP schema RCE, while STARLabs SG researchers reported four companion flaws: CVE-2026-133994 (CVSS 9.1, plugin sandbox path traversal leading to arbitrary file writes and code execution), CVE-2026-133992 (CVSS 8.1, unauthenticated CLI identity auth bypass), CVE-2026-133989 (CVSS 6.8, SSRF via JSON schema references in chat completions), and CVE-2026-133991 (CVSS 5.9, schema validation error data leak). ZDI explicitly notes that the CLI bypass and information leaks are designed to chain with other primitives.

Why "Local" AI Servers Are Exposed on Office Networks

A laptop running LM Studio with its API server disabled is not the primary target. The real exposure hits engineering teams running LM Studio as a shared local model server in an office or headless workstation. Two default-adjacent settings determine blast radius: "Require Authentication" is off by default, and enabling "Serve on Local Network" binds port 1234 across 0.0.0.0, exposing it to every device on the LAN. Any attacker on the network could execute code under the host user's account—often holding SSH keys, source code, and cloud tokens.

Second-Order Effects: Silent Changelogs and Wrapper Risk

Because LM Studio's June 4 release notes omitted CVE identifiers and severity, slow-updating teams skipped 0.4.16 for nearly six months. Moreover, a separate October path traversal in the model downloader (CVE-2026-119979) was only fixed in 0.4.22+1, meaning 0.4.16 alone is insufficient. This mirrors the broader local-AI pattern highlighted alongside today's llama.cpp and PyTorch advisories: local tools are adding MCP and network servers faster than their security defaults and disclosure practices mature.

What Administrators Should Check Today

  • Upgrade path: Verify lms version or the About dialog and move straight to the latest release (0.4.22+1 or newer).
  • Network hardening: Disable "Serve on Local Network", enable "Require Authentication" with scoped tokens, and audit port 1234 (ss -ltnp | grep 1234 on Linux, lsof -iTCP:1234 on macOS, netstat -ano | findstr :1234 on Windows) so it binds only to 127.0.0.1.
  • Incident check: On any pre-June shared host with LAN serving enabled, audit plugins, startup items, and rotate accessible credentials.

// sources

// WebZona Studio products

Need a product or service that does not exist yet?

Pitch your idea in our "50 Hours" program — every month we build one community idea free for everyone. Or explore our released products.

// comments (0)

// no comments yet.