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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Cursor (Desktop App) Product | < 0.51.0 | 0.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| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Aug 12025 | Bypassing allow list to execute an arbitrary command | Medium6.4 | 1.3 |
| Aug 12025 | Arbitrary Image Fetch in Mermaid Diagram Tool | Medium4.4 | 1.3 |
| Aug 12025 | MCP Install Deeplink Did Not Show Arguments on User-Dialog | Medium | 1.3 |
| Aug 12025 | Modification of MCP Server Definitions Bypasses Manual Re-approval | High7.2 | 1.3 |
| Jun 192025 | IDOR in Usage API Leading to Unauthorized Data Exposure | Medium4.3 | 2025-06-17 |
| Jun 192025 | IDOR in Usage Events API Lets Users Access Teammates' Activity Data | Medium4.3 | 2025-06-17 |