Skip to main content

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

0
Critical
VulnerabilityCVE-2026-102238cvecve-2026-102238cwe-22
Published: 10/13/2026 (10/13/2026, 18:59:28 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 execute code over a network.

CVSS v3.1

Score 9.6critical

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

Affected software

Microsoft

Visual Studio Code

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

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/13/2026, 19:48:40 UTC

Technical Analysis

This vulnerability (CWE-22) in Visual Studio Code involves improper limitation of a pathname to a restricted directory, enabling an attacker to perform path traversal. This flaw allows remote code execution without privileges and with low attack complexity, requiring user interaction. The vulnerability has a CVSS 3.1 score of 9.6, indicating critical severity with high impact on confidentiality, integrity, and availability. Microsoft has published an official fix for affected versions.

Potential Impact

Successful exploitation can lead to remote code execution by an unauthorized attacker, compromising system confidentiality, integrity, and availability. The vulnerability requires no privileges but does require user interaction. There are no known exploits in the wild at this time.

Mitigation Recommendations

An official fix is available from Microsoft. Users should update Visual Studio Code to version 1.141.1 or later to remediate this vulnerability. Refer to the Microsoft advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-102238 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-09-28T18:28:18.686Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
official-fix
Vendor Advisory Urls
[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-102238","vendor":"Microsoft"}]

Threat ID: 6ace881c2cdf04f656a23525

Added to database: 10/13/2026, 19:35:56 UTC

Last enriched: 10/13/2026, 19:48:40 UTC

Last updated: 10/13/2026, 22:35:49 UTC

Views: 8

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