CVE-2026-21257
GitHub Copilot and Visual Studio Elevation of Privilege Vulnerability
HIGH 8.0
At a glance
- Source
- NVD
- EPSS
- EPSS 0.90 % · percentile 60 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- microsoft
- NVD status
- Analyzed
Description
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an authorized attacker to elevate privileges over a network.
Weaknesses (CWE)
- CWE-77 — Improper Neutralization of Special Elements used in a Command
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C | microsoft |
| CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD · secure@microsoft.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-7327
- GCVE · GCVE-0-2026-21257
CERT-FR advisories
- CERTFR-2026-AVI-0153 — Multiples vulnérabilités dans les produits Microsoft · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:-:*:*≥ 17.14.0 < 17.14.26
Affected products
| Product | Versions |
|---|---|
| Microsoft · Microsoft Visual Studio 2022 version 17.14 | affected 17.14.0 < 17.14.26 |
| Microsoft · Microsoft Visual Studio 2026 version 18.3 | affected 18.3.0 < 18.3.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |