Quick answer: Yes, with conditions. Cursor is reasonably safe to use if you keep it updated, turn Privacy Mode on, pick its run mode with care, and install add-ons only from sources you trust. Each of the 32 Cursor CVEs we found has a fix or an end version on record. Cursor disclosed a security incident on October 29, 2026.
Cursor is an AI code editor with published security pages, outside certifications and a public record of fixed flaws. It also reads your code, sends parts of it to AI models and can run commands on your computer. So the honest answer is yes, on conditions you control.
This guide covers your code, the agent, the security record, the October 2026 incident and the settings to check. We have not tested, scanned or audited Cursor. Everything here comes from Cursor's own pages, public vulnerability records and researchers' own write-ups, read on November 25, 2026. If the words are new, start here:
- What is vibe coding?
- Is my vibe-coded app safe?
- AI coding agent safety, the field guide
Is Cursor safe?
Yes, with conditions. For building apps and everyday coding it is reasonably safe if four hold: Cursor is up to date, Privacy Mode is on, the agent's run mode matches how much you trust what it reads, and your add-ons come from publishers you trust.
"Safe" here is three separate questions with different answers:
- What happens to your code and prompts? Cursor sends them to AI model providers. Privacy Mode decides whether they can be stored or used for training. It does not cover everything Cursor holds about you, as the incident below shows.
- What can the agent do on your computer? It can edit files and run commands. Run modes, a sandbox and approvals limit that, and Cursor itself says they are not a guarantee.
- Is the code it writes secure? Not automatically. That is a question about your app, not the editor, and it needs its own check.
What Cursor does well: it publishes its security practices, holds outside certifications, runs agent commands in a sandbox where it can, and its public record shows a fix or an end version for each flaw we found, some within days of the report. What went less well is on the record too: an incident disclosed in October 2026, and at least one report that went months without an update.
What happens to your code when you use Cursor?
Your prompts and the code around them leave your machine. Cursor's privacy help page says so plainly: "Cursor sends prompts and code context to model providers like OpenAI, Anthropic, and Google." What happens next depends mostly on one switch, Privacy Mode.
| Setting or situation | What Cursor says |
|---|---|
| Privacy Mode on | "Customer Data will not be used for training by Cursor. Cursor maintains zero data retention (ZDR) agreements with all providers, and AI model providers will not store or train on your data." (data use page, last updated September 3, 2026) |
| Privacy Mode off | "we may use and store codebase data, prompts, editor actions, code snippets, and other code data and actions to improve our AI features and train our models." (data use page) |
| Privacy Mode (Legacy) | "Legacy privacy mode blocks cloud data storage" and "is not supported" for Cloud Agents (Cloud Agent network docs) |
| Your own API key | "ZDR doesn't apply when you use your own API keys." (privacy help page) |
| Cloud Agents | "Cloud Agents are the only feature that requires Cursor to store code." (enterprise privacy docs) |
Three details are easy to miss:
- Privacy Mode has an exception for abuse checks. The data use page says "if your prompts or conversations trigger abuse detectors your data may be stored for investigation".
- Some models are excluded. Of models outside its ZDR agreements, Cursor's privacy help page says "These models are off by default and require admin approval before use."
- Cursor's page describes the default two ways. The privacy help page says "For teams, Privacy Mode is enabled by default for all team members." Lower down it says "Privacy Mode is on by default for Enterprise teams." We could not confirm what a new individual account starts with, so open the setting and look.
Does Cursor train on your code?
Not with Privacy Mode on, by Cursor's own statement. With it off, Cursor's pages read differently from each other. Its Terms of Service (last updated September 3, 2026) say "ANYSPHERE WILL NOT USE CONTENT TO TRAIN, OR ALLOW ANY THIRD PARTY TO TRAIN, ANY AI MODELS, UNLESS YOU’VE EXPLICITLY AGREED TO THE USE OF CONTENT FOR TRAINING." The data use page says that with Privacy Mode off Cursor "may use and store" code to "train our models". We won't guess how the two fit together. If you don't want your code used for training, turn Privacy Mode on.
Is your codebase uploaded for indexing, and does .cursorignore protect files?
Not for search, per Cursor's current docs, and .cursorignore protects files only partly.
- Search. The search tool page says "Cursor does not upload file paths or code to build a search index, and it does not store embeddings of your codebase for search." It adds: "When Agent opens a match, that file content can still be included in the model request."
- What is ignored already. "Cursor already ignores
.envfiles,.git/, and lock files by default," says the ignore files help page. - The limits. The ignore file reference says "While Cursor blocks ignored files, complete protection isn't guaranteed due to LLM unpredictability." and "The terminal and MCP server tools used by Agent cannot block access to code governed by
.cursorignore". - Subprocessors. Cursor's security page says "Our list of subprocessors is published on our trust portal." We could not read that portal, so we can't list them.
If a key has already escaped, see our guide to leaked API keys in AI-built apps.
Is Cursor certified, and what do the certifications cover?
Yes. Cursor's security page, last updated August 25, 2026, says "Cursor holds AIUC-1, ISO/IEC 27001:2022, and ISO/IEC 42001:2023 certifications, along with a SOC 2 Type II attestation. Certificates and reports are available on request at trust.cursor.com."
| What Cursor lists | What it is | What we could confirm |
|---|---|---|
| SOC 2 Type II | An outside auditor's attestation about a company's controls over a period | Listed. The page gives no audit period, date or auditor |
| ISO/IEC 27001:2022 and ISO/IEC 42001:2023 | Standards for managing information security and AI systems | Listed |
| AIUC-1 | A standard for AI agents | Cursor's post of August 13, 2026 says the audit was "by Schellman" and "Maintaining certification requires Cursor to be tested at least quarterly, with a full audit each year." |
What a certification does not tell you:
- It is about the company, not your setup: your run mode, your extensions, your keys.
- It is not a promise of no incidents. The page listing these is dated August 25, 2026; Cursor disclosed the incident below on October 29, 2026.
- It says nothing about the code Cursor writes for you.
What can Cursor's agent do on your computer?
It can read and edit files, run terminal commands, browse and call outside tools, within limits you set. Cursor's agent security docs give the reason for limits: "AI can behave unexpectedly due to prompt injection, hallucinations, and other issues."
Prompt injection is the idea to hold on to: text the agent reads can contain instructions, and the agent may follow them. Our guide to what an agent harness is explains the layer around a model that holds its tools and permissions.
What are Cursor's run modes, and what changed in May 2026?
Run modes decide when the agent must stop and ask. Cursor's Run Modes page puts them under "Settings > Agents > Approvals & Execution":
| Mode | In Cursor's words |
|---|---|
| Auto-review | "Allowlisted calls run immediately. Other shell commands run in the sandbox when possible. Calls that do not use the sandbox go to the Auto-review classifier." |
| Allowlist | "Actions in your allowlist run without approval." |
| Run Everything | "Every tool call runs automatically." |
Cursor's advice is "The safest useful setup for most people is Auto-review." Its caution is a heading on the same page: "Auto-review is not a security boundary".
In May 2026 the mode where every command waits for your yes was retired for new users. The page's own changelog:
- "3.5 May 22, 2026 Ask Every Time was deprecated. New users cannot choose it. Use Allowlist with an empty allowlist for the same behavior."
- "3.6 May 29, 2026 Auto-review shipped as the recommended default."
Cursor's pages don't fully agree here. The agent security page still says "By default, terminal commands need your approval." The Run Modes page says Auto-review is the recommended default, and in that mode some commands run without asking. We read both on November 25, 2026.
What do the sandbox and the other limits do?
The sandbox is a fence around commands the agent runs. The Run Modes page: "A sandboxed command can work in your project, but it cannot freely read protected files, write outside approved paths, or contact arbitrary network destinations." That page describes it for macOS and Linux; we could not confirm how it works on Windows today.
- Files. The agent security docs: "Agents can modify workspace files without approval, except for configuration files. Changes save immediately to disk. Always use version control so you can revert changes."
- Reading outside the project. Per the Run Modes page, the Read Access default is System: "The agent can read files outside the workspace without approval. This is the default."
- Not a wall. The agent security docs call run modes "best-effort guardrails rather than a hard security boundary." The permissions reference says allowlists "are not a security guarantee."
What about Cloud Agents, MCP servers and rules files?
Each widens what the agent can reach, so each deserves a decision.
- Cloud Agents (formerly background agents) run on Cursor's servers. The Cloud Agent security docs say "Each agent runs in its own VM boundary" and "Cursor employees do not have access to the code inside Cloud Agent VMs." The Run Modes page is frank about the trade: "Cloud Agents run inside their own dedicated machine, so the agent never asks you to approve an action."
- MCP servers connect the agent to outside tools. Cursor's agent security page says "All MCP connections need your approval. After you approve an MCP connection, each tool call still needs individual approval before running." Its Run Modes page says "Auto-review applies to shell, MCP, and Fetch tool calls", so in that mode a classifier, not you, may wave a call through, and in Run Everything nothing asks. The MCP docs add that they "can access external services and execute code on your behalf."
- Rules files are instructions you leave for the agent. Cursor's enterprise safety docs say "rules are suggestions, not guarantees." A related trick, code hidden in config files, is in malware in config files.
- The browser tool. "Never use auto-run mode with untrusted code or unfamiliar websites," say the browser docs.
What security problems has Cursor had?
Cursor has a public record of fixed vulnerabilities and one security incident, disclosed on October 29, 2026. Here is the record from primary sources, with Cursor's response each time.
How many Cursor vulnerabilities are on record?
At least 32 CVEs in the National Vulnerability Database (NVD), as of November 25, 2026.
The fine print:
- 22 is how many CVEs NVD has matched to Cursor's product identifier (anysphere:cursor), counted with NVD's own API.
- At least 10 more are in NVD without that tag. We found them by keyword search, which can miss records; we found the tenth only on a wider search.
- Each of the 32 has a fix or an end version on record. For most, NVD's text names a version, a patch build or a server-side date. For three it doesn't. For CVE-2026-63093 the fix is in a Cursor staff post, below. For CVE-2025-64106, Cursor's own advisory, published November 3, 2025, lists 2.0 as the patched version: "The parsing logic for detecting trusted MCP servers has been fixed." For CVE-2025-62354, another way past the allowlist, the finders at HiddenLayer write that it "is present in Cursor v1.3.4 up to but not including v2.0".
- Cursor also publishes advisories on GitHub. We could not read that page directly, so we give no count.
A public list of fixed flaws is normal for widely used software. It is not proof a product is unsafe.
What it means for you: some of these fixes are more than a year old, so an out-of-date Cursor is the exposed one.
Which Cursor vulnerabilities should you know about?
These, each described by what it allowed, from NVD's records. All are fixed.
| CVE | What it allowed, in plain words | Fixed in |
|---|---|---|
| CVE-2025-54135 (CurXecute) | Through prompt injection, an MCP settings file could be created without approval, leading to code running on the machine | 1.3.9 |
| CVE-2025-54136 (MCPoison) | An already approved MCP server could later be changed to run something else with no new prompt | 1.3 |
| CVE-2025-59944 | Protected files could be edited on file systems that ignore letter case | 1.7 |
| CVE-2026-22708 | Some shell commands ran outside the allowlist without approval | 2.3 |
| CVE-2026-26268 | An escape from the sandbox through git settings | 2.5 |
| CVE-2026-50548, CVE-2026-50549 | Sandbox escapes "with no user interaction beyond a benign prompt" | 3.0 |
| CVE-2026-61613 | In browser-enabled Cloud Agent sessions, web content could run code in the session and reach repository contents and tokens | Server-side, March 31, 2026 |
| CVE-2026-63093 | On Windows, opening a folder could run a program planted in it, with no click | 3.13.25 or later, per Cursor |
Many of these are ways that text the agent read could get past a guardrail. CVE-2025-54131 (fixed in 1.3) was another way past the allowlist, and CVE-2026-31854 (fixed in 2.0) let instructions on a web page lead to commands running when combined with one.
What were MCPoison and CurXecute, and how fast were flaws fixed?
They are nicknames for two flaws in how Cursor handled MCP servers, both fixed in 2025. The dates below are the finders' own.
- MCPoison is CVE-2025-54136. Check Point Research disclosed it "on July 16, 2025. Cursor issued an update (version 1.3) on July 29, 2025". They add: "our independent testing confirms that the issue has been effectively addressed."
- CurXecute is the name widely reported for CVE-2025-54135. NVD's record confirms the behaviour and the fix in 1.3.9. We could not open the finders' own write-up, so we quote no one and can't confirm the nickname at its source.
- CVE-2025-54132, data leaking through a diagram, fixed in 1.3. Johann Rehberger writes that it was "disclosed to Cursor on June 30, 2025, investigated and resolved on July 7, 2025".
- CVE-2025-59944. Lakera says it was reported on September 2, 2025 and patched in 1.7 on September 29: "Cursor’s team responded fast."
What was the Windows git.exe flaw, and is it fixed?
It let a program planted in a project folder run when the folder was opened in Cursor on Windows, and Cursor says a planted file no longer runs in 3.13.25 or later. The CVE record, published July 17, 2026, names version 3.2.16 on Windows and credits Mindgard. This one took longer, and both sides have given their account.
- Mindgard's account. Aaron Portnoy's post says the flaw was reported on December 15, 2025, closed on HackerOne in January as "Informative and out of scope", reopened, and then had no updates through June. His post still reads as if the flaw were open; it predates Cursor's August update. On the effect: "There are no clicks, prompts, approval dialogs, or warnings. The result is arbitrary code execution."
- Cursor's account. A staff post on Cursor's forum, dated July 15, 2026, says "After reviewing this report we determined that it was out of scope for our bug bounty program." It goes on: "However, we did not close the loop with the researcher in a timely manner, and we take responsibility for that." And "macOS and Linux are not affected." Cursor adds that it applied "only when a user opens a repository or directory that already contains a malicious executable named exactly git.exe in the project root."
- The fix. The post's August 2026 update: "A planted git.exe in the workspace root no longer runs when you open the folder. Users should update to Cursor 3.13.25 or later".
What research has no CVE?
Two published findings, neither with a CVE, plus one case about extensions.
- Rules files with hidden instructions. Pillar Security (Ziv Karliner, March 18, 2025) showed that a shared rules file could carry instructions a reader wouldn't see. Its timeline says "March 6, 2025: Cursor replied and determined that this risk falls under the users' responsibility", and that GitHub answered in the same vein for Copilot.
- Workspace Trust is off by default. Oasis Security wrote on September 10, 2025 that "Cursor ships with Workspace Trust disabled by default". Oasis reports Cursor's reply: "Cursor has stated that Workspace Trust can be enabled by end users and that updated security guidance will be published in the near future."
- A fake extension. Kaspersky's Securelist reported on July 10, 2025 that a developer lost crypto assets after installing a fake extension "available in the Open VSX registry, used by Cursor AI". Securelist says the extension "was taken down on July 2, 2025".
What happened in the October 2026 incident?
On October 29, 2026, Cursor disclosed that a tampered copy of Anthropic's Claude Code extension had been served from the Cursor VS Code Extension Marketplace for about 11 hours. It was one stage of a wider intrusion that began, by Cursor's account, with a key it had issued to a vendor.
Everything below is Cursor's account, from its notice dated October 29 and its update of November 13. The vendor, Fireworks, has published its own security bulletins about incidents in the same weeks; they don't name Cursor, and they describe secrets, models and datasets being accessed for "a small number of customers". We found no independent forensic report.
| Question | Cursor's words |
|---|---|
| What was served? | "Between about 2:27am PT and 1:35pm PT today, a maliciously modified version of Anthropic’s Claude Code extension was made available in the Cursor VS Code Extension Marketplace." |
| What did it do? | "The extension runs malicious code that attempts to install a persistent SSH backdoor." |
| How did it start? | "It started at Fireworks. An attacker obtained an access key we had issued to Fireworks. The key was exposed by Fireworks, and the attacker used it to copy data from a read-only storage bucket we used to share data with them." |
| What was copied? | "That bucket contained limited coding agent traces, mostly from 2025, from sessions not in Privacy Mode, which we were permitted to use for model training. A small number of those traces contained credentials that had not been redacted; less than 0.01% of customers had API credentials exposed." |
| What else was reached? | "Starting with those credentials, the attacker reached select SaaS tools used by Cursor. From these tools they accessed select archived non-production Cursor source code repositories (some containing business contact information), limited customer support data and email conversations, product usage metrics and contact details, summaries of some coding agent conversations, and some credentials users had sent to the Cursor support team." |
| How did the extension get there? | The attacker placed the copies "using a stolen credential from the exposed data from our internal system", "directly on the cache used to serve the Cursor VS Code extension marketplace." |
| How many got the extension? | "At most 5,000 users who requested specific cached versions of the extension on October 29 potentially received the malicious build. It was available for approximately 11 hours before we removed it." |
| Is it over? | "We believe the incident is contained. The last attacker activity we have seen was on November 1, and it was blocked." |
What Cursor says was not affected:
- "Your prompts and code if you use Privacy Mode."
- "The Cursor app and its official updates"
- "Customer code repositories."
For people not using Privacy Mode, Cursor says "coding agent traces were exposed for fewer than 0.05% of users." It adds "The marketplace source, Open VSX, never had the malware." and "this was not a vulnerability in Anthropic's product." It also says "We apologize to those impacted by this incident".
What Cursor says it did, among other steps:
- "Moved all inference traffic off Fireworks"
- "Rotated every exposed Cursor credential we found"
- "reviewed and rebuilt our VS Code extension marketplace"
- "Engaged external forensics experts"
- "Contacted everyone affected"
If you installed or updated the Claude Code extension in Cursor on October 29, 2026, read Cursor's notice. The tampered builds were "Anthropic.claude-code version 2.1.312 and 2.1.313 for Windows and MacOS". The notice gives a check for a key labelled svc-telemetry in your SSH authorized keys, and warns "Uninstalling the extension may not be sufficient".
Two things follow from Cursor's own account. The copied traces came from sessions not in Privacy Mode. The extension, the support data and the contact details had nothing to do with that setting.
Does Cursor write secure code?
Not automatically, and there is little independent evidence about Cursor itself. The one study here that tested Cursor asked a different question.
| Study | Tested Cursor itself? | What it reports |
|---|---|---|
| "Your AI, My Shell" (Liu and others, arXiv, September 2025) | Yes, Cursor and GitHub Copilot | "attack success rates can reach as high as 84% for executing malicious commands." This is about hijacking the editor, not code quality |
| BaxBench (Vero and others, arXiv, 2025) | No, models | "on average, we could successfully execute security exploits on around half of the correct programs generated by each LLM" |
| SusVibes (Zhao and others, arXiv) | No, coding agents | "Although 57% of the solutions from SWE-Agent with Claude 4 Sonnet are functionally correct, only 11.8% are secure." |
Read these with care. The first was submitted in September 2025, before many of the fixes above shipped. All three are arXiv preprints, and we read only their abstracts. None measured the code today's Cursor writes for you. Our guide to whether a vibe-coded app is safe has the benchmark figures and the checks to run before launch, and the vibe coding security field guide explains why the gaps happen.
How does Cursor compare with Copilot, Claude Code and Codex?
We can't rank them, because we have not tested any of them. Here is each maker on one question, what its agent may do without asking, in its own words from its own pages.
| Tool | On what the agent may do |
|---|---|
| Cursor | "The safest useful setup for most people is Auto-review." (Run Modes) |
| GitHub Copilot (cloud agent) | "A firewall is enabled by default to prevent data exfiltration." (GitHub Docs) |
| Claude Code | Of its Auto mode: "A separate classifier model reviews actions instead of you and blocks the ones it judges unsafe." (security docs) |
| OpenAI Codex | "By default, the agent runs with network access turned off." (Codex security docs) |
Three cautions about that table:
- The cells aren't like for like. Each maker chose what to say.
- Training terms differ by plan at every maker, so we don't compare them in one line. Read the page for the plan you are on: Cursor, Claude Code, OpenAI.
- Windsurf is left out. Its security page now leads to Cognition's, which is written about Devin, and we won't guess how it applies to the editor.
Makers hedge, too. Anthropic's security page says "no system is completely immune to all attacks."
How do you make Cursor safer today?
Update it, turn Privacy Mode on, choose a run mode on purpose and trim what the agent can reach. The names and paths below are from Cursor's docs, not from the app, and menus move. If a label differs, search Cursor's settings for the name.
- Update first. Cursor says "Users should update to Cursor 3.13.25 or later" for the Windows flaw, and its Run Modes page says "Read access requires Cursor 3.23 or later".
- Turn on Privacy Mode. Per the privacy help page: open Cursor Settings (Cmd + Shift + J on a Mac, Ctrl + Shift + J on Windows or Linux), "Click General in the sidebar", then "Toggle Privacy Mode on".
- Pick your run mode on purpose. In "Settings > Agents > Approvals & Execution", choose Auto-review or Allowlist. For a prompt before every command, Cursor's route is "Allowlist with an empty allowlist".
- Keep the allowlist short. Every entry runs without asking, and at least three CVEs above were ways past the allowlist.
- Limit reading to the project. In "Settings > Agents > Approvals & Execution > Read Access", choose Workspace. Then "Anything outside needs your approval unless it's on your Read Allowlist."
- Be choosy with MCP servers. The MCP docs say "Only install MCP servers from trusted developers and repositories".
- Add a
.cursorignorein the project root for anything sensitive beyond.envfiles. It is best-effort, as above; Cursor's enterprise safety docs say ".cursorignoreis not a security boundary." - Keep secrets out of the chat. If a key was ever in a session with Privacy Mode off, rotate it.
- Treat extensions like dependencies. Cursor's extensions help page says "Treat extension IDs like dependencies: install from publishers you trust."
- Consider Workspace Trust for folders you didn't write. Add
"security.workspace.trust.enabled": trueto your usersettings.json. Cursor's forum post says restricted mode "prevents malicious repositories from automatically executing code." The docs warn: "Restricted mode breaks AI features. For untrusted repos, use a basic text editor instead." - Use separate keys for development and production, so a mistake in development is kept away from real customers' data.
- Commit often. Agent edits save straight to disk.
For a company, the same list is set once and enforced:
- Privacy Mode for everyone. The enterprise privacy docs describe a team setting, "Enable Privacy Mode for the team", that admins can enforce.
- A run mode policy. Cursor's hardening guide says "Set the org Run Mode policy to Auto-review (not Run Everything) and enable sandboxing."
- Extension controls. Per the extensions help page, team settings include "Marketplace Install Cooldown (hours)" and, for Enterprise, "Require Extension Signature Verification".
Is Cursor safe for company code?
It can be, and the decision belongs to your employer. If you want to use Cursor on code your company owns, ask first. If you are the one deciding, these are the controls Cursor's own pages confirm:
| What an employer would check | What Cursor says |
|---|---|
| Can we enforce Privacy Mode? | "Teams and Enterprise admins can enforce it organization-wide so members cannot disable it." (privacy help) |
| Single sign-on | SAML 2.0 SSO on Teams and Enterprise plans (SSO docs) |
| Personal accounts on work devices | An "Allowed Team IDs" setting, pushed through device management (identity docs) |
| Encryption | "TLS 1.2+ in transit" and "AES-256 at rest" (enterprise privacy docs) |
| Audit reports | A SOC 2 Type II report and a penetration test report, on request (compliance help) |
The pages we read don't answer two things a security team would ask: the full subprocessor list and the period the SOC 2 report covers. Ask Cursor for those directly.
Where does viberrr fit?
On the third question only. viberrr checks the live site of the app you built with AI, from the outside. It does not check Cursor, your editor or its settings, and we have not tested, scanned or audited Cursor.
A SafeLaunch check reads your live site from the outside for:
- keys exposed in code anyone can download: the site's JavaScript and any public source maps
- an open
/.envor/.git/config - security headers and HTTPS, the login page included
- framing protection and known Next.js advisories
- whether search engines and AI can find it
It doesn't read your code or check your database rules or dependencies; those stay on your own list.
How each check works is on how we verify, and the Cursor security checklist lists what to check on a Cursor-built project before launch.
What it isn't:
- Not a check of Cursor. It doesn't look at your Cursor version, run mode, Privacy Mode, MCP servers or extensions.
- Not a check of your computer. It can't tell you whether your machine received the October 29 extension.
- Not a guarantee or an audit. It is an automated check, and it can miss things.
- Not a substitute for a person. If your app takes payments or holds health, financial or other personal data, have a security professional review it before launch.
Frequently asked questions
Is Cursor safe to use for work or company code?
It can be, if your employer allows it and Privacy Mode is enforced. Cursor's privacy help page says "Teams and Enterprise admins can enforce it organization-wide so members cannot disable it."
Does Cursor train on my code?
Not with Privacy Mode on, by Cursor's own statement. Cursor's data use page says that with it enabled "Customer Data will not be used for training by Cursor" and "AI model providers will not store or train on your data." With it off, the same page says Cursor "may use and store" code to "train our models", while its Terms of Service say it won't train on content "UNLESS YOU’VE EXPLICITLY AGREED". If you use your own API key, Cursor's privacy help page says "your data handling follows your provider's privacy policy."
Was Cursor hacked in 2026, and was I affected?
Cursor disclosed a security incident on October 29, 2026. Its update of November 13 says "At most 5,000 users" potentially received a malicious build of one extension, that some support data and contact details were also accessed, and that prompts and code in Privacy Mode were not affected. If you installed or updated the Claude Code extension in Cursor that day, follow Cursor's notice.
Does Cursor have known security vulnerabilities, and are they fixed?
Yes, and each one we found has a fix or an end version on record. As of November 25, 2026, NVD has 22 CVEs tagged to Cursor and we found at least 10 more by keyword, so at least 32, including the Windows flaw CVE-2026-63093, for which Cursor says to update to 3.13.25 or later.
Is Cursor's Auto-review or Run Everything (what people call "YOLO mode") safe?
Cursor recommends Auto-review, and its Run Modes page also says "Auto-review is not a security boundary". In Run Everything, "Every tool call runs automatically." Cursor's current docs don't use the name "YOLO mode"; Run Everything is the nearest mode.
Are MCP servers and extensions in Cursor safe?
They are as safe as whoever wrote them. Cursor's MCP docs say "MCP servers can access external services and execute code on your behalf", and its extensions help page says to "install from publishers you trust."
Does .cursorignore keep my secrets away from the agent?
It helps, and it is not a guarantee. Cursor's ignore file reference says "complete protection isn't guaranteed due to LLM unpredictability" and that terminal and MCP tools "cannot block access to code governed by .cursorignore".
Is the code Cursor writes secure?
Not automatically. We found no independent study that measured the security of code written by Cursor itself. A study of AI models in general, BaxBench, reports exploits on "around half of the correct programs generated by each LLM". Check the finished app before launch.
Sources
All read on November 25, 2026. Pages with no date shown are undated.
- Cursor (Anysphere): Security (August 25, 2026), Data use (September 3, 2026), Terms of Service (September 3, 2026)
- Cursor Help: Privacy, Compliance, Extensions, Ignore files
- Cursor Docs: Agent Security, Run Modes, Permissions, Ignore file, MCP, Search, Browser, Cloud Agent security, Cloud Agent network, Enterprise privacy, LLM safety, Hardening, Identity, SSO
- Cursor blog: Claude Code extension security notice (October 29, 2026), An update on our recent security incident (November 13, 2026), AIUC-1 (August 13, 2026)
- Cursor forum: Addressing the recent Mindgard report (staff, July 15, 2026)
- NIST: National Vulnerability Database, searches run November 25, 2026, and the records linked above
- CVE Program: CVE-2026-63093 (published July 17, 2026), CVE-2025-64106, CVE-2025-62354
- Cursor on GitHub: advisory GHSA-4575-fh42-7848 (November 3, 2025)
- HiddenLayer: Cursor advisory (November 2025)
- Fireworks: Security bulletins (October 10, November 9 and November 17, 2026)
- Mindgard: Cursor 0day (Aaron Portnoy, July 2026)
- Check Point Research: MCPoison (August 5, 2025)
- Lakera: CVE-2025-59944 (Lakera Team)
- Embrace The Red: Cursor data exfiltration with Mermaid (Johann Rehberger, August 4, 2025)
- Pillar Security: Rules File Backdoor (March 18, 2025)
- Oasis Security: Cursor and Workspace Trust (September 10, 2025)
- Kaspersky Securelist: Code highlighting with Cursor AI for $500,000 (July 10, 2025)
- arXiv preprints: "Your AI, My Shell" (submitted September 26, 2025), BaxBench (2025), SusVibes
- Anthropic: Claude Code Security and Data usage
- OpenAI: Codex approvals and security, Enterprise privacy
- GitHub Docs: Responsible use of Copilot agents
- Cognition: Security at Cognition (linked, not quoted)