← 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.

New advisories, CVEs and fixes for Lovable, Bolt, v0, Replit, Base44 and Cursor apps. No roundups of things you already read.