CVE-2025-49150CWE-200

Cursor Agent Potentially Leaks Information using JSON schema

Medium · published June 11, 2025

CVSS v3.1
5.9
EPSS
0%
Percentile
31.1
In the wild
Unconfirmed
What it is

Cursor is a code editor built for programming with AI. Prior to 0.51.0, 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. This vulnerability is fixed in 0.51.0.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00383 · 31.1th percentile
Weakness
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
Published
2025-06-11T17:49Z
EPSS history
Timeline
  • 11 JUN 17:49Z
    Cursor Agent Potentially Leaks Information using JSON schema
    cvelistv5