Thursday, October 22, 2026

GitHub Copilot RCE Vulnerability via Prompt Injection Enables Full System Compromise

A critical security vulnerability in GitHub Copilot has been disclosed, allowing attackers to achieve remote code execution and complete system compromise through sophisticated prompt injection techniques.

The vulnerability, tracked as CVE-2025-53773, was patched by Microsoft in the August 2025 Patch Tuesday release following responsible disclosure by security researchers.

Vulnerability Mechanics and Attack Vector

The vulnerability exploits GitHub Copilot’s ability to modify project files without user approval, specifically targeting the .vscode/settings.json configuration file.

By injecting malicious prompts into source code files, web pages, or GitHub issues, attackers can manipulate Copilot into adding the line “chat.tools.autoApprove”: true to the settings file, effectively placing the AI assistant into “YOLO mode”.

AttributeDetails
CVE IDCVE-2025-53773
SeverityImportant (CVSS 7.8/6.8)
ImpactRemote Code Execution
VectorLocal/Low Complexity/No Privileges Required
WeaknessCWE-77: Command Injection
CVSS StringCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

Once activated, this experimental feature disables all user confirmations for Copilot operations, enabling the AI to execute shell commands, browse the web, and perform other privileged actions without oversight.

The attack chain progresses from initial prompt injection to immediate file modification, followed by unrestricted command execution with full system privileges.

Security researcher demonstrations show the vulnerability successfully compromising Windows, macOS, and Linux systems, with attackers able to target specific operating systems through conditional prompt injection techniques.

The proof-of-concept includes opening calculator applications and establishing remote command-and-control connections, illustrating the severity of potential exploitation.

Beyond basic command execution, researchers identified several sophisticated attack vectors. The vulnerability enables the creation of AI viruses that can propagate through infected repositories, automatically embedding malicious instructions in new projects as developers interact with compromised code.

Attackers demonstrated the ability to recruit developer workstations into botnets, creating “ZombAI” networks of compromised systems.

Copilot can be hijacked to download malware, and join a remote command and control server
Copilot can be hijacked to download malware, and join a remote command and control server

The attack surface extends beyond the primary YOLO mode exploitation. Researchers discovered additional vulnerabilities involving .vscode/tasks.json manipulation and malicious MCP server injection, all leveraging Copilot’s unrestricted file modification capabilities.

Invisible Unicode-based prompt injections were also demonstrated, though with reduced reliability compared to visible comment-based attacks.

Microsoft confirmed the vulnerability reproduction and implemented fixes in the August 2025 security update. The patch addresses the core issue of unrestricted file modification by requiring user approval for configuration changes that affect security settings.

The vulnerability was initially reported on June 29, 2025, through responsible disclosure channels, with Microsoft acknowledging it as part of an existing tracking initiative.

Security researcher Markus Vervier from Persistent Security independently identified and reported similar findings to Microsoft’s Security Response Center.

This incident highlights the emerging security challenges associated with AI-powered development tools and the need for robust permission models in agent-based systems.

AWS Security Services: 10-Point Executive Checklist - Download for Free

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Gemini-Compatible AI Browsers Could Help Scammers Run Thousands of Fake Accounts, Researchers Warn

Antidetect browsers tools that create separate browser profiles with...

Industrial Defender Unifies Endpoint Intelligence and Network Monitoring for CIP-015, Adds Risk Signal

Orlando, Florida, United States, October 20th, 2026, CyberNewswire Industrial Defender...

Gentlemen Ransomware Hackers Hijack Legitimate Lenovo Drivers to Disable Security Software

The Gentlemen ransomware operation is abusing legitimate Lenovo and...

Cloudflare Warns of Active Exploitation Attempts Against Two Leaked PHP Flaws

Cloudflare has issued a warning about emerging attacks targeting...

BRONZE SANDCASTLE Hackers Steal Active Directory Database Using Hidden Windows Backdoors

BRONZE SANDCASTLE intrusions involving hidden Windows backdoors and the...

Google Chrome 156 Fixes 353 Security Vulnerabilities, Including 6 Critical Flaws

Google released Chrome version 156 to the stable channel...

Related Articles

Recent News