CVE-2026-50520
HIGH 8.4 ALL-YEARSImproper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code locally.
Severe if exploited (CVSS 8.4), but no confirmed exploitation. Patch on a normal cadence.
Exploitation likelihood
0.4%chance of exploitation in 30 days · 29th percentile
Impact if exploited
8.4CVSS 3.1 · HIGH · CNA
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ⚠Access: Requires local access to the host
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-77: : Improper Neutralization of Special Elements used in a Command ('Command Injection')
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
References and research data (JSON)
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Microsoft | Visual Studio Code | ≥ 1.0.0 and < 1.128.1 |
All CVSS metrics
- HIGH 8.4 v3.1 · CNA Primary
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C - HIGH 8.4 v3.1 · NVD Secondary
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Patches & mitigations
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50520 CVE record · microsoft · Updated 2026-10-08T18:13:20.023Z
NVD · CVE-2026-50520 · Updated 2026-10-24T21:10:00.130
Advisories
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-44035 EUVD · EUVD-2026-44035
Sources: NVD · CVE.org · All sources and attribution · EPSS