
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-49150 is an information leakage vulnerability in Cursor, an AI-powered code editor, caused by the json.schemaDownload.enable setting being enabled by default. Prior to version 0.51.0, this default configuration allows an attacker — particularly a malicious or compromised AI agent — to trigger arbitrary HTTP GET requests to attacker-controlled URLs without user confirmation, potentially exfiltrating sensitive data. The vulnerability was published on June 11, 2025, and affects all Cursor Desktop App versions before 0.51.0. It carries a CVSS v3.1 base score of 5.9 (Medium) (GitHub Advisory, Red Hat CVE).
The root cause is an insecure default configuration (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) where json.schemaDownload.enable is set to True by default in Cursor. When a JSON file references an external $schema URL, the editor automatically issues an HTTP GET request to that URL without prompting the user. Because the Cursor Agent has the ability to create and edit JSON files as part of its agentic workflow, a malicious agent — for example, one that has already been compromised via a prompt injection attack — can craft a JSON file with a $schema pointing to an attacker-controlled server, causing the editor to beacon out and potentially leak context data the agent has access to. Exploitation requires chaining this with a prior compromise of the agent (e.g., prompt injection), making the attack complexity high (GitHub Advisory).
Successful exploitation results in unauthorized outbound HTTP GET requests from the victim's Cursor instance to attacker-controlled infrastructure, enabling data exfiltration of information accessible to the Cursor Agent at the time of exploitation. The confidentiality impact is rated High, as the agent may have access to source code, environment variables, API keys, or other sensitive project data. Integrity and availability are not directly impacted by this vulnerability. Exploitation is constrained by the need to first compromise the agent (e.g., via prompt injection), limiting the immediate blast radius but making it a meaningful second-stage attack vector in AI-assisted development environments (GitHub Advisory).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-49150. The EPSS score is approximately 0.041%, reflecting a low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires chaining with a separate attack (e.g., prompt injection) to gain control of the Cursor Agent, which raises the practical bar for attackers. The vulnerability was credited to researcher MaccariTA and disclosed via GitHub's security advisory process (GitHub Advisory).
$schema field pointing to an attacker-controlled URL (e.g., { "$schema": "https://attacker.example.com/schema.json" }).json.schemaDownload.enable set to True (the default in versions prior to 0.51.0), it automatically issues an HTTP GET request to the attacker's URL without user confirmation.GET /schema.json or similar); DNS lookups for unfamiliar domains initiated by the Cursor process.$schema field pointing to external or unfamiliar URLs, especially if not authored by the developer.json.schemastore.org).Cursor has addressed this vulnerability in version 0.51.0 by disabling json.schemaDownload.enable by default. Users should upgrade to Cursor 0.51.0 or later immediately. As a workaround for users unable to upgrade, manually set json.schemaDownload.enable to False in Cursor's settings to prevent automatic schema downloads. Additionally, organizations should apply prompt injection mitigations and review AI agent permissions to limit the data accessible to the Cursor Agent (GitHub Advisory).
The vulnerability was part of a broader research effort dubbed "IDEsaster," which uncovered approximately 30 security flaws across AI coding tools including GitHub Copilot, Gemini CLI, and Claude, attracting significant media coverage (The Hacker News, CyberSecurityNews). Security researchers and bloggers highlighted the systemic risk of insecure defaults in AI-assisted development environments, with commentary noting that prompt injection combined with permissive agent capabilities creates a new class of supply chain and data exfiltration risks (maccarita.com, tigran.tech). Community sentiment emphasized the need for AI coding tools to adopt secure-by-default configurations and stronger sandboxing for agentic operations.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."