Cursor security incidents and advisories

Cursor publishes its product security advisories in the cursor/cursor GitHub repository, including sandbox escapes and prompt injection paths to code execution. Approval depends on patching discipline and on which controls the organization can enforce.

On this page

Cursor security advisories: what an approver needs to know first

Cursor publishes its product security advisories in the cursor/cursor GitHub repository, and the advisories in the sources reviewed here describe sandbox escapes and prompt injection paths to code execution. An approver should treat the tool as approvable only when patching and configuration controls are in place and documented, not because a vendor advisory list exists. The published record includes two Critical sandbox escapes dated June 5, 2026, one using a symlink and failed path canonicalization (GHSA-3v8f-48vw-3mjx) and one using an agent-controlled working directory (GHSA-3p48-7v9f-v5cw). Both affect the boundary that keeps agent actions inside intended files, so the first check is whether your deployed version falls outside the fixed range named in each advisory.

The sources distinguish plan levels that matter for this decision. The Teams plan lists SAML/OIDC SSO, centralized billing, usage analytics and team-wide privacy settings, while the Enterprise plan adds SCIM seat management, audit logs, and repository, model and MCP access controls. Confirm with Cursor, in writing, which of the controls needed to limit agent execution, such as run mode restrictions, sandbox settings and MCP server approval, can be locked by an admin on each plan. Where a control is only available to individual users, the approval should assume users can change it unless your own device management enforces the setting. Also confirm the version your fleet runs, because the advisories in the sources were published across February, June, July and August of 2025 and 2026, and some were issued after the version you may have installed.

Before approval, ask Cursor for its patch history for each advisory, the timing of upstream fixes, and the notice it gives affected customers. The security page states that critical incidents are communicated by email to affected users and that vulnerability reports are acknowledged within 5 business days, so confirm which administrator address receives those emails and who on your side acts on them. Also confirm whether the High advisories covering Git hooks, Python virtual environments, privileged containers, MCP server definitions and special files have fixes in the release channel you use. Do not assume an advisory is resolved beyond what the published text states, and keep a dated record of the version you tested against each advisory.

Advisory coverage and admin controls by plan

This table maps the controls that bear on Cursor advisories and incident response to the Teams and Enterprise plans. Built in means the supplied pricing or security material lists the control for that plan, while cells marked to confirm need a written answer from Cursor. The main takeaway is that audit logs, SCIM and repository, model and MCP access controls are listed only for Enterprise, so an organization on Teams should confirm how it would detect and contain an advisory.

ControlTeams plan (from $30 per user per month)Enterprise plan (custom pricing)
Public advisories in the cursor/cursor repositoryBuilt in, publicly visibleBuilt in, publicly visible
Vulnerability reports acknowledged within 5 business daysStated on security page, confirm plan scopeStated on security page, confirm plan scope
Critical incident email to affected usersStated, confirm whether workspace admins receive itStated, confirm admin contact routing
SAML or OIDC single sign-onBuilt inBuilt in
Team-wide privacy settingsBuilt inBuilt in
SCIM seat managementNot listed, confirm with CursorBuilt in
Audit logsNot listed, confirm with CursorBuilt in
Repository, model and MCP access controlsNot listed, confirm with CursorBuilt in
Timing of advisory patch delivery to clientsConfirm update channel and forced update optionsConfirm update channel and forced update options

Which advisories were published and what each one allowed

Cursor's published advisories fall into four patterns: sandbox escapes that let agent-driven file or process actions leave their intended boundary, prompt injection that reaches code execution, approval bypasses for MCP servers, and access flaws in the Usage APIs. Read each advisory against the run mode, sandbox and approval settings your organization actually uses, because severity alone does not show how far the agent could reach.

Critical sandbox escapes from June 2026

Two Critical advisories published June 5, 2026 describe sandbox escapes. GHSA-3v8f-48vw-3mjx uses a symlink and failed path canonicalization to reach files outside the permitted directory. GHSA-3p48-7v9f-v5cw lets the agent control the working directory. Both mean an agent may touch files its workspace rules were meant to block. Confirm the affected versions in each advisory, record the version your fleet runs, and check whether file writes outside the project were logged during the exposure window.

Cursor advisories

High sandbox escapes from July 2026

Two High advisories published July 14, 2026 cover escapes through tampered Python virtual environments (GHSA-p9g2-cr55-cw9c) and through launching privileged containers (GHSA-v4xv-rqh3-w9mc). The first shows that workspace files an agent can alter may later run with trust in another process. The second shows that container launch can grant host-level reach. Ask engineering leads whether developers allow agents to create or activate virtual environments and whether Docker access is available inside the agent's terminal.

