Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-54981high7.8

Visual Studio Code Python Extension Security Feature Bypass Vulnerability

Impact

The Python extension for Visual Studio Code, version 2020 before 2026.3.1, has a security feature bypass vulnerability due to inclusion of functionality from an untrusted control sphere, allowing a local attacker to bypass security features. The exact impact is unclear.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Affected packages

This source has no supported package-version data for matching. You can read the advisory here, but this record alone cannot power a dependency check.

Affected products

Vendor version evidence. Product records are separate from automatic dependency matching.

Microsoft · microsoft

Python extension for Visual Studio Code

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

2020 → before 2026.3.1

custom versions

unaffected

unknown

Other versions: unknown

Original source description

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

Inside the record

Evidence available

Package identity · not supplied
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-54981

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-829 ↗

CWE-829: Inclusion of Functionality from Untrusted Control Sphere

microsoft

Related →
CWE-693 ↗

CWE-693: Protection Mechanism Failure

microsoft

Related →

Environment requirements

These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.

microsoft · platform conditions

Any condition may hold

Vulnerable product

cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:python:*:*

From (inclusive): 2020

Before: 2026.3.1

Original applicability statements
[
  {
    "nodes": [
      {
        "operator": "OR",
        "negate": false,
        "cpeMatch": [
          {
            "vulnerable": true,
            "criteria": "cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:python:*:*",
            "versionStartIncluding": "2020",
            "versionEndExcluding": "2026.3.1"
          }
        ]
      }
    ]
  }
]
Contributing organizations · 2
microsoft

Assigning organization

2026-10-30
CISA-ADP

Additional data publisher

2026-08-12

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.

References

1 sources