CVE-2025-49714 Visual Studio Code Python Extension Remote Code Execution Vulnerability

High 7.8 Published Updated

An attacker can execute arbitrary code locally by exploiting a trust boundary violation in the Visual Studio Code Python extension.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-49714?

CVE-2025-49714 is a high-severity code injection vulnerability in Microsoft Python extension for Visual Studio Code, published on 8 Jul 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Trust boundary violation in Visual Studio Code - Python extension allows an unauthorized attacker to execute code locally.

Weakness: CWE-501

Which versions are affected by CVE-2025-49714?

It affects 1 product.

Products include Microsoft Python.

How do I fix CVE-2025-49714?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-49714 being exploited?

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

Sources

Is CVE-2025-49714 in your software?

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

Check your SBOMs for free