cvedb.io
CVE-2025-61591
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2025-10-03T17:15:47.853 · Last modified 2026-06-17T09:50:36.873

Summary

Cursor is a code editor built for programming with AI. In versions 1.7 and below, when MCP uses OAuth authentication with an untrusted MCP server, an attacker can impersonate a malicious MCP server and return crafted, maliciously injected commands during the interaction process, leading to command injection and potential remote code execution. If chained with an untrusted MCP service via OAuth, this command injection vulnerability could allow arbitrary code execution on the host by the agent. This can then be used to directly compromise the system by executing malicious commands with full user privileges. This issue does not currently have a fixed release version, but there is a patch, 2025.09.17-25b418f.

Affected products

anysphere — cursor

Does this affect you?

Add your gear to cvedb and we'll alert you only when anysphere ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.