ExploitPublished
Critical Flaws Found in Four VS Code Extensions with Over 125 Million Installs
Source The Hacker News
0
Mentioned vulnerabilities
Severity
CriticalRated by Threat Radar
Data as of 18 Feb 2026, 15:28 UTC
What to do
AI-suggested
- Immediately audit all installed VS Code extensions and uninstall or disable Live Server, Code Runner, and Markdown Preview Enhanced until patches are available.
- Restrict localhost network access by configuring host-based firewalls to block unauthorized inbound and outbound connections to localhost ports used by these extensions.
- Educate developers to avoid visiting untrusted websites or opening unverified markdown files while vulnerable extensions are enabled.
- Enforce strict policies against applying untrusted or unsolicited configuration changes, especially modifications to "settings.json" files.
- Monitor network traffic for unusual outbound connections from developer machines to detect potential exfiltration attempts.
- Regularly check for and apply updates to VS Code extensions, prioritizing security patches.
- Implement endpoint detection and response (EDR) solutions capable of detecting suspicious script execution and lateral movement behaviors.
- Consider isolating development environments using virtual machines or containers to limit the blast radius of potential exploitation.
- Collaborate with internal security teams to conduct threat hunting focused on exploitation indicators related to these vulnerabilities.
- Engage with Microsoft and extension maintainers to track patch releases and validate their effectiveness before re-enabling extensions.
Description
Cybersecurity researchers have disclosed multiple security vulnerabilities in four popular Microsoft Visual Studio Code (VS Code) extensions that, if successfully exploited, could allow threat actors to steal local files and execute code remotely. The extensions, which have been collectively installed more than 125 million times, are Live Server, Code Runner, Markdown Preview Enhanced, and
References
Community reviews
Loading reviews…