Last seen September 12, 2025

AI Remote Code Execution Vulnerability

A security flaw in the Cursor AI code editor, a Visual Studio Code fork, allows for silent arbitrary code execution when a maliciously crafted repository is opened. This vulnerability stems from "Workspace Trust" being disabled by default, enabling tasks configured in `.vscode/tasks.json` to auto-execute and posing a significant supply chain risk.

Technical Severity
Low severity
Lifecycle Status

STABLE

What Happened

A security flaw in the Cursor AI code editor, a Visual Studio Code fork, allows for silent arbitrary code execution when a maliciously crafted repository is opened. This vulnerability stems from "Workspace Trust" being disabled by default, enabling tasks configured in `.vscode/tasks.json` to auto-execute and posing a significant supply chain risk.

Why This Matters

The evidence matters to defenders using the affected technology because it could let an attacker run code in affected environments.

Recommended Action

Confirm whether Malicious Repositories is present in your environment and review vendor guidance for this report. Apply available patches or mitigations if your deployment matches the described conditions.

Exposure

My Interests Exposure

Exposure unknown

Recommended Response
Last Seen

Sep 12, 2025 05:30

Exposure reason: This incident does not currently match a technology in My Interests.

Exploitation status: UNKNOWN

Primary entities:

Cursor AI code editorRemote Code ExecutionSupply ChainCursor AI CodeEditor Flaw EnablesMalicious Repositories

Timeline

  • Incident first seen
    Sep 12, 2025 05:30

    BugSkan first recorded this incident.

  • Cursor AI Code Editor Flaw Enables Silent Code Execution via Malicious Repositories - The Hacker News
    Sep 12, 2025 05:30

    thehackernews.com · Vulnerability

Sources

Cursor AI Code Editor Flaw Enables Silent Code Execution via Malicious Repositories - The Hacker News

thehackernews.com · Sep 12, 2025 05:30

A security flaw in the Cursor AI code editor, a Visual Studio Code fork, allows for silent arbitrary code execution when a maliciously crafted repository is opened. This vulnerability stems from "Workspace Trust" being disabled by default, enabling tasks configured in `.vscode/tasks.json` to auto-execute and posing a significant supply chain risk.

Open publisher source

Other BugSkan incidents that share identifiers, products, or vendors with this report.

My Interests Match

Want personalized relevance?

Create an account to see which incidents overlap with your interests.

← Back to incident intelligence