Skip to content
MediumNewsLLM-specific

GitHub Copilot: Remote Code Execution via Prompt Injection (CVE-2025-53773)

Published
Record updated
View JSON

Summary

This post describes a prompt injection flaw in GitHub Copilot and VS Code, tracked as CVE-2025-53773, that leads to full system compromise of the developer's machine. The attack places Copilot into YOLO mode by modifying the project's settings.json file. The author notes that agents able to write files and alter their own configuration or security-relevant settings can reach remote code execution, a pattern similar to one recently described for Amp.