CVE-2026-50520
CVE-2026-50520 is a high-severity vulnerability in Microsoft Visual Studio Code with a CVSS 3.x base score of 8.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.
Key facts
- Severity: High (CVSS 3.x base score 8.4)
- EPSS exploit prediction: 0% (27th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-77
- Affected product: Microsoft Visual Studio Code
- Published:
- Last modified:
Description
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
Frequently asked questions
- What is CVE-2026-50520?
- Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
- How severe is CVE-2026-50520?
- CVE-2026-50520 has a CVSS 3.x base score of 8.4, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-50520 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (27th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-50520?
- CVE-2026-50520 affects Microsoft Visual Studio Code. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-50520?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2026-50520 published?
- CVE-2026-50520 was published on 2026-07-14 and last updated on 2026-07-16.
References
Affected products (1)
- cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
More vulnerabilities in Microsoft Visual Studio Code
- CVE-2026-81376 — Critical (CVSS 9.6): Incomplete comparison with missing factors in Visual Studio Code allows an unauthorized attacker to bypass a security…
- CVE-2026-47281 — Critical (CVSS 9.6): Missing authorization in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-78462 — High (CVSS 8.8): Authorization bypass through user-controlled key in Visual Studio Code allows an unauthorized attacker to bypass a…
- CVE-2026-70336 — High (CVSS 8.8): Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to…
- CVE-2026-69320 — High (CVSS 8.8): Improper neutralization of special elements used in an os command ('os command injection') in Visual Studio Code allows…
- CVE-2026-59113 — High (CVSS 8.8): Missing authorization in Visual Studio Code allows an unauthorized attacker to execute code over a network.
All CVEs affecting Microsoft Visual Studio Code →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-105484 — Critical (CVSS 10.0): A security vulnerability has been detected in TOTOLINK X6000R 9.4.0cu.652_B20230116. The impacted element is the…
- CVE-2026-105134 — Critical (CVSS 10.0): A flaw has been found in Ahsay AhsayCBS up to 10.3.2. This vulnerability affects unknown code of the file…
- CVE-2026-102240 — Critical (CVSS 10.0): A vulnerability was found in Netcore NAP930 0.1.241010.141410. This affects the function eval of the file…
- CVE-2026-101076 — Critical (CVSS 10.0): A vulnerability was detected in Netcore NR289-GE 1.4.5102. This affects the function system of the file…
- CVE-2026-101075 — Critical (CVSS 10.0): A security vulnerability has been detected in Netcore NR289-GE 1.4.5102. The impacted element is the function system of…
- CVE-2026-101072 — Critical (CVSS 10.0): A vulnerability was identified in Netcore NR289-GE 1.4.5102. This issue affects the function system of the file…