CVE-2025-55319 Agentic AI and Visual Studio Code Remote Code Execution Vulnerability

High 8.8 Published Updated

An attacker can execute arbitrary code remotely via command injection in Agentic AI within Visual Studio Code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-55319?

CVE-2025-55319 is a high-severity command injection vulnerability in Microsoft Visual Studio Code, published on 12 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Ai command injection in Agentic AI and Visual Studio Code allows an unauthorized attacker to execute code over a network.

Weakness: CWE-77

Which versions are affected by CVE-2025-55319?

It affects 1 product.

Products include Microsoft Visual Studio Code.

How do I fix CVE-2025-55319?

No fix has been published for CVE-2025-55319 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-55319 being exploited?

There is no known exploitation of CVE-2025-55319 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Microsoft Visual Studio Code vulnerabilities

Sources

Also known as GHSA-gv2h-mcrv-w23w.

Is CVE-2025-55319 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free