# CVE-2021-31211: Visual Studio Code Remote Code Execution Vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-05-11 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2021-31211 · JSON: https://cvemate.com/vulnerability/CVE-2021-31211/json

## Description

```text
Visual Studio Code Remote Code Execution Vulnerability
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
- EPSS: 2.519%, percentile 85.362%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- microsoft visual\_studio\_code: ≥ 1.0.0, \< 1.56 \| \< 1.56.1

## References

- <https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31211>

---

Data as of 2026-12-05T07:10:47.429Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
