CVE-2025-32018HIGH 8.0EPSS p23.7%

CVE-2025-32018CVE-2025-32018

Description

Cursor is a code editor built for programming with AI. In versions 0.45.0 through 0.48.6, the Cursor app introduced a regression affecting the set of file paths the Cursor Agent is permitted to modify automatically. Under specific conditions, the agent could be prompted, either directly by the user or via maliciously crafted context, to automatically write to files outside of the opened workspace. This behavior required deliberate prompting, making successful exploitation highly impractical in real-world scenarios. Furthermore, the edited file was still displayed in the UI as usual for user review, making it unlikely for the edit to go unnoticed by the user. This vulnerability is fixed in 0.48.7.

Scoring

CVSS 3.18.0 (HIGH)
VectorCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS0.32% probability of exploitation · percentile 23.7% · 2026-06-19T12:03:05Z
Published2025-04-08
Last modified2026-04-15

Underlying weaknesses· 1

CWE-22

References

  1. https://github.com/getcursor/cursor/security/advisories/GHSA-qjh8-mh96-fc86

1

TypeTargetConfidenceTier
WeaknessImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal')cwe-220%live

Related by meaning· 6

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

CVE
CVE-2025-64108
CVE
CVE-2025-54135
CVE
CVE-2025-54130
CVE
CVE-2025-61593
CVE
CVE-2025-64107
CVE
CVE-2026-31854
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.