Skip to content
EventPast event

VS Code vulnerability: prompt injection causes Copilot Agent to modify configuration and execute commands

1 reports1 reporting sourcesLatest report

Start here

AI overview

Microsoft MSRC published a VS Code vulnerability advisory CVE-2026-102232 on October 13, classifying it as a security feature bypass with a CVSS 3.1 score of 7.0, severity Important, and has provided an official fix. The advisory states that an attacker can provide specially crafted content for an AI coding agent to process, and upon success, modify configured lifecycle-hook files without the expected confirmation, potentially allowing command execution as the user. Successful exploitation requires multiple conditions to be met simultaneously, including prompt injection, Copilot Agent interaction, and triggering a build.

Generated by AI from reports · Updated 2026-10-14

Progress timeline

Oct 13
  1. Microsoft
    MSRC discloses VS Code vulnerability CVE-2026-102232: prompt injection can allow Copilot Agent to modify lifecycle-hook files without confirmation

    Microsoft MSRC published a VS Code vulnerability advisory CVE-2026-102232 on October 13, classifying it as a security feature bypass, with a CVSS 3.1 score of 7.0, severity Important, and has provided an official fix. The advisory states that an attacker can provide specially crafted content for an AI coding agent to process, and upon success, modify configured lifecycle-hook files without the expected confirmation, potentially allowing command execution as the user. Successful exploitation requires multiple steps including prompt injection, Copilot Agent interaction, and triggering a build, with high attack complexity and user interaction required. The advisory states that the vulnerability was not publicly disclosed, no exploitation has been found, and thanks the reporter Max van Amersfort.

Related discussion

Total 1 items