• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Sq Magazine LogoSQ Magazine

Smarter Insights for a Fast-Moving Digital World

  • Latest News
  • Statistics
  • About
  • Contact
  • Subscribe
Subscribe
Sq Magazine Logo
  • Latest News
  • Statistics
  • About
  • Contact
  • Subscribe
Subscribe
Home » Cybersecurity

Remote Code Execution Bug in Cursor AI Raises Major Security Concerns

Published on: September 12, 2025, 4:13 AM EDT
Sofia Ramirez
Senior Tech Writer • 632 Articles
Sofia Ramirez is a technology and cybersecurity writer at SQ Magazine. With a keen eye on emerging threats and innovations, she helps reader...
LATEST POSTS:
GitLab Warns of Critical RCE Flaw in Self-Hosted AI Gateway
Microsoft X Hackers Push Unauthorized Clippy Crypto Token
Dell Patches Two CVSS 10 Container Storage Modules Flaws
Cursorai Flaw Lets Autorun Malicious Code
As Featured In
The New York Times LogoForbes LogoWired LogoDeloitte LogoResearch.com Logo
Share on LinkedIn ChatGPT Perplexity Share on X Share on Facebook

A critical security flaw in the Cursor AI code editor lets attackers run malicious code the moment a developer opens a project folder.

Quick Summary – TLDR:

  • Cursor ships with Workspace Trust disabled, making it vulnerable to remote code execution (RCE).
  • Attackers can inject a malicious file that runs code without user consent.
  • Sensitive developer data like API keys and cloud credentials are at risk.
  • Security experts urge users to enable trust prompts and harden their environments immediately.

What Happened?

Security researchers at Oasis Security discovered a serious vulnerability in the AI-powered Cursor code editor that enables remote code execution. The flaw allows attackers to silently execute malicious tasks as soon as a developer opens a folder, thanks to unsafe default settings in the app.

Unlike Visual Studio Code, which requires user approval for untrusted code, Cursor’s default behavior executes tasks automatically, exposing developers and their systems to stealthy attacks.

Did you know a disabled default setting in AI editor Cursor could let hackers execute arbitrary code, risking total breach? Stay informed and protect your systems! Read expert insights from Heath Renfrow here: https://t.co/peM3h5zGEF #artificialintelligence

— Fenix24 (@Fenix24_dr) September 11, 2025

Silent Execution Risk from a Simple Click

Cursor, widely adopted for its AI-assisted coding capabilities, comes with Workspace Trust turned off by default. This means that the IDE will execute pre-defined tasks from a project folder without any user warning. All it takes is a malicious .vscode/tasks.json file with a runOn: “folderOpen” setting.

Once triggered, these tasks can:

  • Steal credentials and local secrets like API keys or access tokens
  • Exfiltrate files and environment variables
  • Open remote connections for further access or control

Oasis researchers demonstrated a working proof of concept showing how this flaw could be abused to hijack not just a developer’s laptop, but potentially entire CI/CD pipelines and cloud infrastructures connected to it.

Experts Call It a Wake-Up Call

“This vulnerability effectively turns a simple ‘open folder’ action into a potential full compromise of a developer’s machine,” said Heath Renfrow, CISO at Fenix24.

Randolph Barr, CISO of Cequence Security, noted a recurring pattern. “When products hit hypergrowth adoption, ‘secure by default’ often gets sacrificed for speed,” he said.

The flaw bears resemblance to older vulnerabilities like ‘autorun.inf’ on removable drives. According to Trey Ford, chief strategy and trust officer at Bugcrowd, “Having a simple way to directly compromise these systems is an embarrassment.”

The risks go beyond the developer’s device:

  • Compromised machines may provide access to service accounts with broad permissions
  • Attackers can move laterally into cloud platforms and automated deployment pipelines
  • Sensitive business data, proprietary code, and infrastructure credentials could all be exposed
Newsletter
Don’t chase tech news. We track it for you.

One weekly briefing with the launches, AI developments, and breaches that matter. No filler.

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.

Cursor’s Response and Security Recommendations

