Anysphere Cursor — CVE-2026-50549 (Critical)

Date Jun 25, 2026
Type Vendor advisory
Signal Critical vendor advisory
Vendor / Product Anysphere · Cursor
CVE CVE-2026-50549
Critical vendor advisory CVE-2026-50549

Summary

Cursor is a code editor built for programming with AI. Prior to 3.0, Cursor runs agent terminal commands in a sandbox by default. Before a Write, the agent canonicalizes the target path to confirm it stays inside the workspace, but when canonicalization fails it falls back to the original path and writes without approval. A malicious agent can create an in-workspace symlink that points outside the workspace and force canonicalization to fail — either because the target does not exist or because read permission is removed from the path — so the agent writes through the symlink to an arbitrary l

Why it matters

This CVE carries a CRITICAL severity rating (CVSS 9.8) in Anysphere Cursor. Patch or mitigate promptly. EPSS percentile: 40%.

Operator check

Review CVE-2026-50549 in your asset inventory. Apply patches per vendor guidance and verify Cursor is not exposed. CVSS score: 9.8. EPSS probability: 0.5%; percentile: 40%.

Sources

PatchBrief uses public sources. It does not scan environments, verify exposure, or replace vendor guidance.