Vulnerability · Published Aug 11, 2026 · Assigned by microsoft

CVE-2026-54981Visual Studio Code Python Extension Security Feature Bypass Vulnerability

High 7.8

In plain English

A high-severity security flaw in Python extension for Visual Studio Code from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities).

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.5%top 59.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Inclusion of functionality from untrusted control sphere in Visual Studio Code - Python extension allows an unauthorized attacker to bypass a security feature locally.

Affected products (as reported)

VendorProductVersions
Microsoft Python extension for Visual Studio Code 2020 – before 2026.3.1

Weakness: CWE-829, CWE-693 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

References