Advisory listing

Cloud Agent browser and Git hooks escapes

GHSA-whx2-4gvm-m3r3, rated High and published July 6, 2026, is a sandbox escape in the Cloud Agent browser. GHSA-8pcm-8jpx-hv8r, rated High and published February 13, 2026, is an escape through Git hooks. Git hooks run scripts from the repository itself, so a planted hook can execute outside the editor's expected limits whenever a Git command runs. Review whether hooks are enabled in your repositories, whether browser-based cloud agents can reach internal web applications, and which agent workloads run without a developer watching.

Cursor security page

Prompt injection to code execution

GHSA-4cxx-hrm3-49rm (MCP special files) and GHSA-vqv7-vq92-x87f (editor special files), both rated High and published August 2, 2025, show that injected instructions in content the agent reads can lead to arbitrary code execution. The agent does not need an attacker's direct access to the machine. Repository files, pulled issues and tool output all count as untrusted input. Check whether run modes auto-approve shell commands and whether agents read third-party repositories or documents without review.

Cursor advisories

MCP re-approval bypass

GHSA-24mc-g4xr-4395, rated High and published August 1, 2025, describes modifying an MCP server definition in a way that bypassed the manual re-approval users expect after a change. A server approved once could behave differently later without a new prompt. This matters most where developers can edit shared MCP configuration files. Confirm which MCP servers are allowed on your Enterprise tenant, who can change their definitions, and whether changes to those definitions appear in your audit records.

Cursor security page

IDOR flaws in the Usage APIs

GHSA-c43p-6fv2-6gr2 and GHSA-rjmc-526x-8653, rated Moderate and published June 19, 2025, cover insecure direct object references in the Usage API and Usage Events API. These flaws exposed teammates' activity data to other users. The risk is to internal confidentiality rather than code execution, but usage records can reveal which developers used which models and how often. Ask the vendor for patch confirmation, and review any integration that pulls usage data with admin tokens for scoped access.

Cursor advisories

How sandbox and approval controls interact with these advisories

The sandbox escape advisories and the prompt injection advisories describe two different failures, and a reviewer should keep them apart. The escapes concern the boundary between the agent and the developer's files, Git hooks, Python virtual environments, privileged containers and the Cloud Agent browser. The prompt injection advisories concern whether untrusted content, delivered through MCP special files or editor special files, can make the agent run code without the developer's intent. In the first case the question is what the sandbox lets a process reach. In the second, it is what the agent is allowed to execute once it has been steered.

In the path from prompt to execution, run modes decide when the agent asks before acting, the terminal sandbox limits which files and network destinations a command can touch on macOS and Linux, and Enterprise admin locks decide whether a developer can loosen either setting. An MCP server change that bypasses re-approval, as GHSA-24mc-g4xr-4395 describes, shows why approval state matters as much as the sandbox itself. Confirm with Cursor, using the Cursor security page and the enterprise documentation, which of these settings an admin can lock and whether a locked setting applies to every client version in use.

The sources do not say which control would have stopped each advisory, and this page does not assume that a given setting would have. Before approving broad use, ask the vendor for a mapping from each advisory to the control that constrains it, and test the mapping in a pilot group. Track the Cursor security advisories list against the versions your fleet runs, and record which advisories apply to your configuration and which were mitigated by an admin setting. Treat any Critical or High sandbox escape as a reason to review the sandbox and approval configuration, not only as a patch item.

Where each advisory class sits in the agent execution path

The flow starts with untrusted repository content and MCP server definitions, which reach the Cursor agent as prompt input and tool configuration. The agent's tool calls pass through an approval gate and then a sandbox boundary before touching host resources such as files, Git hooks, Python virtual environments, container runtimes and the browser. Each advisory class in the page sits at one of these hand-offs, so the decision nodes mark where an admin lock or a manual re-approval would have to hold. Check which of these controls your plan lets you enforce centrally, and confirm each fix against the advisory's patched version.

Advisory classes mapped to the untrusted input, approval, sandbox and host layers.

How the patch and configuration answer changes by team

