Skip to main content
Mallory
← Back to News

Cursor AI Code Editor Vulnerability Allows Silent Code Execution from Malicious Repositories

4 sources · Updated 5mo ago · First seen Sep 15, 2025

A default security setting in the Cursor AI code editor allows attackers to execute arbitrary code when a user opens a malicious repository. The Workspace Trust feature, which prevents such autorun behavior, is disabled by default in Cursor, unlike in VS Code. Researchers recommend enabling Workspace Trust or using alternative editors for untrusted code to mitigate this risk.

Do you run this?See affected versions and whether adversaries are exploiting it against assets like yours.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event · Sep 15, 2025
  1. Sep 15, 20251y ago

    Story first reported

    Initial story creation

Do you run this?See affected versions and whether adversaries are exploiting it against assets like yours.
Check your exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.