All incidents / AIA-013

Cursor agent: writing MCP config files without approval enabled code execution (CVE-2025-54135), per Cursor advisory

ID
AIA-013
Category
AI AI agent incident
Disclosed
2025-08
Systems
Cursor
Harm type
Prompt injection / code exec
Status
fixed
Cursor advisory GHSA-4cxx-hrm3-49rm lists patched version 1.3.9.
CVE
CVE-2025-54135
CISA KEV
Not in CISA KEV as of catalog 2026.10.30
Checked 2026-10-31 against catalog 2026.10.30

Summary

Cursor's advisory says "Cursor allows writing in-workspace files with no user approval" and that, if chained with a prompt injection, this "could allow the writing of sensitive MCP files on the host by the agent." Affected versions are ≤1.2.1, and it was patched in 1.3.9.

Controls

Controls that could prevent, detect, or support recovery from this kind of failure. Mappings are editorial judgments made by the method, not findings about what any party should have done.

NIST AI RMF

NIST SP 800-53

Human-approval (JCR) checkpoint

yes: file writes that lead to command execution

Correlated incidents

Co-occurrence, not cause: each link records something the two incidents share, as its rationale and source state. It does not say one incident caused the other. Links are written on one record; the other record shows the same link marked derived.

Sources

Corrections

No corrections recorded.

To report an error in this entry, see corrections.