Skip to main content
EPSS 0.8%top 45%

CVE-2026-81377: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Microsoft Visual Studio Code

0
Medium
VulnerabilityCVE-2026-81377cvecve-2026-81377cwe-22
Published: 09/08/2026 (09/08/2026, 17:13:58 UTC)
Source: CVE Database V5
Vendor/Project: Microsoft
Product: Visual Studio Code

Description

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.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C

Affected software

Microsoft

Visual Studio Code

Affected versions
>=1.0.0 <1.136.2
GitHub Actionsmore threats →ai
microsoft/vscode
pkg:github/microsoft/vscode
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/14/2026, 22:06:27 UTC

Technical Analysis

CVE-2026-81377 is a CWE-22 path traversal vulnerability in Microsoft Visual Studio Code. It allows an attacker with network access and user interaction to bypass pathname restrictions and perform unauthorized tampering. The vulnerability affects versions >=1.0.0 and <1.136.2. Microsoft has published an official fix for this issue.

Potential Impact

The vulnerability enables an attacker to tamper with files or resources by exploiting improper pathname restrictions, potentially modifying data or configurations without authorization. There is no impact on confidentiality or availability reported. Exploitation requires user interaction but no privileges.

Mitigation Recommendations

An official fix is available from Microsoft. Users should update Visual Studio Code to version 1.136.2 or later to remediate this vulnerability. Refer to the Microsoft advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-81377 for detailed patch information.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
microsoft
Date Reserved
2026-08-26T18:46:26.214Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
official-fix
Vendor Advisory Urls
[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-81377","vendor":"Microsoft"}]

Threat ID: 6aa0456dacd9273b49fafe2c

Added to database: 09/08/2026, 17:27:09 UTC

Last enriched: 10/14/2026, 22:06:27 UTC

Last updated: 10/23/2026, 15:10:15 UTC

Views: 39

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses