CVE-2026-54981 Visual Studio Code Python Extension Security Feature Bypass Vulnerability
An attacker can bypass security features in the VS Code Python extension by including functionality from an untrusted control sphere.
- 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-2026-54981?
CVE-2026-54981 is a high-severity vulnerability in Microsoft Python extension for Visual Studio Code, published on 11 Aug 2026. 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
Inclusion of functionality from untrusted control sphere in Visual Studio Code - Python extension allows an unauthorized attacker to bypass a security feature locally.
Which versions are affected by CVE-2026-54981?
It affects 1 product.
Products include Microsoft Python.
How do I fix CVE-2026-54981?
No fix has been published for CVE-2026-54981 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-54981 being exploited?
There is no known exploitation of CVE-2026-54981 in the wild and no public exploit code.
Other vulnerabilities in Microsoft Python extension for Visual Studio Code
- CVE-2024-49050 Visual Studio Code Python Extension Remote Code Execution Vulnerability
- CVE-2020-1171 Visual Studio Code Python Extension Remote Code Execution Vulnerability
- CVE-2025-49714 Visual Studio Code Python Extension Remote Code Execution Vulnerability
- CVE-2020-17163 Visual Studio Code Python Extension Remote Code Execution Vulnerability
- CVE-2020-1192 Visual Studio Code Python Extension Remote Code Execution Vulnerability
Sources
Also known as GHSA-pwwh-635g-q245.