Cursor has acknowledged the vulnerability but has not yet issued a patch. Instead, it advised users to manually enable Workspace Trust and promised to release updated security guidance soon.

Oasis Security and other experts have offered the following immediate mitigation steps:

  • Enable Workspace Trust and require explicit startup prompts
  • Set “task.allowAutomaticTasks“: “off” in settings
  • Review all incoming repositories for .vscode/tasks.json with runOn: “folderOpen“
  • Use viewer-only editors or disposable containers when opening untrusted code
  • Monitor systems for unexpected shell commands or network activity immediately after opening new folders

Security professionals warn that Cursor is becoming a prime target for supply chain attacks, as seen earlier this year in incidents like CurXecute and MCPoison.

SQ Magazine’s Takeaway

Honestly, I’m not surprised by this one. Cursor is fast becoming a favorite tool for developers, but its lack of secure defaults is now catching up with it. That’s why the competitors like Replit and Windsurf are catching the market. When you make something super easy to use, you can’t afford to skip the security guardrails. Workspace Trust should be on by default. This flaw is a reminder that convenience without caution is dangerous, especially when developer tools touch every corner of a company’s infrastructure. If you use Cursor, fix your settings now.

SQ Magazine follows strict Publishing Principles and a documented Fact-Check Policy to ensure accuracy, transparency, and editorial independence across all content.

Add SQ Magazine as a Preferred Source on Google for updates! Follow on Google News
Share ChatGPT Perplexity
Sofia Ramirez

Sofia Ramirez

Senior Tech Writer


Sofia Ramirez is a technology and cybersecurity writer at SQ Magazine. With a keen eye on emerging threats and innovations, she helps readers stay informed and secure in today’s fast-changing tech landscape. Passionate about making cybersecurity accessible, Sofia blends research-driven analysis with straightforward explanations; so whether you’re a tech professional or a curious reader, her work ensures you’re always one step ahead in the digital world.

Related Posts

Github Fixes Copilot Prompt Injection Camoleak Vulnerability
Cybersecurity

GitHub Copilot’s Prompt Injection Flaw Sparks Security Concerns

40 000 Openclaw Ai Bots Exposed By Misconfigurations
Cybersecurity

40,000+ OpenClaw AI Bots Exposed by Misconfigurations

Openai Fixes Chatgpt Leak And Codex Vulnerabilties
Cybersecurity

OpenAI Fixes Major ChatGPT Data Leak and Codex Security Flaws

Disclaimer: The content published on SQ Magazine is for informational and educational purposes only. Please verify details independently before making any important decisions based on our content.

Reader Interactions

Leave a Comment Cancel reply

Primary Sidebar

Connect With Us

facebook x linkedin google-news telegram pinterest whatsapp email
google-preferred-source-badge Add as a preferred source on Google

You Should Also Read

Cursor AI Flaw Lets Hackers Steal API Keys and Run Code Silently
Cursor’s Unpatched Zero-Day Lets Repos Run Malicious Code
Critical Argument Injection Flaw Lets Hackers Hijack AI Agents

Table of Contents

  • Quick Summary – TLDR:
  • What Happened?
  • Silent Execution Risk from a Simple Click
  • Experts Call It a Wake-Up Call
  • Cursor’s Response and Security Recommendations
  • SQ Magazine’s Takeaway

Weekly stats quiz Week 40

How much of a tech geek are you?

5 fast questions from this week's verified industry data. About a minute.

Play the quiz New every Monday

Footer

SQ Magazine Logo

Smarter Insights for a Fast-Moving Digital World

Connect With Us

Follow Us on Google News

Editorial & Trust

  • About
  • Publishing Principles
  • Fact-Check Policy
  • Corrections Policy
  • Ethics Policy
  • Disclaimer
  • Cookie Policy

Worth Checking

  • The Tech Index
  • The Threat Index
  • Social Media Attention Span Stats
  • Instagram Followers Stats
  • Google Usage Stats
  • LLM Hallucination Stats
  • Gen Z Social Media Stats
Contact Us
13570 Grove Dr #189,
Maple Grove, MN 55311,
United States
10 a.m. to 6 p.m. | Every day

