Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-50548: Cursor is a code editor built for programming with AI

58
This month
CRITICAL 9.8REMOTEUPGRADE

CVE-2026-50548 is a critical-severity flaw (CVSS 9.8) affecting cursor. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Cursor is a code editor built for programming with AI. Prior to 3.0, Cursor runs agent terminal commands in a sandbox by default, and the sandbox grants write access to the command's working directory. A flaw was identified in how the agent could modify the working_directory parameter, which could cause the sandbox to include writable paths outside the intended workspace. A malicious agent could set working_directory to a sensitive location and w

Why this priority

  • Critical severity
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.0% (top 37%)
CISA exploited listNo
WeaknessCWE-22
Published2026-06-25
Last modified2026-06-26
Publisher (CNA): GitHub, Inc. · Vendor: anysphere

Share: LinkedIn · X · Reddit

Last updated 2026-06-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

anysphere cursor UPGRADE
Affected: < 3.0
Fixed in: 3.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy cursor || rpm -q cursor || cursor --version
2. UPGRADE to 3.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade cursor
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade cursor
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Fedora 46 · arm-none-eabi-binutils-cs · FIXED · 2.47-1.fc46 · FEDORA-2026-7498616952 · source
sudo dnf upgrade --advisory=FEDORA-2026-7498616952
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-50548?

cursor: upgrade to 3.0. Exact commands for each OS are on this page.

Is CVE-2026-50548 being exploited?

CVE-2026-50548 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-50548 affect?

CVE-2026-50548 affects cursor. Severity is critical (CVSS 9.8). Cursor is a code editor built for programming with AI. Prior to 3.0, Cursor runs agent terminal commands in a sandbox by default, and the sandbox grants write access to the command's working directory. A flaw was identified in how the agent

How urgent is CVE-2026-50548?

Priority 58/100. Critical severity; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.