CVE-2025-61591
Last modified
CVE-2025-61591 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 1.11% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Anysphere | Cursor | <= 1.7 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-61591?
How severe is CVE-2025-61591?
How do I fix CVE-2025-61591?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-61586FreshRSS is a free, self-hostable RSS aggregator. Versions 1…5.3
- CVE-2025-61587Weblate is a web based localization tool. An open redirect e…6.1
- CVE-2025-61588RISC Zero is a zero-knowledge verifiable general computing p…9.3
- CVE-2025-61589Cursor is a code editor built for programming with AI. In ve…5.9
- CVE-2025-6159A vulnerability classified as critical was found in code-pro…9.8
- CVE-2025-61590Cursor is a code editor built for programming with AI. Versi…7.5
- CVE-2025-61592Cursor is a code editor built for programming with AI. In ve…8.8
- CVE-2025-61593Cursor is a code editor built for programming with AI. In ve…8.8
- CVE-2025-61594URI is a module providing classes to handle Uniform Resource…7.5
- CVE-2025-61595MANTRA is a purpose-built RWA Layer 1 Blockchain, capable of…8.8
- CVE-2025-61596Rejected reason: This is a fork and is not in the Rust regis…
- CVE-2025-61597Emlog is an open source website building system. In versions…5.4
Are you affected by CVE-2025-61591?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
