Visual Studio Code Python Extension Remote Code Execution Vulnerability

Check todayFull system takeover over the network if a user is tricked.
8.8HIGH

Key Information:

Vendor

Microsoft

CVE ID
CVE ID:
CVE-2024-49050
Vendor
CVE Published:
12 November 2024
Fixed in
Fixed in:
2024.18.2

Timeline

  • Vulnerability published

How risky is it?

  • Partly: Works over the network, but a user must act
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
Python extension for Visual Studio Code Unknown 2020 to below 2024.18.2 is vulnerable
Install Python extension for Visual Studio Code Unknown 2024.18.2 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Python extension for Visual Studio Code Unknown. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8.8).

What is CVE-2024-49050?

The vulnerability in the Visual Studio Code Python Extension allows for remote code execution, which can be exploited by attackers to execute arbitrary code on the affected system without requiring user interaction. This flaw can potentially lead to significant security breaches, as malicious actors may utilize it to gain unauthorized access to sensitive data or control over systems running the extension. Users of Visual Studio Code are recommended to update their installations and Python extensions to the latest versions provided by Microsoft to mitigate the risk associated with this vulnerability.

References

Remote Code Execution Vulnerability in Microsoft Office Visio

CVE-2026-112732
MicrosoftMicrosoft 365 Apps For...9.8CRITICAL

Improper Authentication in Azure Event Grid

CVE-2026-62841
MicrosoftAzure Event Grid SystemπŸ˜„10CRITICAL

Improper Authorization in Microsoft Office SharePoint

CVE-2026-120002
MicrosoftMicrosoft Sharepoint S...9.9CRITICAL
View more Microsoft vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
.