Copyright © 2022–2026 SQ Magazine. All Rights Reserved. Powered by the Neural Stack.

  • Privacy Policy
  • Terms
  • Accessibility Statement
Company
  • About Us
  • Our Team
  • Our Mission
  • Core Values
Discover
  • Brand Assets
    Brand Assets
  • Stats Methodology
    Stats Research Process
  • Glossary
    Glossary
Categories
  • Internet
  • Technology
  • Artificial Intelligence
  • Gaming
  • Cryptocurrency
Internet
Average Attention Span Statistics The Cross-Domain Numbers
Average Attention Span Statistics 2026: The Cross-Domain Numbers
How Many Videos Are on YouTube Statistics
How Many Videos Are on YouTube Statistics 2026: Key Data
How Many People Work at WhatsApp
How Many People Work at WhatsApp 2026: Employee Count and History
Spotify Listening Statistics
Spotify Listening Statistics 2026: Average Listening Time
How Many Subscribers Does MrBeast Have
How Many Subscribers Does MrBeast Have in 2026? Channel Growth Statistics
WhatsApp Business Statistics
WhatsApp Business Statistics 2026: Real Market Insights
Technology
Average US Salary Statistics Median Income by Age and State
Average US Salary Statistics 2026: Median Income by Age and State
Aptoide Statistics 2026: Downloads, Users and App Store Share
Aptoide Statistics 2026: Downloads, Users and App Store Share
AppsFlyer Statistics Customers Revenue and Market Position
AppsFlyer Statistics 2026: Customers, Revenue and Market Position
How Many iPhones Has Apple Sold
How Many iPhones Has Apple Sold in 2026? Units Sold by Year
How Many Employees Does Amazon Have
How Many Employees Does Amazon Have 2026: Workforce Growth
Netflix vs. Hulu Statistics
Netflix vs Hulu Statistics 2026: Viewer Growth Data
Artificial Intelligence
AI Search Engine Statistics Usage Market Share and Adoption
AI Search Engine Statistics 2026: Usage, Market Share and Adoption
AI Music Statistics
AI Music Statistics 2026: Generation, Adoption and Industry Impact
AI Coding Statistics
AI Coding Statistics 2026: Adoption, Productivity and Market Data
How Much Content on Social Media Is AI Generated Statistics
How Much Content on Social Media Is AI Generated Statistics 2026: Hidden Truths
ChatGPT vs DeepSeek Statistics
ChatGPT vs DeepSeek Statistics 2026: Users, Benchmarks & Pricing
ChatGPT vs Claude vs Gemini vs Perplexity Statistics
ChatGPT vs Claude vs Gemini vs Perplexity Statistics 2026: Users, Revenue & Market Share
Gaming
Clash Royale Statistics Revenue Players and Engagement
Clash Royale Statistics 2026: Revenue, Players and Engagement
Gaming Statistics
Gaming Statistics 2026: Market Size, Players, Revenue, and Platforms
Roblox vs Minecraft Statistics
Roblox vs Minecraft Statistics 2026: Players, Revenue, Creators
Online Gambling Regulations Statistics
Online Gambling Regulations Statistics 2026: Global Compliance and Enforcement Data
Fantasy Sports Statistics
Fantasy Sports Statistics 2026: Users, Revenue & Trends
Apex Legends Statistics 2026: Players, Revenue, and Esports
Apex Legends Statistics 2026: Players, Revenue, and Esports
Cryptocurrency
How Many Bitcoins Are There
How Many Bitcoins Are There in 2026? Supply, Mined and Remaining Statistics
Stablecoin Usage Statistics
Stablecoin Usage Statistics 2026: Explosive Growth
Cryptocurrency Adoption Statistics
Cryptocurrency Adoption Statistics 2026: Shocking Trends Now
Coinbase Wallet Statistics
Coinbase Wallet Statistics 2026: Users, Security
Dogecoin Statistics 2026: Circulating Supply, Inflation Rate and ETFs
Dogecoin Statistics 2026: Circulating Supply, Inflation Rate and ETFs
BONK Coin Statistics
BONK Coin Statistics 2026: Risk, Reward, and ROI
Categories
  • Artificial Intelligence
  • Cybersecurity
  • Technology
  • Internet
  • Cryptocurrency
