CVE-2024-49050 Visual Studio Code Python Extension Remote Code Execution Vulnerability

High 8.8 Published Updated

Attackers can execute arbitrary code via the Visual Studio Code Python extension, posing a risk to developers using this tool.

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-2024-49050?

CVE-2024-49050 is a high-severity code injection vulnerability in Microsoft Python extension for Visual Studio Code, published on 12 Nov 2024. 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

Visual Studio Code Python Extension Remote Code Execution Vulnerability

Weakness: CWE-501

Which versions are affected by CVE-2024-49050?

It affects 1 product.

Products include Microsoft Python.

How do I fix CVE-2024-49050?

No fix has been published for CVE-2024-49050 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-2024-49050 being exploited?

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

Sources

Also known as GHSA-36jr-8w83-wr8q.

Is CVE-2024-49050 in your software?

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

Check your SBOMs for free