AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

CursorGHSA-9h3v-h59j-v6rj

Potential Information Leakage using JSON schema in Cursor Agent

Cursor

CVE-2025-49150 · Published Jun 11, 2025

Medium5.9
Fix: upgrade to 0.51.0 or later
GitHub advisory

Summary

By default, the setting json.schemaDownload.enable was set to True. This means that by writing a JSON file, an attacker can trigger an arbitrary HTTP GET request that does not require user confirmation.

Since the Cursor Agent can edit JSON files, this means a malicious agent, for example, after a prompt injection attack already succeeded, could trigger a GET request to an attacker controlled URL, potentially exfiltrating other data the agent may have access to.

Impact

The impact of this vulnerability is moderate. In order to exploit this, an attacker would need to take full control of the agent, which would require stacking this upon a second exploit, such as a prompt injection attack.

Remediation

Disable json.schemaDownload.enable by default in Cursor.

Affected versions

PackageAffectedFixed in
Cursor (Desktop App)
Product
< 0.51.00.51.0
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Severity from
GitHub (reviewed advisory)

More Cursor advisories

All Cursor