Developers on the Teams plan usually control their own editor settings, so the advisories place most of the load on patch level and on the approval choices each person makes. Several advisories are fixed in the product, so the first question is whether every machine runs a build that includes the fixes named in the Cursor security advisories.

  • Patch first: Check the June 5, 2026 Critical sandbox escapes (GHSA-3v8f-48vw-3mjx and GHSA-3p48-7v9f-v5cw) and the July 2026 High advisories, then confirm each developer runs a build that includes the fix described in each advisory.
  • Limit auto-approval: The August 2025 advisories for code execution through prompt injection (GHSA-4cxx-hrm3-49rm and GHSA-vqv7-vq92-x87f) show that repository content can steer the agent, so avoid approving commands in unfamiliar repositories.
  • Treat cloned code as untrusted: The February 13, 2026 Git hooks advisory (GHSA-8pcm-8jpx-hv8r) means opening a repository from an unknown source can carry execution risk.
  • Enforce team privacy settings: Teams includes team-wide privacy settings, so confirm they are set by the admin rather than left to each developer.
  • Recognize the limit: Audit logs, SCIM and MCP access controls are listed for Enterprise only, so on Teams the developer's own discipline is the main control.

Confirm the installed build on every developer machine and check the team privacy settings in the Teams admin console.

Sequence for watching and patching Cursor in production

This sequence gives the security team a standing way to learn about new Cursor advisories, prove which client build each user runs, and shrink the attack surface that the published sandbox escapes and prompt injection paths depend on. Each step ends with a check you can record as evidence.

  1. Subscribe to the cursor/cursor advisories feed

    The security owner watches the security advisories section of the cursor/cursor repository on GitHub and routes new advisories to the engineering and endpoint teams. Use GitHub's repository watch settings for security advisories so notifications reach a shared mailbox or ticket queue, not one person's inbox. The step is complete when a test notification or a review of the existing advisory list has been logged, with an owner named for each new entry. Advisories in the list include Critical and High items from 2025 and 2026, so the backlog review should start from the oldest open entries you have not yet mapped to your fleet.

  2. Map each advisory to fixed client versions

    For every advisory, the owner reads the affected versions and fixed release stated in the advisory text, not in a summary or chat thread. Record the affected product area (for example, the terminal sandbox, Git hooks, MCP server approval, or the Usage API) alongside the fixed version. Then query your managed fleet or device management tool for the installed Cursor build on each machine. The step is done when every machine is either on a fixed build or tracked on a dated exception list with a named owner. Where the advisory does not state a fixed release, record that gap and ask the vendor before assuming a fix exists.

  3. Restrict MCP servers and repositories to an approved list

    Several published advisories concern MCP server definitions and special files that can lead to arbitrary code execution through prompt injection, including a case where changing an MCP server definition bypassed manual re-approval. Build a written allowlist of MCP servers and repositories that developers may use, then enforce it with the Enterprise repository and MCP access controls listed on Cursor's pricing page. Teams plans do not list these controls, so on Teams the allowlist is a policy and a manual check, not an enforced setting. The step is complete when the allowlist is approved by the security owner and the enforcement method for your plan is documented.

  4. Review and lock run modes and sandbox settings

    Several Critical and High advisories involve sandbox escapes through symlinks, agent-controlled working directories, Python virtual environments, Git hooks, privileged containers and the Cloud Agent browser. Review which run modes allow the agent to run commands without per-action approval, and confirm the terminal sandbox settings for macOS and Linux in your version. Ask Cursor which of these settings Enterprise admins can lock centrally and which must be set per device. The step is done when a written configuration baseline exists, each setting is either locked or covered by a device control, and the reviewer has signed off on the residual risk for settings that remain user-controlled.

  5. Route the audit log to the SIEM

    Audit logs are listed on Cursor's Enterprise plan, so confirm that your contract includes them before you design this step. Connect the log export to your SIEM, then run a test that generates a known event such as a policy change or a sign-in from a test account. Check that the event appears in the SIEM with the fields your detection rules need. Also confirm what the audit log does not capture, and record those gaps as compensating control requirements. The step is complete when a test event is visible in the SIEM and the gap list is filed with the security owner.

  6. Test the incident email contact

    Cursor's security page states that critical incidents are communicated by email to affected users, so the account email on each Cursor seat determines who learns of an incident first. Confirm that the email addresses tied to Cursor accounts are company-managed, that they route to monitored mailboxes, and that the security owner receives a copy. Send a controlled test through your own process, for example by confirming that an internal distribution list delivers to on-call staff. The step is done when a named person has confirmed receipt and the escalation path from that mailbox to the patch owner has been written down.

  7. Re-verify after each advisory and each client update

    After each new advisory or Cursor client update, repeat the mapping in the second step and confirm that the configuration baseline still holds, since a client update can reset or change settings. Keep a dated record of the advisory, the fixed version, the verified fleet count and any exceptions. Review the approved MCP and repository list at the same time. The step is complete when the record is updated and the security owner has signed the change. This loop is the ongoing work that a retainer or internal team carries after the first pass.

Gaps the approver should weigh

