Skip to main content

Visual Studio Code CVE-2026-45496

| EUVDEUVD-2026-43993 MEDIUM
Path Traversal (CWE-22)
2026-07-14 microsoft GHSA-m7vq-9w86-qx38
5.5
CVSS 3.1 · NVD
Temporal: 4.8
Share

Severity by source

Vendor (microsoft) PRIMARY
MEDIUM
qualitative
NVD
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
ENISA EUVD
HIGH
qualitative
CIRCL (temporal)
4.8 MEDIUM
cvss
vuln.today AI
5.5 MEDIUM

Local-only attack requiring an existing low-privilege account; read-only traversal yields high confidentiality but zero integrity or availability impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Analysis Generated
Jul 22, 2026 - 17:44 vuln.today
CVE Published
Jul 14, 2026 - 17:04 nvd
MEDIUM 5.5

DescriptionNVD

Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

AnalysisAI

Path traversal in Microsoft Visual Studio Code (all versions from 1.0.0 up to 1.128.1) enables a locally-authenticated low-privilege attacker to bypass a file-system security boundary and read files outside a restricted directory, resulting in high confidentiality impact. The vulnerability is rated CVSS 5.5 Medium and is limited to local attack vectors, requiring PR:L authenticated access. No public exploit code or active exploitation has been identified at time of analysis; EPSS stands at 0.45% and SSVC designates exploitation status as none, making this a lower-priority remediation item despite the High confidentiality impact rating.

Technical ContextAI

Visual Studio Code is an Electron/Node.js-based code editor that enforces security boundaries such as workspace trust and restricted file-system scopes to prevent unauthorized access to files outside the intended working context. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) describes the root cause: the application fails to adequately canonicalize or sanitize user-controlled path inputs, allowing traversal sequences to escape the restricted directory boundary. The affected product is fully identified via CPE cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*, encompassing all platform variants (Windows, macOS, Linux) running versions from 1.0.0 through 1.128.0. The vulnerability produces no integrity or availability impact - it is a read-primitive only - consistent with a directory escape that exposes file content without enabling writes or process disruption.

RemediationAI

The primary remediation is upgrading Visual Studio Code to version 1.128.1 or later, which contains the vendor-released patch as confirmed by the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-45496. Users can update via the VS Code built-in updater (Help > Check for Updates) or by downloading the latest release directly from the official Microsoft distribution channel. For environments where immediate upgrade is not feasible, compensating controls include restricting local system access to trusted users only (reducing the pool of potential PR:L attackers), enabling OS-level file-system access controls (ACLs/permissions) to limit what files the VS Code process can reach even if traversal occurs, and reviewing VS Code workspace trust settings to minimize the attack surface. Note that these compensating controls reduce exposure but do not eliminate the underlying path traversal flaw. Additional detail is available via NVD at https://nvd.nist.gov/vuln/detail/CVE-2026-45496.

CVE-2022-41034 HIGH POC
7.8 Oct 11

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2022-30129 HIGH POC
8.8 May 10

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely e

CVE-2026-81376 CRITICAL
9.6 Sep 08

Security-feature bypass in Microsoft Visual Studio Code before 1.136.2 lets a remote, unauthenticated attacker defeat a

CVE-2026-47281 CRITICAL
9.6 Jun 09

Privilege escalation in Microsoft Visual Studio Code allows remote unauthenticated attackers to elevate privileges over

CVE-2026-57102 HIGH
8.8 Jul 14

Security-feature bypass in Microsoft Visual Studio Code lets a remote attacker deliver functionality from an untrusted c

CVE-2026-59113 HIGH
8.8 Aug 11

Remote code execution in Visual Studio Code (versions 1.0.0 through 1.132.0) is enabled by a missing authorization check

CVE-2026-70336 HIGH
8.8 Aug 11

Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary co

CVE-2026-78462 HIGH
8.8 Sep 08

Authorization bypass in Visual Studio Code versions 1.0.0 through 1.136.1 allows an unauthenticated network attacker to

CVE-2026-69320 HIGH
8.8 Aug 11

OS command injection in Visual Studio Code exposes victims to remote code execution when they interact with attacker-con

CVE-2026-41109 HIGH
8.8 May 12

Security-feature bypass in GitHub Copilot and Visual Studio (affecting Visual Studio Code builds before 1.119.1) lets a

CVE-2026-41613 HIGH
8.8 May 12

Privilege elevation in Microsoft Visual Studio Code (all releases from 1.0.0 up to but not including 1.119.1) stems from

CVE-2024-43488 CRITICAL
9.8 Oct 08

Missing authentication for critical function in Visual Studio Code extension for Arduino allows an unauthenticated attac

Share

CVE-2026-45496 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy