# CVE-2021-31414: The unofficial vscode-rpm-spec extension before 0.3.2 for Visual Studio Code allows remote code execution via a crafted workspace configura…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.35%, higher than 84% of CVEs (2026-12-01)
- Published: 2021-04-16T03:50:26.000Z
- Modified: 2026-06-17T03:51:44.220Z
- Assigned by: mitre

## Description

The unofficial vscode-rpm-spec extension before 0.3.2 for Visual Studio Code allows remote code execution via a crafted workspace configuration.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rpm_spec_project rpm_spec: before 0.3.2

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://vuln.ryotak.me/advisories/36> (third-party-advisory)
- <https://github.com/LaurentTreguier/vscode-rpm-spec/commit/e19fb8e29cb48cadfd3238371e060d4ffd3384f9> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-31414](https://www.cve.org/CVERecord?id=CVE-2021-31414), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31414](https://nvd.nist.gov/vuln/detail/CVE-2021-31414), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31414 · Whole record: https://cve.day/CVE-2021-31414.json · Rebuilt by cve.day 2026-11-25T22:58:00.844Z
