Skip to content
CursorGHSA-9h3v-h59j-v6rj

Potential Information Leakage using JSON schema in Cursor Agent

Medium5.9CVE-2025-49150 · Published Jun 11, 2025

### 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.

GitHub advisory

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
Advisory
Bypassing allow list to execute an arbitrary command
Medium6.4Aug 1, 2025
Arbitrary Image Fetch in Mermaid Diagram Tool
Medium4.4Aug 1, 2025
MCP Install Deeplink Did Not Show Arguments on User-Dialog
MediumAug 1, 2025
Modification of MCP Server Definitions Bypasses Manual Re-approval
High7.2Aug 1, 2025
IDOR in Usage API Leading to Unauthorized Data Exposure
Medium4.3Jun 19, 2025
IDOR in Usage Events API Lets Users Access Teammates' Activity Data
Medium4.3Jun 19, 2025

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.