• 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
Add as a preferred
source on Google
Home » Cybersecurity

Cursor’s Unpatched Zero-Day Lets Repos Run Malicious Code

Published on: July 15, 2026, 2:45 PM EDT
Sofia Ramirez
Senior Tech Writer • 666 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:
Signal Fixes Critical RingRTC Flaw That Could Keep Audio On After Hangup
OVHcloud CLI Backdoored to Steal Developer Secrets
Mesh Wi-Fi vs Wi-Fi Extender: When Each One Helps
Robert A. Lee
Senior Editor • 469 Articles
Robert A. Lee is a journalist at SQ Magazine who unpacks the fast-moving worlds of gaming and internet trends. He tracks everything from maj...
LATEST POSTS:
How to Make Software Training Videos Your Team Will Actually Watch
How to Run Retargeting Ads in 2026/27?
Influencer Marketing Platform Statistics 2026: Market and Spend
Cursor S Unpatched Zero Day Lets Repos Run 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

Security firm Mindgard publicly disclosed an unpatched Cursor vulnerability on July 14, 2026, after the flaw sat unfixed for seven months. A malicious git.exe planted in a repository executes automatically the moment a developer opens the project in Cursor on Windows.

Quick Summary – TLDR:

  • Mindgard disclosed the flaw after Cursor went more than six months and 197+ new versions without a fix, per Mindgard’s own timeline.
  • Cursor searches multiple locations for Git binaries, including the workspace itself, and runs any git.exe planted there automatically, per Mindgard’s technical writeup.
  • Mindgard’s proof of concept, a renamed Windows Calculator app, still triggered code execution on April 30, 2026, against Cursor version 3.2.16.
  • Cursor counts more than 7 million active users and over 1 million paying subscribers, per Mindgard.
  • Cursor has not issued a public statement.

Mindgard Goes Public on Cursor’s Unpatched Flaw

Mindgard, a security research firm, first identified the vulnerability on December 15, 2025, and reported it to Cursor the same day. More than six months and 197+ new Cursor versions later, the flaw still sat in the latest tested build, the company said. Cursor is one of the most popular AI-assisted development environments, with more than 7 million active users, according to SecurityWeek.

A developer only needs to open a repository in Cursor on Windows that contains a malicious git.exe in its root folder for the program to run automatically. There are no clicks, prompts, approval dialogs, or warnings.

Open a repository in @cursor_ai on #Windows and, if a file named git.exe is sitting in the project root, #Cursor runs it. No click, no approval dialog, no warning that anything in the folder is about to execute.

Whatever that binary does, it does as you, with your source, your… pic.twitter.com/U5fWWm4dNf

— Offensive Lab (@OffensiveLab) July 15, 2026

How the Git.exe Exploit Works?

When loading a project, Cursor searches multiple locations for Git binaries, and one of those locations is the workspace itself. If an attacker planted a malicious `git.exe` in the repository root, Cursor will execute it automatically as part of its path resolution logic without warning, approval, or even an indication that executable content from the repository is about to run.

Mindgard demonstrated the flaw by renaming the Windows Calculator application to git.exe and placing it in a repository’s root folder. Simply launching Cursor against that repository was enough to execute it, and the binary keeps re-executing on a cadence for as long as the project stays open, not just once at launch.

In a live attack, Calculator would be swapped for attacker-controlled code running with the same privileges as the person who opened the project.

Seven Months of Silence

Cursor’s chief information security officer invited Mindgard into the company’s HackerOne bug bounty program in January 2026, where the report was resubmitted and confirmed as reproducible. The company has not responded since. SecurityWeek separately emailed Cursor for a statement and says it will update its report if the company responds.

But coordinated disclosure only works when there is coordination. Seven months after initial disclosure, we have no indication that users are being protected, that remediation is underway, or that affected organizations have been informed. And at this point, withholding information no longer serves users, it serves silence. Mindgard wrote in its disclosure post.

Neither Mindgard’s writeup nor SecurityWeek’s report references a CVE identifier for the bug, a sign of how far this case has drifted from standard coordinated-disclosure practice.

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.

What Cursor Users Should Do Now?

On managed Windows fleets, Mindgard recommends AppLocker or Windows App Control policies that deny execution by file path rather than file hash, since an attacker-controlled git.exe can carry any hash. A rule scoped to a pattern such as %USERPROFILE%sourcerepos*filename.exe blocks execution from inside developer workspace folders. Windows has no built-in way to block a child process only when a specific parent launches it, so catching this pattern generally needs EDR (endpoint detection and response) tooling.

Individual developers should open untrusted repositories only inside an isolated VM, Windows Sandbox, or another disposable environment until Cursor ships a fix, and should not rely on file-hash blocklists, since a swapped binary’s hash changes with every attacker. These steps cut exposure rather than remove it, since only Cursor can close off git.exe resolution to the workspace folder for good.

SQ Magazine’s Takeaway

