CVE-2026-50520: Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allo
CVE-2026-50520 is a high-severity flaw (CVSS 8.4) affecting visual studio code. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.4 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 72%) |
| CISA exploited list | No |
| Weakness | CWE-77 |
| Published | 2026-07-14 |
| Last modified | 2026-10-24 |
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-50520?
visual studio code: upgrade to 1.128.1. Exact commands for each OS are on this page.
Is CVE-2026-50520 being exploited?
CVE-2026-50520 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-50520 affect?
CVE-2026-50520 affects visual studio code. Severity is high (CVSS 8.4). Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
How urgent is CVE-2026-50520?
Priority 41/100. High severity; On your watchlist
Software pages
Related CVEs
- CVE-2026-57102 HIGH 8.8 UPGRADE Inclusion of functionality from untrusted control sphere in Visual Studio Code allows an unauthorized attacker
- CVE-2026-47282 MEDIUM 6.5 UPGRADE Insufficiently protected credentials in GitHub Copilot and Visual Studio Code allows an unauthorized attacker
- CVE-2026-57101 HIGH 7.1 UPGRADE Improper neutralization of input during web page generation ('cross-site scripting') in Visual Studio Code all
- CVE-2026-45496 MEDIUM 5.5 UPGRADE Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an
- CVE-2026-69320 HIGH 8.8 UPGRADE Improper neutralization of special elements used in an os command ('os command injection') in Visual Studio Co