CVE-2026-81381 — Microsoft Visual Studio Code
Summary
Insufficiently protected credentials in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a network.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, none on integrity and availability
Weakness
- CWE-522: Insufficiently Protected Credentials
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft Visual Studio Code | ≥ 1.0.0, < 1.136.2 | 1.136.2 |
References by type
Patches and fixed releases
Affected
- Microsoft Visual Studio Code
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-81381?
Insufficiently protected credentials in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a network. Weakness type: Insufficiently Protected Credentials (CWE-522).
How severe is CVE-2026-81381?
CVE-2026-81381 has a CVSS 3.1 base score of 7.5 (high), from NVD. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-81381 being exploited?
Not as far as is known: CVE-2026-81381 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.9% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-81381?
Microsoft Visual Studio Code ≥ 1.0.0, < 1.136.2 (fixed in 1.136.2).
How do I fix CVE-2026-81381?
Update to a fixed release: Microsoft Visual Studio Code 1.136.2.
Timeline & sources
References
Related vulnerabilities & news
- Microsoft 365 Copilot Vulnerability Allow Attacker to Elevate Privileges Over a Network
- Microsoft's Brad Smith Warns Rushed Patching of AI-Found Flaws Could Trigger Outages
- Azure Machine Learning Vulnerability Enables Unauthorized Information Disclosure
- Azure AI Foundry Authorization Flaw Enables Unauthorized Information Disclosure
- M365 Copilot Improper Authorization Flaw (CVE-2026-50691)