Inclusion of Functionality from Untrusted Control Sphere in Python extension for Visual Studio Code - CVE-2026-54981

 

Inclusion of Functionality from Untrusted Control Sphere in Python extension for Visual Studio Code - CVE-2026-54981

Published: August 13, 2026


Vulnerability identifier: #VU142260
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-54981
CWE-ID: CWE-829
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to inclusion of functionality from untrusted control sphere in Visual Studio Code Python Extension. A remote attacker can trick a victim to open a specially crafted file and bypass a security feature on the system.


Affected software

Python extension for Visual Studio Code

How to mitigate CVE-2026-54981

Install updates from vendor's website.

Python extension for Visual Studio Code - update to 1.132.1

External References

Related Security Bulletins