Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-64110

CVE-2025-64110: Cursor Information Disclosure Vulnerability

CVE-2025-64110 is an information disclosure flaw in Anysphere Cursor that allows malicious agents to bypass cursorignore protections and access sensitive files. This article covers technical details, affected versions, and mitigation.

Published: April 21, 2026

CVE-2025-64110 Overview

CVE-2025-64110 is a security vulnerability in Cursor, a code editor built for programming with AI. In versions 1.7.23 and below, a logic bug allows a malicious agent to read sensitive files that should be protected via the cursorignore configuration mechanism. An attacker who has already achieved prompt injection, or a malicious model, could create a new cursorignore file which can invalidate the configuration of pre-existing ones. This could allow a malicious agent to read protected files, potentially exposing sensitive credentials, API keys, and proprietary source code.

Critical Impact

Malicious AI agents or attackers with prompt injection access can bypass file protection mechanisms to read sensitive files that should be restricted via cursorignore configuration.

Affected Products

  • Anysphere Cursor versions 1.7.23 and below
  • All platforms running vulnerable Cursor installations
  • Environments using cursorignore for file protection

Discovery Timeline

  • 2025-11-05 - CVE CVE-2025-64110 published to NVD
  • 2025-11-07 - Last updated in NVD database

Technical Details for CVE-2025-64110

Vulnerability Analysis

This vulnerability is classified under CWE-284 (Improper Access Control), indicating a fundamental flaw in how the Cursor application handles access control decisions for protected files. The logic bug resides in how Cursor processes multiple cursorignore configuration files within a project hierarchy.

The vulnerability enables a form of configuration hijacking where a newly created cursorignore file can override or invalidate existing protection rules. This is particularly dangerous in the context of AI-assisted coding environments, where the AI agent operates with elevated file system access permissions. When an attacker achieves prompt injection—a technique where malicious instructions are embedded in AI prompts—they can manipulate the AI agent to create strategically placed cursorignore files that neutralize existing protections.

The attack requires network access and can be exploited without user interaction. Once the configuration bypass is achieved, the attacker gains unauthorized read access to files that were explicitly protected, such as .env files containing secrets, private keys, configuration files with database credentials, or proprietary source code marked as confidential.

Root Cause

The root cause stems from improper access control logic in the cursorignore file processing mechanism. Specifically, the application fails to properly validate and prioritize multiple cursorignore configurations within a directory hierarchy. When a new cursorignore file is created, it can unexpectedly override the rules defined in parent or existing configuration files, rather than properly merging or respecting the most restrictive policies. This logic flaw allows an attacker to essentially "reset" the file protection rules by introducing a malicious configuration file.

Attack Vector

The attack vector is network-based and exploits the trust relationship between the user and the AI coding assistant. An attacker first needs to achieve prompt injection—either through crafted code comments, malicious repository content, or compromised model behavior. Once prompt injection is established, the attacker instructs the AI agent to:

  1. Create a new cursorignore file in a strategic location within the project
  2. The newly created configuration invalidates pre-existing protection rules
  3. The AI agent can now read previously protected sensitive files
  4. Sensitive data is exfiltrated through the AI's response mechanism

This attack chain leverages the inherent capabilities of AI coding assistants, which typically have broad file system access to provide helpful code suggestions and assistance.

Detection Methods for CVE-2025-64110

Indicators of Compromise

  • Unexpected creation or modification of cursorignore files in project directories
  • AI agent accessing files that should be protected by existing ignore rules
  • Unusual patterns of file read operations targeting sensitive configuration files
  • Evidence of prompt injection attempts in AI conversation logs

Detection Strategies

  • Monitor file system events for creation or modification of cursorignore files, especially in subdirectories
  • Implement audit logging for AI agent file access operations and compare against expected ignore rules
  • Review AI interaction logs for suspicious prompts that attempt to manipulate file access behavior
  • Deploy file integrity monitoring on critical configuration files including all cursorignore files

Monitoring Recommendations

  • Enable verbose logging for Cursor application file operations
  • Set up alerts for any modifications to cursorignore files across monitored repositories
  • Regularly audit AI agent access patterns to identify unauthorized file reads
  • Monitor for known prompt injection patterns in AI conversation inputs

How to Mitigate CVE-2025-64110

Immediate Actions Required

  • Upgrade Cursor to version 2.0 or later immediately
  • Audit all cursorignore files in active projects for unexpected modifications
  • Review recent AI interactions for signs of prompt injection or unauthorized file access
  • Consider temporarily restricting AI agent file system access until patched

Patch Information

Anysphere has released version 2.0 of Cursor which addresses this vulnerability. The fix corrects the logic bug in how cursorignore configuration files are processed, ensuring that protection rules cannot be invalidated by newly created configuration files. Users should update to version 2.0 or later through the standard Cursor update mechanism. For detailed information, refer to the GitHub Security Advisory.

Workarounds

  • If immediate upgrade is not possible, manually lock cursorignore file permissions to prevent AI agent modification
  • Implement additional file system access controls to protect sensitive files independent of Cursor's ignore mechanism
  • Consider using operating system-level access controls or encrypted file containers for highly sensitive data
  • Disable or restrict AI agent capabilities that allow file creation until the patch can be applied
bash
# Example: Protect cursorignore files from modification
chmod 444 .cursorignore
chattr +i .cursorignore  # Linux immutable attribute

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechAnysphere Cursor

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-284
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-54132: Cursor Code Editor Disclosure Vulnerability

  • CVE-2026-26268: Anysphere Cursor Sandbox Escape RCE Flaw

  • CVE-2025-64107: Anysphere Cursor RCE Vulnerability

  • CVE-2025-64106: Anysphere Cursor Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English