CVE-2025-21264

Visual Studio Code Security Feature Bypass Vulnerability

7.1 high EPSS 0.79%

Published 13 May 2025 Updated 13 Feb 2026 CNA: microsoft

Description

Files or directories accessible to external parties in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

Severity (CVSS)

7.1 high CVSS 3.1 from microsoft (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N/E:U/RL:O/RC:C
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.79%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 57.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 13 May 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-552 Files or Directories Accessible to External Parties

Affected products

As the CNA lists them.

ProductVersions
Microsoft Visual Studio Code CoPilot Chat Extension
affected from 0.27.0, before 0.27.2
Visual Studio Code
affected from 1.0.0, before 1.100.1

Is my server affected?

This CVE is in Microsoft Visual Studio Code CoPilot Chat Extension of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Source: the record CVE-2025-21264 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.