🛡️ CVE-2026-45496 — visual-studio-code

🟡 CVSS 5.5 — Medium ✅ No Known Exploit CWE-22 NVD
5.5
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.

Weakness class

CVE-2026-45496 is classified as CWE-22: Path Traversal. A file path built from user input is not confined to the intended directory, letting an attacker reach files elsewhere on the filesystem.

Affected software

CVE-2026-45496 is recorded against 1 package.

  • visual-studio-code (fixed in 1.128.1)

Timeline and source

Published on 14 July 2026 and last revised on 16 July 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

msrc.microsoft.com

Details

Severity MEDIUM
CVSS Score 5.5
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CWE CWE-22
Public Exploit ✅ No
Source NVD
Published 2026-07-14
Updated 2026-08-11
Modified 2026-07-16
Fix URL N/A

Affected Packages

Software From version Fixed in
visual-studio-code 1.128.1

References

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in visual-studio-code

CVE-2026-45496 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.