The bigger signal here is not the exploit itself but the seven-month gap between a fully reproducible report and any sign it mattered. Coding agents are increasingly trusted with direct access to repositories, terminals, and credentials, which raises the stakes of a slow triage pipeline well past a single missed patch.

When the process built to turn a bug report into a fix stalls for seven months on one of the simplest bugs a researcher can hand a vendor, the coordination gap becomes the real exposure, not just the git.exe path.

Watch whether Cursor ships a fix or even a public statement now that the flaw is out in the open. If HackerOne engagement resumes only after the public disclosure, that says as much about how AI coding vendors triage security reports at scale as the bug itself does. Security teams running Cursor on Windows should treat AppLocker path rules or sandboxed repositories as a standing control, not a stopgap, until Cursor confirms a fix and gives the bug a public tracking reference.

This article has been reviewed and fact-checked by Robert A. Lee. 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

References

  • Cursor 0day: When Full Disclosure Becomes the Only Protection Left (Mindgard, July 2026)
  • Unpatched Cursor Vulnerability Exposes Users to Code Execution (SecurityWeek, July 2026)
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

Critical Argument Injection Flaw Causes Ai Agent Hacking
Cybersecurity

Critical Argument Injection Flaw Lets Hackers Hijack AI Agents

Ghostcommit Attack Hides Prompt Injection Inside Images
Cybersecurity

GhostCommit Attack Hides Prompt Injection Inside Images

Github Fixes Copilot Prompt Injection Camoleak Vulnerability
Cybersecurity

GitHub Copilot’s Prompt Injection Flaw Sparks Security Concerns

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

Remote Code Execution Bug in Cursor AI Raises Major Security Concerns
Wiz Finds GhostApproval Flaw in 6 AI Coding Assistants
GitLab Flaw Under Active Attack Draws CISA Warning

Table of Contents

  • Quick Summary – TLDR:
  • Mindgard Goes Public on Cursor’s Unpatched Flaw
  • How the Git.exe Exploit Works?
  • Seven Months of Silence
  • What Cursor Users Should Do Now?
  • SQ Magazine’s Takeaway

Weekly stats quiz Week 43

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
Influencer Marketing Platform Statistics 2026: Market and Spend
Influencer Marketing Platform Statistics 2026: Market and Spend
Dailymotion Statistics Users Views and Market Share
Dailymotion Statistics 2026: Users, Views and Market Share
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
Technology
Linux Distro Market Share Statistics Most Popular Distributions
Linux Distro Market Share Statistics 2026: Most Popular Distributions
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
Artificial Intelligence
Cursor AI Statistics 2026: Users, Revenue and Developer Adoption
Cursor AI Statistics 2026: Users, Revenue and Developer Adoption
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
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 Supply Holders Price and Treasury Data
BONK Coin Statistics 2026: Supply, Holders, Price and Treasury Data
Categories
  • Artificial Intelligence
  • Cybersecurity
  • Technology
  • Internet
  • Cryptocurrency
Artificial Intelligence
Muse Spark Open Launched With Apple
Meta’s Muse Spark Open Lands With Fine Print and a China Gap
Nvidia Nemotron 3 5 Super Vl Featured 2
NVIDIA Launches Open Nemotron 3.5 Super VL AI Model
Gemini 4 Argon Official Launched For Everyone
Gemini 4 Argon Official Launched to Consumer, Enterprise and Developers
Openai Gpt 6 1 Sol Codex Degraded Performance Featured 1
OpenAI Reports Degraded Performance in GPT-6.1 Sol Codex
Meta Muse New Models Launched
Meta Launches Muse Wonder and Muse Wonder Full Agent Models
Google Launch Synthid Checker Tool
Google Opens SynthID Detector to Public for AI Media Checks
Cybersecurity
Php Critical Update Warning
PHP Readies Critical Security Update for Two 9.2 Flaws
Signal Call Ringrtc Flaw Fix
Signal Fixes Critical RingRTC Flaw That Could Keep Audio On After Hangup
Ovhcloud Cli Supply Chain Malware
OVHcloud CLI Backdoored to Steal Developer Secrets
Sbi Data Breach Claim Unverified
SBI Confirms Customer Data Loss After Dark Web Leak Claim
Rank Math Pro Plugin Malware Update
Rank Math SEO Pro Update Linked to Malware Incident
Burger King Japan Data Breach Confirmed
Burger King Japan Says Breach May Affect 11.18M Accounts
Technology
Apple Homepod Mini 2 Preorder Featured 1
Apple Launches HomePod Mini 2 with £149 and Opens Pre-Order
Amazon Tablet With Android Launched
Amazon Debuts Ultra-Thin Alexa Tablet 12 Pro at $499
Apple Autumn Launch Surprise
Apple Eyes Surprise Late-October Launch for New Macs
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
Internet
Microsoft 365 Family Sharing Storage Cuts
Microsoft 365 Family Faces Massive OneDrive Storage Cut
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
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.