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

VersionScoreVectorScored by
CVSS 3.1HIGH 8.0CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:Cmicrosoft
CVSS 3.1HIGH 8.0CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HNVD · secure@microsoft.com (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Microsoft · Microsoft Visual Studio 2022 version 17.14affected 17.14.0 < 17.14.26
Microsoft · Microsoft Visual Studio 2026 version 18.3affected 18.3.0 < 18.3.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD