Skip to content
Aventail™ co-founder speaks to BBC Radio Wales on AI safety and AI agents.Read the story
Aventail™
All guides

Is Cursor safe for work?

13 min read

Is Cursor safe for work? A dated, sourced verdict per plan: what Privacy Mode changes, which providers receive your code, SSO, audit, incidents and prices.

It depends on the plan and on one setting, Privacy Mode: Cursor is safe for most company code on Teams and Enterprise with Privacy Mode enforced, and it is not safe on an individual plan where each developer controls the switch. On every plan your code leaves the machine, because Cursor builds each prompt on its own servers and sends it to a model provider. The short answer, as of 15 November 2026:

Plan

Safe for company code?

Why

Individual: Free, Plus, Premium, Super, Ultra (and the older Hobby, Pro, Pro+)

No

Privacy Mode is a personal switch. With it off, Cursor may store code and prompts and train its models on them. No admin, no audit, and Cursor's data processing agreement does not apply.

Teams

Yes, for most code, once Privacy Mode is enforced

Privacy Mode is on by default and an admin can lock it. SAML or OIDC SSO and a data processing agreement. No SCIM, no audit logs, no repository or model controls.

Enterprise

Yes

Adds SCIM, audit logs with SIEM streaming, model, repository and MCP controls, device policies, customer-managed keys and a HIPAA BAA. Data residency is US-only so far.

Everything below comes from Cursor's own pages and its published security advisories, read on 15 November 2026 and listed at the end.

A note on plan names. SpaceX acquired Cursor's maker, Anysphere, on 14 August 2026. New customers now buy "The X Subscription", which bundles Cursor with Grok and X. The older Hobby, Pro, Pro+, Ultra and Teams plans keep running for existing customers. Cursor's pages list no plan called Business today. Cursor's privacy pages describe data handling by account type (individual, Teams or Enterprise) and do not separate the two generations of plan.

What Cursor does with your code, by plan

Individual

Teams

Enterprise

Trains on your code

Yes when Privacy Mode is off: Cursor "may use and store codebase data, prompts, editor actions, code snippets" to train its models

No with Privacy Mode on

No with Privacy Mode on

Privacy Mode default

Not stated on the pages we read. Any user can turn it on

On for team members. Admins can enforce it

On. Admins can enforce it

Terms

Terms of Service and Privacy Policy. The DPA does not apply

The Data Processing Agreement applies

Master Services Agreement and DPA

Retention at model providers

With Privacy Mode: zero data retention agreements. Without: some providers may temporarily store inputs and outputs

Zero data retention, with the exceptions below

Same

Code stored by Cursor

File contents cached temporarily and encrypted. Cloud Agents store an encrypted copy of the repository

Same

Same, with retention caps for Cloud Agent data and customer-managed keys

Where it runs

Mainly AWS in the US, with some services in Europe and Singapore. Model providers worldwide

Same

US-only residency on request, with a 10% uplift on model pricing. EU and APAC "in active development". No UK option

SSO and SCIM

None

SAML or OIDC SSO. No SCIM

SSO and SCIM 2.0, at team or organisation level

Audit trail

None

None

Audit logs of sign-ins, membership, roles, keys and settings. Stream to Splunk, Sumo Logic, a webhook or S3. No prompts or code

Admin controls

Per user only

Team-wide privacy settings, chat data retention, usage analytics, spend limits

Model, repository and MCP access controls, auto-run and network controls, device policy for allowed teams, service accounts

Certifications

Cursor holds SOC 2 Type II, ISO/IEC 27001:2022, ISO/IEC 42001:2023 and AIUC-1. Not stated per plan

Same

Same, plus a HIPAA BAA on request

Encryption

TLS 1.2 or higher in transit, AES-256 at rest

Same

Same, plus customer-managed keys for Cloud Agent data

Price

$0; Plus $8; Premium $30; Super $100; Ultra $200 a month. Older plans: Pro $20, Pro+ $60, Ultra $200

$30, $100 or $200 per user a month by seat. Older seats: $40 and $120

Custom

On The X Subscription, the price covers what Cursor calls Cursor models: Grok and Composer. Third-party models such as Claude, GPT and Gemini are billed separately at API list price from Premium upwards. Plus offers Grok models only.

What Privacy Mode changes, and what it does not

With Privacy Mode on, Cursor states three things. Cursor will not train on your data. Cursor "maintains zero data retention (ZDR) agreements with all providers". Model providers "will not store or train on your data".

Cursor lists the exceptions itself:

  • Abuse checks. Providers, Cursor included, may run classifiers, and prompts that trigger them "may be stored for investigation".

  • Models with data retention. Claude Fable 5, 5.1 and 5.2 sit outside the agreements. Anthropic stores their inputs and outputs for automatic and human harm-prevention review. On Enterprise, and on any account with Privacy Mode on, requests to these models fail until an admin approves the retention policy.

  • Your own API keys. Zero data retention does not apply. The provider's own policy does.

  • Grok Bot. Cursor says it "runs on a separate product surface with its own data flows".

Privacy Mode is a data-use setting. Code still leaves the machine with it on, and it places no limit on what the agent may do on a developer's laptop.

Which model providers receive your code

A request goes to Cursor's backend first, then to whichever provider hosts the chosen model. Cursor says this applies "even if you use your API key", because "that's where we do our final prompt building".

Cursor's subprocessor list names these recipients of model requests:

  • Model providers: Anthropic, OpenAI, Google (Gemini through Vertex), Meta, SpaceXAI and TypeSafe AI.

  • Hosts for Cursor's own models: Together, under a zero data retention agreement, plus Baseten, Nebius, CoreWeave and Databricks.

The same list covers infrastructure: AWS as primary host, Azure and Google Cloud as secondary, Cloudflare, Datadog for logging, Exa for web search and WorkOS for SSO. Cursor says it has no infrastructure in China and uses no subprocessors headquartered there. Enterprise admins can switch individual models and providers off.

Codebase indexing and embeddings

If your security review rests on an older description of Cursor's indexing, re-read the docs. Today they describe search as Instant Grep, which "builds and queries its index on your machine". Cursor "does not upload file paths or code to build a search index, and it does not store embeddings of your codebase for search".

Three things still send or store code:

  • Model requests. When the agent opens a file, its content can go into the request.

  • The file cache. Cursor caches file contents on its servers for speed, encrypted with client-generated keys that exist on the server only for the length of a request.

  • Cloud Agents. Cursor calls them "the only feature that requires Cursor to store code". They hold an encrypted copy of the repository in an isolated virtual machine. Snapshots expire after 30 days of inactivity. They are optional.

A .cursorignore file keeps matching files out of agent reads and context. Cursor says it "is not a security boundary": terminal commands and MCP tools can still read ignored files.

What that means for your staff

On an individual plan, your company depends on each developer finding one toggle. There is no way to check it and no contract that covers your code.

On Teams, the training question is settled once an admin enforces Privacy Mode, and sign-in runs through your identity provider. You have no audit log and no way to block a repository or a model.

On Enterprise, you get the controls a security review asks for. Two gaps remain for UK buyers: residency is US-only, and the audit log records administration only.

The red list: what never goes into Cursor

  • Passwords, API keys, tokens, connection strings, private keys, including .env files the agent can open

  • Customer personal data and production database exports

  • Source code that is a trade secret, or anything under a customer NDA

  • Patient or health data, unless you are on Enterprise with a signed BAA

  • Security incident details while the incident is open

Known security incidents, with dates

Cursor publishes its advisories on GitHub: 33 between September 2024 and July 2026. Most follow one pattern. Text the agent reads, in a repository, a web page or a tool result, makes it run commands on the developer's machine. The notable ones:

  • 19 June 2025. Two advisories on usage APIs, one titled "IDOR in Usage Events API Lets Users Access Teammates' Activity Data".

  • 1 and 2 August 2025. An approved MCP server definition could be swapped for a malicious command without a new prompt (fixed in 1.3). A prompt injection could create an MCP configuration file and run code without approval (fixed in 1.3.9).

  • 13 February 2026. Sandbox escape through Git hooks, with no user interaction. Fixed in 2.5.

  • 5 June 2026. Two critical sandbox escapes, CVE-2026-50548 and CVE-2026-50549, reported by Cato AI Labs. Both let a malicious agent write files outside the workspace and run code unsandboxed. Fixed in 3.0.

  • 6 July 2026. Web content loaded by a browser-enabled Cloud Agent could run code in the agent's session and read repository contents, environment variables and GitHub tokens. Cursor fixed it on its side on 31 March 2026.

  • 14 July 2026. macOS sandbox escape through a tampered Python virtual environment, CVE-2026-73217. Fixed in 3.1.2.