The Cursor advisory record shows what happened and how it was fixed, but it does not give an organization everything it needs to decide its own exposure. The four gaps below connect to one question: who in your organization will know, and how quickly, when a Cursor issue affects your installed software and your configuration.

No stated fix-time commitment

Cursor's security page states that vulnerability reports are acknowledged within 5 business days. It does not state a time to fix or a patch schedule for each severity. Acknowledgment only confirms that a report was received. Ask Cursor in writing for its target remediation windows by severity, whether they apply to Enterprise customers, and how it notifies customers when a fix ships. Record the answer in your vendor file so the approver knows what you were promised.

Cursor security page

Email-only incident notice

Cursor's security page states that critical incidents are communicated by email to affected users. That places the burden on your organization to route those emails to people who can act on them, and to confirm that the affected users on your tenant are the ones who receive them. Set up a monitored shared mailbox or ticket queue for vendor security email, and test that the address on each Cursor account is current. Do not treat an unread email as notice.

Advisories without preventive configuration

The published advisories describe sandbox escapes, prompt injection paths to code execution and approval bypasses, but the record does not say which admin setting or run mode would have blocked each one. Read each advisory against your own settings for run modes, MCP server approvals, terminal sandbox and repository access. Where the advisory does not map to a control, record that as an open risk and ask Cursor's security team which configuration reduces exposure until a patch is installed.

Cursor GitHub advisories

Advisory feed is not an asset inventory

A list of advisories tells you what Cursor has fixed, not which versions your staff have installed. Developers may run the desktop editor on laptops you do not manage, and cloud or self-hosted worker versions may differ from the desktop build. Build a version inventory from your endpoint management tool and from Cursor's admin reporting where available, then compare each installed version against the affected range listed in each advisory. Repeat that check whenever a new advisory is published.

Vendor questionnaire for patch evidence

Cursor holds SOC 2 Type II and ISO/IEC 27001:2022 certifications, and its security page points to reports at its trust center. Those reports cover controls over a period and do not prove that a specific advisory was patched on time in your environment. Add questions to your vendor questionnaire asking for the dates of recent releases, the process for emergency patches, and how customers verify that a fix is in place. Ask for written answers and keep them with the advisory watch log.

Cursor Trust Center

What a security reviewer asks to see and where it comes from

This table maps each piece of evidence a reviewer should request for Cursor to its source, whether that is the public GitHub advisory list, the vendor security page, the trust center or the admin console. Use it to separate what Cursor publishes openly from what must be asked for under NDA or confirmed inside your own tenant. The main takeaway is that advisory dates and patch records are public, while audit log exports and MCP and repository configuration evidence come from your own admin console.

Evidence itemWhere it comes fromWhat to request from Cursor
Advisory list with publication datesCursor's GitHub security advisories in the cursor/cursor repository, publicConfirm nothing is missing from the list and ask how advisories map to affected Cursor versions
Patch version records for each advisoryAdvisory entries and release notes in the cursor/cursor repositoryWritten confirmation of the first fixed version for each advisory your team has deployed
Vendor statement on report acknowledgmentcursor.com/security, which states reports are acknowledged within 5 business daysConfirmation this commitment applies to your contract or only to the public process
Vendor statement on critical incident noticecursor.com/security, which states critical incidents are communicated by email to affected usersNamed contact list for incident email and the notice window for your tenant
Upstream patch timingcursor.com/security, which states upstream security patches are released immediately where warrantedEvidence of past patch timing for prior advisories, such as the June and July 2026 sandbox escapes
Independent assurance reportstrust.cursor.com, where SOC 2 Type II and ISO-based reports are available on requestCurrent SOC 2 Type II report, scope statement and bridge letter covering the period you rely on
MCP server and tool access configurationEnterprise admin console, under MCP access controlsExported policy showing which MCP servers are allowed and whether manual re-approval is enforced
Repository access configurationEnterprise admin console, under repository access controlsExported list of repositories the agent can reach and who can change that list
Audit log exportsEnterprise admin console audit logs, which record administrative eventsSample export covering advisory-relevant changes and confirmation of what the log omits

Questions buyers ask before approving Cursor after these advisories

Do the published Cursor advisories block approval for our organization?

No advisory on its own settles the question. The advisories in the cursor/cursor repository include Critical sandbox escapes published June 5, 2026 and High advisories through August 2, 2025 covering prompt injection paths to code execution, so the decision depends on whether your installed versions are patched, how agents are allowed to run, and whether your controls limit what a compromised agent can reach. Ask Cursor which versions fix each advisory, confirm your fleet runs them, and record the residual risk your security lead accepts for each open item before approving wider use.

