← All advisories

CVE-2025-53773highPrompt injection2025-08-12

CVE-2025-53773: GitHub Copilot prompt injection to code execution

Command injection in GitHub Copilot and Visual Studio let an attacker run code on a developer’s machine. Embrace The Red showed it starting from a prompt injection in project content.

01.

What it is

NVD: “Improper neutralization of special elements used in a command (‘command injection’) in GitHub Copilot and Visual Studio allows an unauthorized attacker to execute code locally.”

Embrace The Red’s write-up, published the same day as the fix, describes a prompt injection that leads to full compromise of the developer’s machine.

02.

How to check

  1. Check that VS Code, Visual Studio and the Copilot extensions are on versions released after August 2025.
03.

How to fix

  1. Install the August 2025 updates.
  2. Review agent edits to workspace settings files before accepting them.
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.