CVE-2026-31854HIGH 8.8EPSS p19.2%

CVE-2026-31854CVE-2026-31854

Description

Cursor is a code editor built for programming with AI. Prior to 2.0 ,if a visited website contains maliciously crafted instructions, the model may attempt to follow them in order to “assist” the user. When combined with a bypass of the command whitelist mechanism, such indirect prompt injections could result in commands being executed automatically, without the user’s explicit intent, thereby posing a significant security risk. This vulnerability is fixed in 2.0.

Scoring

CVSS 3.18.8 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS0.28% probability of exploitation · percentile 19.2% · 2026-06-18T12:00:27Z
Published2026-03-11
Last modified2026-03-20

Underlying weaknesses· 1

CWE-78

References

  1. https://github.com/cursor/cursor/security/advisories/GHSA-hf2x-r83r-qw5q

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements used in an OS Command ('OS Command Injection')cwe-780%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-22708
CVE
CVE-2025-54131
CVE
CVE-2025-32018
CVE
CVE-2025-61592
CVE
CVE-2025-61593
CVE
CVE-2025-54130
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.