{
  "id": "CVE-2025-59944",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-59944",
  "published_at": "2025-10-03T20:15:30.678Z",
  "title": "Cursor IDE: Sensitive File Overwrite Bypass is Possible",
  "vendor": "cursor",
  "product": "cursor",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Cursor is a code editor built for programming with AI. Versions 1.6.23 and below contain case-sensitive checks in the way Cursor IDE protects its sensitive files (e.g., */.cursor/mcp.json), which allows attackers to modify the content of these files through prompt injection and achieve remote code execution. A prompt injection can lead to full RCE through modifying sensitive files on case-insensitive fileystems. This issue is fixed in version 1.7.",
  "cwe": "CWE-178",
  "cpes": [
    "cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "cursor",
        "product": "cursor",
        "ranges": [
          "\u003c 1.7"
        ],
        "fixed_in": [
          "1.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade cursor to 1.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/cursor/cursor/security/advisories/GHSA-xcwh-rrwj-gxc7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
