SecurityContext

CVE-2026-21257: GitHub Copilot and Visual Studio - Privilege Escalation

  • Cve: CVE-2026-21257
  • Name: GitHub Copilot and Visual Studio - Privilege Escalation
  • 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.
  • Impact: Authorized attackers can elevate privileges over the network, potentially gaining higher access rights.
  • Remediation: Update to the latest version.
  • Vulnerability type: command_injection
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker must be authorized
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00889
  • Epss percentile: 0.60086
  • Assignee: [email protected]
  • Published at: 2026-02-10T18:16:27Z
  • Age in days: 287
  • Modified at: 2026-06-17T10:18:22Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-21257
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-77Improper Neutralization of Special Elements used in a Command

References

UrlSourceTags
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21257nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
microsoft:visual_studio_2022>= 17.14.0, < 17.14.26nonvd/v1/products/microsoft/visual_studio_2022

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts