EXECUTIVE SUMMARY:
A high-severity vulnerability has been identified in Cursor, the AI-powered code editor built on Visual Studio Code, which exposes users to prompt injection attacks through its integrated AI assistant, Copilot Chat. Tracked as CVE-2025-54135, the flaw arises from insecure handling of user input and AI prompts, potentially enabling attackers to execute arbitrary shell commands or exfiltrate sensitive data.
This Cursor IDE flaw highlights the risks of AI-assisted development tools and emphasizes the need to apply prompt injection defenses and avoid untrusted project files.
RECOMMENDATION:
REFERENCES:
The following reports contain further technical details: