SB2026071709 - Multiple vulnerabilities in Visual Studio Code



SB2026071709 - Multiple vulnerabilities in Visual Studio Code

Published: July 17, 2026

Security Bulletin ID SB2026071709
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 5
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 60% Low 40%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 5 vulnerabilities.


1) Insufficiently protected credentials (CVE-ID: CVE-2026-47282)

CWE-ID: CWE-522 - Insufficiently Protected Credentials

CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to insufficiently protected credentials in GitHub Copilot credential handling in Visual Studio Code when opening a malicious file in vscode. A remote attacker can entice a user to open a crafted file to disclose sensitive information.

User interaction is required to open a malicious file.


2) Path traversal (CVE-ID: CVE-2026-45496)

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a local attacker to bypass a security feature.

The vulnerability exists due to path traversal in sensitive file protections when handling crafted pathnames. A local attacker can supply a pathname that traverses outside a restricted directory to bypass a security feature.

The bypass affects Visual Studio Code sensitive file protections.


3) Command injection (CVE-ID: CVE-2026-50520)

CWE-ID: CWE-77 - Command injection

CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a local attacker to execute arbitrary code.

The vulnerability exists due to command injection in Visual Studio Code when executing commands with improper neutralization of special elements. A local attacker can inject crafted command elements to execute arbitrary code.

Exploitation requires code to be executed from the local machine.


4) Cross-site scripting (CVE-ID: CVE-2026-57101)

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green


The vulnerability allows a local attacker to bypass a security feature.

The vulnerability exists due to cross-site scripting in web page generation in Visual Studio Code when rendering input. A local attacker can inject specially crafted input to bypass a security feature.


5) Inclusion of Functionality from Untrusted Control Sphere (CVE-ID: CVE-2026-57102)

CWE-ID: CWE-829 - Inclusion of Functionality from Untrusted Control Sphere

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to bypass a security feature.

The vulnerability exists due to inclusion of functionality from an untrusted control sphere in Visual Studio Code when handling network input. A remote attacker can send crafted data to bypass a security feature.


Remediation

Install update from vendor's website.