{
  "id": "cursor-mcpoison-cve-2025-54136",
  "name": "Cursor MCPoison persistent MCP trust bypass (CVE-2025-54136)",
  "date_reported": "2025-08-05",
  "researcher": "Andrey Charikov, Roman Zaikin, Oded Vanunu",
  "org": "Check Point Research",
  "sources": [
    {
      "url": "https://research.checkpoint.com/2025/cursor-vulnerability-mcpoison/"
    },
    {
      "url": "https://www.tenable.com/blog/faq-cve-2025-54135-cve-2025-54136-vulnerabilities-in-cursor-curxecute-mcpoison"
    }
  ],
  "magicsword_coverage": [],
  "borderline": false,
  "borderline_note": null,
  "ai_role": "ai_agent_or_mcp_as_target",
  "ai_role_secondary": null,
  "ai_role_detail": null,
  "technique_summary": "Cursor one-time MCP approval bound to key name only. Attacker commits benign .cursor MCP, victim approves, later swaps command/args to reverse shell; re-executes on every project open/sync without new prompt. Fixed in Cursor 1.3 (any MCP change re-prompts).",
  "initial_access": "Write access to shared repo with .cursor MCP config",
  "ai_tooling_and_models": [
    "Cursor IDE",
    "MCP config"
  ],
  "other_tooling": [],
  "victims_and_sectors": "unknown",
  "regions": [
    "unknown"
  ],
  "attribution_or_cluster": "unknown",
  "scale_and_metrics": "Patched Cursor 1.3 (2025-07-29)",
  "prevention_angle": "Upgrade Cursor; treat .cursor/** as code; code owners on MCP configs",
  "related_magicsword_projects": [],
  "source_notes": null,
  "category": "attacks-on-ai",
  "ai_involvement_confidence": "confirmed",
  "last_reviewed": "2026-10-20",
  "attack_flow": {
    "nodes": [
      {
        "id": "step-1",
        "title": "Shared MCP configuration is approved",
        "description": "A benign-looking configuration is approved in a shared repository.",
        "kind": "access",
        "source_urls": [
          "https://research.checkpoint.com/2025/cursor-vulnerability-mcpoison/",
          "https://www.tenable.com/blog/faq-cve-2025-54135-cve-2025-54136-vulnerabilities-in-cursor-curxecute-mcpoison"
        ]
      },
      {
        "id": "step-2",
        "title": "Attacker replaces command arguments",
        "description": "Later changes keep the trusted key name but replace its command or arguments.",
        "kind": "execution",
        "source_urls": [
          "https://research.checkpoint.com/2025/cursor-vulnerability-mcpoison/",
          "https://www.tenable.com/blog/faq-cve-2025-54135-cve-2025-54136-vulnerabilities-in-cursor-curxecute-mcpoison"
        ]
      },
      {
        "id": "step-3",
        "title": "Cursor reuses the previous trust",
        "description": "The client does not request new approval for the changed configuration.",
        "kind": "ai",
        "source_urls": [
          "https://research.checkpoint.com/2025/cursor-vulnerability-mcpoison/",
          "https://www.tenable.com/blog/faq-cve-2025-54135-cve-2025-54136-vulnerabilities-in-cursor-curxecute-mcpoison"
        ]
      },
      {
        "id": "step-4",
        "title": "Command runs on project reopen",
        "description": "The replacement command executes on open or synchronization, enabling persistent code execution.",
        "kind": "impact",
        "source_urls": [
          "https://research.checkpoint.com/2025/cursor-vulnerability-mcpoison/",
          "https://www.tenable.com/blog/faq-cve-2025-54135-cve-2025-54136-vulnerabilities-in-cursor-curxecute-mcpoison"
        ]
      }
    ],
    "edges": [
      {
        "source": "step-1",
        "target": "step-2"
      },
      {
        "source": "step-2",
        "target": "step-3"
      },
      {
        "source": "step-3",
        "target": "step-4"
      }
    ]
  },
  "atlas_techniques": [
    {
      "id": "AML.T0081",
      "rationale": "A shared MCP configuration is changed after approval.",
      "source_urls": [
        "https://research.checkpoint.com/2025/cursor-vulnerability-mcpoison/",
        "https://www.tenable.com/blog/faq-cve-2025-54135-cve-2025-54136-vulnerabilities-in-cursor-curxecute-mcpoison"
      ]
    },
    {
      "id": "AML.T0109",
      "rationale": "An initially benign trusted configuration is replaced with malicious behavior.",
      "source_urls": [
        "https://research.checkpoint.com/2025/cursor-vulnerability-mcpoison/",
        "https://www.tenable.com/blog/faq-cve-2025-54135-cve-2025-54136-vulnerabilities-in-cursor-curxecute-mcpoison"
      ]
    }
  ]
}