CVE-2026-81377: Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an
CVE-2026-81377 is a medium-severity flaw (CVSS 6.5) affecting visual studio code. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an unauthorized attacker to perform tampering over a network.
Why this priority
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.8% (top 45%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-09-08 |
| Last modified | 2026-09-11 |
Last updated 2026-09-11 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-81377?
visual studio code: upgrade to 1.136.2. Exact commands for each OS are on this page.
Is CVE-2026-81377 being exploited?
CVE-2026-81377 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-81377 affect?
CVE-2026-81377 affects visual studio code. Severity is medium (CVSS 6.5). Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an unauthorized attacker to perform tampering over a network.
How urgent is CVE-2026-81377?
Priority 41/100. On your watchlist
Software pages
Related CVEs
- CVE-2026-41109 HIGH 8.8 UPGRADE Improper neutralization of special elements in output used by a downstream component ('injection') in GitHub C
- CVE-2026-41613 HIGH 8.8 UPGRADE Session fixation in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-41611 HIGH 7.8 UPGRADE Improper neutralization of script-related html tags in a web page (basic xss) in Visual Studio Code allows an
- CVE-2026-41610 MEDIUM 6.3 UPGRADE Improper neutralization of input during web page generation ('cross-site scripting') in Visual Studio Code all
- CVE-2026-57102 HIGH 8.8 UPGRADE Inclusion of functionality from untrusted control sphere in Visual Studio Code allows an unauthorized attacker