Apart from the June 2025 usage API entries, the advisories describe flaws in the editor and its agents. Going by all 33 titles and the seven we read in full, none reports a breach of customer code held on Cursor's servers. Two defaults matter here: Cursor calls its run modes "best-effort guardrails rather than a hard security boundary", and workspace trust is disabled by default.

Settings to change today

Every individual account used for work (until you move people to a team):

  1. Open Cursor Settings with Cmd or Ctrl + Shift + J, choose General, and turn Privacy Mode on.

  2. Update Cursor. The newest advisory we read is fixed in 3.1.2.

  3. Add a .cursorignore for secrets, and keep terminal commands on manual approval.

  4. Keep Cloud Agents off company repositories.

  5. Remove personal API keys, since zero data retention does not cover them.

Teams:

  1. Enforce Privacy Mode in the dashboard so members cannot turn it off.

  2. Set up SSO and require it.

  3. Set a chat data retention period.

  4. Leave the data retention policy for Claude Fable models unapproved.

Enterprise:

  1. Turn on SCIM so leavers lose access when they leave your directory.

  2. Deploy the cursorAuth.allowedTeamId policy through MDM. Cursor then signs out any personal account on a company device.

  3. Add restricted repositories to the Repository Blocklist, restrict personal API keys and set the MCP allowlist.

  4. Stream audit logs to your SIEM. Use hooks if you need a record of prompts.

  5. Decide whether Cloud Agents are allowed, and set their retention window.

What to put in the acceptable use policy

Name the approved plan and ban personal Cursor accounts for work. Add the red list, the rule that agent commands are reviewed before they run on untrusted repositories, and where to report a mistake without blame. Our guide to shadow AI and acceptable use policies has a policy outline.

Keep sensitive work on approved models

Cursor sends every request through its own backend, including requests made with your own API key. It also supports custom models through an OpenAI-compatible base URL, and by Cursor's own description those requests take the same path. Nothing on the pages we read lets a Cursor request stay on a machine you control. For code on the red list, use a different tool.

Aventail™ Connect configures supported AI apps to send their model requests through Aventail™ Link, an inference engine and gateway that runs on each machine, under routing rules set in Aventail Control. Claude Desktop, Claude Code, OpenCode and Codex are supported today. Cursor is not on that list. A rule can say that a team's requests run on the device only. When no allowed destination exists, the request fails with an error and is not sent elsewhere. The hosted Control service receives management, device and routing events, and does not receive prompts or responses.

That gives you two lanes:

  • Cursor Teams or Enterprise for general code, with Privacy Mode enforced and the settings above.

  • A coding agent routed by Aventail™ for anything on the red list: a local model on the developer's machine, or an approved provider through your own account, with request records in Control that show where each request ran.

Setup is the Connect button in Link, and the free plan covers three connected devices. The steps are in our guide to Claude Code with Aventail™ Connect.

Frequently asked questions

Does Cursor train on my code?
Not with Privacy Mode on. With it off, Cursor says it may use and store code, prompts and editor actions to improve its features and train its models.

Is Privacy Mode on by default?
For Teams members and Enterprise teams, yes. Cursor's pages do not state the default for individual accounts, so check Settings › General.

Does Cursor store my code?
Cursor says file contents are cached temporarily and never stored permanently. Cloud Agents are the exception: they keep an encrypted copy of the repository while they work.

Which AI providers see my code in Cursor?
Whichever hosts the model you pick: Anthropic, OpenAI, Google, Meta, SpaceXAI, or one of the hosts Cursor uses for its own models. Every request passes through Cursor's backend first.

Is Cursor SOC 2 compliant?
Cursor states it holds a SOC 2 Type II attestation and ISO/IEC 27001:2022, ISO/IEC 42001:2023 and AIUC-1 certifications. Reports are available on request at trust.cursor.com.

Who owns Cursor?
Anysphere, Inc. makes Cursor. SpaceX completed its acquisition of the company on 14 August 2026, and SpaceXAI now appears on Cursor's subprocessor list as an inference provider.

Can Cursor work with a local model, with no code leaving the machine?
Not according to Cursor's own data-use page, which says requests go through its backend even when you use your own API key.

Sources

All read on 15 November 2026.

  1. Cursor, Security (updated 25 August 2026): https://cursor.com/security

  2. Cursor, Data Use and Privacy Overview (updated 3 September 2026): https://cursor.com/data-use

  3. Cursor, Privacy Policy (updated 6 November 2026): https://cursor.com/privacy

  4. Cursor, Terms of Service (updated 3 September 2026): https://cursor.com/terms-of-service

  5. Cursor, Pricing: https://cursor.com/pricing

  6. Cursor Docs, Legacy Cursor plans: https://cursor.com/docs/account/pricing/legacy-cursor-plans

  7. Cursor Docs, Team Pricing: https://cursor.com/docs/account/teams/pricing

  8. Cursor Help, What is The X Subscription?: https://cursor.com/help/the-x-subscription/overview

  9. Cursor Help, Privacy and data: https://cursor.com/help/security-and-privacy/privacy

  10. Cursor Help, Regions and model availability: https://cursor.com/help/security-and-privacy/regions

  11. Cursor Help, Security and compliance documents: https://cursor.com/help/security-and-privacy/compliance

  12. Cursor Help, SSO and authentication: https://cursor.com/help/security-and-privacy/sso

  13. Cursor Docs, Privacy and Data Governance: https://cursor.com/docs/enterprise/privacy-and-data-governance

  14. Cursor Docs, Identity and Access Management: https://cursor.com/docs/enterprise/identity-and-access-management

  15. Cursor Docs, Compliance and Monitoring: https://cursor.com/docs/enterprise/compliance-and-monitoring

  16. Cursor Docs, Model and Integration Management: https://cursor.com/docs/enterprise/model-and-integration-management

  17. Cursor Docs, LLM Safety and Controls: https://cursor.com/docs/enterprise/llm-safety-and-controls

  18. Cursor Docs, Security hardening: https://cursor.com/docs/enterprise/security-hardening

  19. Cursor Docs, Agent Security: https://cursor.com/docs/agent/security

  20. Cursor Docs, Search and Instant Grep: https://cursor.com/docs/agent/tools/search

  21. Cursor Docs, HIPAA Business Associate Agreements: https://cursor.com/docs/enterprise/baa

  22. Cursor Trust Center, Subprocessors: https://trust.cursor.com/subprocessors

  23. Cursor, Cursor is now a part of SpaceX (14 August 2026): https://cursor.com/blog/joining-spacex

  24. Cursor, Security advisories: https://github.com/cursor/cursor/security/advisories

  25. Cursor advisory GHSA-24mc-g4xr-4395 (1 August 2025): https://github.com/cursor/cursor/security/advisories/GHSA-24mc-g4xr-4395

  26. Cursor advisory GHSA-4cxx-hrm3-49rm (2 August 2025): https://github.com/cursor/cursor/security/advisories/GHSA-4cxx-hrm3-49rm

  27. Cursor advisory GHSA-8pcm-8jpx-hv8r (13 February 2026): https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r

  28. Cursor advisory GHSA-3p48-7v9f-v5cw, CVE-2026-50548 (5 June 2026): https://github.com/cursor/cursor/security/advisories/GHSA-3p48-7v9f-v5cw

  29. Cursor advisory GHSA-3v8f-48vw-3mjx, CVE-2026-50549 (5 June 2026): https://github.com/cursor/cursor/security/advisories/GHSA-3v8f-48vw-3mjx

  30. Cursor advisory GHSA-whx2-4gvm-m3r3 (6 July 2026): https://github.com/cursor/cursor/security/advisories/GHSA-whx2-4gvm-m3r3

  31. Cursor advisory GHSA-p9g2-cr55-cw9c, CVE-2026-73217 (14 July 2026): https://github.com/cursor/cursor/security/advisories/GHSA-p9g2-cr55-cw9c

  32. Aventail™, Connect overview: https://docs.aventail.co.uk/docs/connect/overview

  33. Aventail™, Trust: https://aventail.co.uk/trust

We use optional cookies and tracking to identify visiting companies, load our contact form, measure Google Ads download clicks and understand page use with PostHog on our homepage, Connect and How it works pages, Ollama and LM Studio comparison guides and campaign pages. Cookie policy