AI for Security Summit: Join Figma, Perplexity & Wiz. [Register]

CVE-2026-81381
Visual Studio Code vulnerability analysis and mitigation

Overview

CVE-2026-81381 is an insufficiently protected credentials vulnerability (CWE-522) affecting GitHub Copilot and Visual Studio Code that allows an unauthorized network attacker to disclose sensitive credential information. It was published on September 8, 2026, as part of Microsoft's September 2026 Patch Tuesday release. Affected versions of Visual Studio Code span from 1.0.0 up to (but not including) 1.136.2. The vulnerability carries a CVSS v3.1 base score of 6.5 (Medium) (MSRC Advisory, GitHub Advisory).

Technical details

The root cause is classified as CWE-522 (Insufficiently Protected Credentials), meaning the affected products transmit or store authentication credentials using an insecure method susceptible to unauthorized interception or retrieval. The attack vector is network-based with low complexity, requiring no privileges but necessitating some form of user interaction to trigger the credential disclosure. The vulnerability affects credential storage mechanisms within the GitHub Copilot extension and Visual Studio Code, potentially exposing tokens or authentication secrets accessible over a network (MSRC Advisory, GitHub Advisory).

Impact

Successful exploitation results in high confidentiality impact — specifically, the disclosure of credentials or tokens stored within GitHub Copilot and Visual Studio Code development environments. There is no integrity or availability impact. Stolen credentials could enable an attacker to access GitHub repositories, Copilot services, or other resources authenticated via the exposed tokens, potentially facilitating lateral movement within developer infrastructure (MSRC Advisory, GitHub Advisory).

Exploitability

As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is 0.0, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable, further reducing near-term risk (MSRC Advisory).

Mitigation and workarounds

Microsoft has released a patch addressing this vulnerability; users should update Visual Studio Code to version 1.136.2 or later. The GitHub Copilot extension should also be updated to its latest patched version via the VS Code marketplace or GitHub. Additionally, organizations should audit stored credentials and tokens in development environments and consider rotating any potentially exposed secrets. Apply updates via the Microsoft Security Update Guide and GitHub Advisory (MSRC Advisory, GitHub Advisory).

Community reactions

CVE-2026-81381 was covered as part of broader September 2026 Patch Tuesday roundups by security outlets including BleepingComputer, Zero Day Initiative, Rapid7, and GBHackers, though no specific in-depth analysis of this individual CVE was published. Coverage was largely aggregated within summaries of the broader patch release, which reportedly addressed 966+ flaws including two zero-days (BleepingComputer, ZDI, Rapid7).

Additional resources


SourceThis report was generated using AI

Related Visual Studio Code vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-81379HIGH8.2
  • Visual Studio Code logoVisual Studio Code
  • cpe:2.3:a:microsoft:visual_studio_code
NoYesSep 08, 2026
CVE-2026-81378HIGH8.2
  • Visual Studio Code logoVisual Studio Code
  • cpe:2.3:a:microsoft:visual_studio_code
NoYesSep 08, 2026
CVE-2026-81381HIGH7.5
  • Visual Studio Code logoVisual Studio Code
  • cpe:2.3:a:microsoft:visual_studio_code
NoYesSep 08, 2026
CVE-2026-81383HIGH7.4
  • Visual Studio Code logoVisual Studio Code
  • cpe:2.3:a:microsoft:visual_studio_code
NoYesSep 08, 2026
CVE-2026-81380MEDIUM5.3
  • Visual Studio Code logoVisual Studio Code
  • cpe:2.3:a:microsoft:visual_studio_code
NoYesSep 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management