CVE-2026-45496
Received Received - Intake

BaseFortify

Vulnerability report for CVE-2026-45496, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-14

Last updated on: 2026-07-14

Assigner: Microsoft Corporation

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-14
Last Modified
2026-07-14
Generated
2026-07-14
AI Q&A
2026-07-14
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
microsoft visual_studio_code *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-45496 is a path traversal vulnerability in Microsoft Visual Studio Code. This vulnerability involves improper limitation of a pathname to a restricted directory, which is also known as a 'path traversal' issue.

An unauthorized attacker can exploit this flaw locally to bypass a security feature in Visual Studio Code. This means the attacker could potentially access or manipulate files or directories that should be restricted.

Impact Analysis

If you are using an affected version of Visual Studio Code, this vulnerability could impact you in the following ways:

  • An attacker with local access to your system could bypass security features designed to restrict file or directory access.
  • The attacker might gain unauthorized access to sensitive files or directories, potentially leading to information disclosure.

The CVSS v3.1 score for this vulnerability is 5.5, indicating a medium severity level. The impact is primarily on confidentiality, with no impact on integrity or availability.

Detection Guidance

The provided context does not include specific detection methods or commands for identifying the path traversal vulnerability in Visual Studio Code (CVE-2026-45496) on a network or system. Detection typically involves checking for unusual file access patterns or verifying the installed version of Visual Studio Code against patched versions.

Since this is a local security feature bypass, detection may require manual inspection of the application's behavior or logs. Microsoft's official resources may provide additional guidance on detection.

Mitigation Strategies
  • Apply the latest security updates provided by Microsoft for Visual Studio Code. Refer to the official Microsoft Security Response Center (MSRC) update guide for CVE-2026-45496 to obtain the patched version.
  • Restrict local access to systems running vulnerable versions of Visual Studio Code to trusted users only, as the vulnerability requires local access to exploit.
  • Monitor Microsoft's official advisories for any additional mitigation steps or workarounds if a patch is not immediately available.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-45496. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart