Skip to content
SSRF Advisory Intermediate CVE-2026-133989

(Pwn2Own) LM Studio JSON Schema Server-Side Request Forgery Information Disclosure Vulnerability

LM Studio did not properly validate URIs in JSON schema references within chat completion requests, allowing an attacker to make the server access arbitrary resources. This could let a remote, unauthenticated attacker disclose sensitive information in the context of the service account.

Billy Jheng Bing Jhong Follow

Originally disclosed on Zero Day Initiative

Medium 6.8 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of LM Studio. Authentication is not required to exploit this vulnerability.

Billy (@st424204), Pan Zhenpeng(@Peterpan980927), Weiming Shi (@bestswngs) of STARLabs SG (@starlabs_sg), on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the JSON schema resolver fetched any URI supplied in a chat completion request without validating the scheme or destination, enabling server-side request forgery.

Impact

An unauthenticated remote attacker could disclose sensitive information in the context of the service account, and the flaw could be chained with other vulnerabilities.

What the attacker needed

Network access to the LM Studio service; no authentication required

The fix

It was fixed in LM Studio 0.4.16.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

LM Studio runs AI chat models. Chat requests can include a JSON schema. The program did not properly check URIs in schema references before accessing resources, so an attacker could make it reach resources it should not and leak information.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More by Billy Jheng Bing Jhong

View all

3 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.