CVE-2026-121662Microsoft Visual Studio Code command injection
CVSS score
8.6
High
CVSS 3.1 from microsoft.com
Exploit probability (EPSS)
0.53%
0.53% chance of exploitation in the next 30 days, higher than 45.5% 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 Visual Studio Code allows an unauthorized attacker to execute code locally.
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.145.3 or later.
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
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Microsoft Visual Studio Code | ≥ 1.0.0, < 1.145.3 |
Weakness
- CWE-77 command injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-121662 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-121662?
CVE-2026-121662 has a CVSS 3.1 base score of 8.6 (high).
Which versions are affected?
Microsoft Visual Studio Code (≥ 1.0.0, < 1.145.3)
Is there a patch for CVE-2026-121662?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.