{
  "id": "CVE-2025-54136",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-54136",
  "published_at": "2025-08-01T23:08:21.817Z",
  "title": "Cursor's Modification of MCP Server Definitions Bypasses Manual Re-approvals",
  "vendor": "cursor",
  "product": "cursor",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-03T12:05:40Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 213.5,
    "repo": "felixbillieres/MCP-POC",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Cursor is a code editor built for programming with AI. In versions 1.2.4 and below, attackers can achieve remote and persistent code execution by modifying an already trusted MCP configuration file inside a shared GitHub repository or editing the file locally on the target's machine. Once a collaborator accepts a harmless MCP, the attacker can silently swap it for a malicious command (e.g., calc.exe) without triggering any warning or re-prompt. If an attacker has write permissions on a user's active branches of a source repository that contains existing MCP servers the user has previously approved, or allows an attacker has arbitrary file-write locally, the attacker can achieve arbitrary code execution. This is fixed in version 1.3.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.2,
    "nvd": 8.8
  },
  "repos": [
    {
      "repo": "PRE5T0/CVE-2025-54136",
      "url": "https://github.com/PRE5T0/CVE-2025-54136",
      "created_at": "2026-01-15T01:37:19Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-01-28T23:55:26Z"
    },
    {
      "repo": "felixbillieres/MCP-POC",
      "url": "https://github.com/felixbillieres/MCP-POC",
      "created_at": "2026-03-03T12:05:40Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-11-20T08:55:20Z"
    },
    {
      "repo": "Sushank05/mcp-doorman",
      "url": "https://github.com/Sushank05/mcp-doorman",
      "created_at": "2026-07-08T09:19:33Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-06-14T08:26:25Z"
    },
    {
      "repo": "GeeksikhSecurity/ai-tool-poisoning-guard",
      "url": "https://github.com/GeeksikhSecurity/ai-tool-poisoning-guard",
      "created_at": "2026-09-07T02:06:55Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2018-03-03T18:32:08Z"
    },
    {
      "repo": "glebgorelikov-droid/agentgate",
      "url": "https://github.com/glebgorelikov-droid/agentgate",
      "created_at": "2026-11-10T17:33:54Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-09-08T12:25:48Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "cursor",
        "product": "cursor",
        "ranges": [
          "\u003c 1.3"
        ],
        "fixed_in": [
          "1.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade cursor to 1.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/cursor/cursor/security/advisories/GHSA-24mc-g4xr-4395"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