Artificial Intelligence
Amazon Strands Deciders 2b Ai Model Jev Killer
Amazon’s Strands Decider 2B Model Targets Faster AI Agents
Gemini 4 Argon Launch
Gemini 4 Argon Launched by Google With Cybersecurity Features
Meta Dispute Muse Private Message Read Claim
Meta Disputes Claim Muse AI Read Private Messages
Openai Dots Gpt 6 1 Sol Launched
OpenAI Launches Dots Agents and GPT-6.1 Sol at DevDay 2026
Claude Down Signin Issues
Claude Down: Anthropic Outage Disrupts Chats, Code and Sign-Ins
Openai Drops Gpt 6 1 Astra Launch
GPT-6.1 Astra Release Halted After Alarming Test Results
Cybersecurity
Gitlab Cybersecurity Patch Alert
GitLab Warns of Critical RCE Flaw in Self-Hosted AI Gateway
Microsoft X Account Hacked Clippy Crypto
Microsoft X Hackers Push Unauthorized Clippy Crypto Token
Dell Cybersecurity Infrastructure Alert
Dell Patches Two CVSS 10 Container Storage Modules Flaws
Europol Cybercrime Takedown
Europol Targets KillSec in Massive Ransomware Operation
Bee Chiang Hiang Data Breach
Bee Cheng Hiang Hit by Singapore’s First AI-Related Breach
Microsoft Entra Id Will Block Injected Scripts
Microsoft Entra ID Will Block Injected Scripts at Sign-In
Technology
Microsoft Windows Deployment Service Deprecation
Microsoft Will Deprecate Windows Deployment Services After Server 2025
Youtube Custom Feeds With Gemini Ai
YouTube’s AI Feed Builder Changes Video Discovery
Iphone 18 Pro Face Id Bug Reboot Crash
New iPhone 18 Pro Bug Makes Face ID Crash and Reboot
Googlebook With Gemini Ai Launched
Googlebook’s Bold Laptop Launch Starts at $899 in the US
New Samsung Patent Reveals Galaxy Watch Glucose Tracking
New Samsung Patent Reveals Galaxy Watch Glucose Tracking
Microsoft Kb5002914 Breaks Excel Copypaste
Microsoft Confirms KB5002914 Breaks Excel Copy and Paste
Internet
Meta Launched Meta One Subscription
Meta One Bundles Instagram, Facebook, WhatsApp Into One AI Subscription
Apple Wallet Ids Launch In Oklahoma
Apple Wallet IDs Launch in Oklahoma in Major Expansion
Meta to Pay 18 Billion in Landmark Teen Safety Deal
Meta to Pay $18 Billion in Landmark Teen Safety Deal
Whatsapp Brings Passkeys 2fa
WhatsApp Hits 1 Billion Passkey Users, Adds 2FA Passwords
Apple Eu App Store Fee Reduction
Apple Sets New EU App Store Fees, Effective October 1
Github Outage Aug 2026
GitHub Down: Outage Hits Thousands of Users Worldwide
Cryptocurrency
Sonic Labs Launch Ussd Stablecoin
Sonic Launches USSD Stablecoin Backed by US Treasuries
Bhutan Moves 12m In Bitcoins
Bhutan Moves $12 Million in Bitcoin from Primary Wallets
Curve Finance Accuses Pancakeswap For Code Stealing
Curve Accuses PancakeSwap of Copying StableSwap Code
Strike Receives Bitlicense In New York
Strike Gets New York BitLicense for Bitcoin Financial Services
Scotiabank Multi Crypto Etf 3iqlogos
Scotiabank Launches Multi Crypto ETF With 3iQ in Canada
Nyse Parent Invests In Okx Crypto Exchange
ICE Invests in OKX to Bridge Crypto and Traditional Finance
Newsletter

Too much tech noise?

We respect your time. One high-signal briefing a week: tech, AI, and security. Nothing else.

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.
Newsletter

The SQ Briefing

We track tech, AI, and security 24/7. You get a 5-minute weekly summary.

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.