CVE-2026-81380Microsoft Visual Studio Code command injection
CVSS score
5.9
Medium
CVSS 3.1 from NVD
Exploit probability (EPSS)
0.67%
0.67% chance of exploitation in the next 30 days, higher than 53.1% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a network.
Source: NVD · CNA: secure@microsoft.com
How to fix it, step by step
Check whether you're affected
Find every system running Microsoft Visual Studio Code and compare its version with the affected versions.
Update to a fixed version
- Update Visual Studio Code to 1.136.2 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| Microsoft Visual Studio Code | < 1.136.2 · ≥ 1.0.0, < 1.136.2 |
Weakness
- CWE-77 command injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-81380 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.7% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-81380?
CVE-2026-81380 has a CVSS 3.1 base score of 5.9 (medium).
Which versions are affected?
Microsoft Visual Studio Code (< 1.136.2; ≥ 1.0.0, < 1.136.2)
Is there a patch for CVE-2026-81380?
The official record links to vendor advisories or patches; see “What to do” above.
References
- msrc.microsoft.com/update-guide/vulnerability/CVE-2026-81380(Vendor Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.