What can our own team do about Cursor advisories, and what should we pay outside help for?

Your own engineers can usually inventory installed Cursor versions, track the GitHub advisories, set update rules and restrict run modes, MCP servers and repository access where the admin settings allow it. Outside help is most useful for independent review of your configuration, testing of the agent setup against prompt injection and sandbox escape paths, and documenting evidence for a compliance assessment. DeployOpen plans and runs security testing of AI systems and agents and prepares compliance evidence, but it does not issue audit reports or certifications. Engagements are fixed-scope, so the written scope sets the price.

How long does a Cursor version audit take, and what drives the effort?

The effort depends on the number of machines and developer profiles, how many Cursor builds are in use, whether installs are managed centrally, and how many advisories affect the versions you find. Teams with a managed software inventory and a single standard build can verify quickly, while mixed personal installs, self-hosted cloud agent workers and unmanaged extensions take longer to trace. No duration is published in the sources used here, so ask for the audit steps and the expected number of endpoints in any written scope before committing a date.

Does the Cursor Enterprise plan reduce our exposure to these advisories?

Not by itself. The advisories apply to the Cursor product, and patching is what closes them. Cursor's pricing page lists SCIM seat management, audit logs, and repository, model and MCP access controls on Enterprise, and those controls can narrow what an agent can reach or who can install or enable MCP servers. Confirm with Cursor which of these controls would have limited each advisory's impact, and do not treat the plan tier as a substitute for version control. Enterprise pricing is custom, so obtain it from Cursor directly.

What does a security testing engagement of our Cursor agent setup cover?

A scoped engagement typically covers the configuration you choose to test: installed versions, run modes and approval settings, the terminal sandbox behavior on your operating systems, MCP servers and extensions, repository permissions, and the data paths the agent uses. DeployOpen runs security testing of AI systems and agents, including red teaming, so tests can target prompt injection through repository files, MCP and editor special files, symlink and path handling, and container or virtual environment abuse. The exact test cases, targets and deliverables are agreed in writing before work starts.

Which Cursor advisories should our engineers check first when they configure the tool?

Engineers should first review advisories that concern the boundary of the agent's sandbox, because those determine what a compromised agent can read or run. The advisories to check include the June 5, 2026 Critical sandbox escapes (GHSA-3v8f-48vw-3mjx and GHSA-3p48-7v9f-v5cw), the July 14, 2026 High escapes via tampered Python virtual environments and privileged containers (GHSA-p9g2-cr55-cw9c and GHSA-v4xv-rqh3-w9mc), and the 2025 prompt injection advisories involving MCP and editor special files. Confirm each fixed version, then check your configuration against the same boundary.

How will we know about new Cursor advisories after we approve it?

Watch the security advisories section of the cursor/cursor repository on GitHub, which lists the advisories Cursor publishes for the product. Cursor's security page states that vulnerability reports are acknowledged within 5 business days and that critical incidents are communicated by email to affected users, so make sure the admin and security mailboxes that receive those emails are monitored. Assign an owner to review new entries, map each to your installed versions, and set a patch deadline in your internal policy. Ask Cursor how it notifies enterprise customers beyond these channels.

How DeployOpen helps you test and govern Cursor's agent setup

DeployOpen works with your security and engineering leads to turn Cursor's published advisories into a tested configuration, a patch routine and written evidence for your own review. We scope the work in writing before anything starts, and we test the sandbox, approval and MCP settings against the advisory classes your organization is most exposed to.

How we scope

  • We agree in writing which Cursor plan, run modes, MCP servers and developer endpoints are in scope.
  • We map each published advisory class to the controls your environment already enforces or lacks.
  • Engagements are fixed-scope, so deliverables and timelines are confirmed before work begins.

How we build

  • We test sandbox escape paths, Git hook and symlink handling, and MCP approval behavior on your configured clients.
  • We run prompt injection scenarios through repository files and MCP special files to check approval prompts.
  • We check whether the Cursor version in use includes the fixes named in each advisory before sign-off.

How we hand over

  • You receive a written test report, an advisory-to-control map and a patch and version check procedure.
  • Configuration guidance covers the admin settings your Enterprise plan exposes, with items to confirm in your tenant.
  • Your team keeps the runbook for monitoring the cursor/cursor advisories page and acting on critical notices.

How we support

  • Ongoing support and upgrade checks are available as a retainer after handover.
  • Continuous testing can be added so new Cursor advisories are reviewed against your configuration.
  • DeployOpen prepares evidence for your compliance reviewers, while independent auditors issue any attestations.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.