Skip to main content
ExploitPublished

Critical Flaws Found in Four VS Code Extensions with Over 125 Million Installs

Source The Hacker News

0

Mentioned vulnerabilities

Severity
Critical

Rated by Threat Radar

Data as of 18 Feb 2026, 15:28 UTC

What to do

AI-suggested

  1. Immediately audit all installed VS Code extensions and uninstall or disable Live Server, Code Runner, and Markdown Preview Enhanced until patches are available.
  2. Restrict localhost network access by configuring host-based firewalls to block unauthorized inbound and outbound connections to localhost ports used by these extensions.
  3. Educate developers to avoid visiting untrusted websites or opening unverified markdown files while vulnerable extensions are enabled.
  4. Enforce strict policies against applying untrusted or unsolicited configuration changes, especially modifications to "settings.json" files.
  5. Monitor network traffic for unusual outbound connections from developer machines to detect potential exfiltration attempts.
  6. Regularly check for and apply updates to VS Code extensions, prioritizing security patches.
  7. Implement endpoint detection and response (EDR) solutions capable of detecting suspicious script execution and lateral movement behaviors.
  8. Consider isolating development environments using virtual machines or containers to limit the blast radius of potential exploitation.
  9. Collaborate with internal security teams to conduct threat hunting focused on exploitation indicators related to these vulnerabilities.
  10. 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…