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

High 7.8 Published Updated

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.

Weakness: CWE-829, CWE-693

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.

Sources

Also known as GHSA-pwwh-635g-q245.

Is CVE-2026-54981 in your software?

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

Check your SBOMs for free