Back to vendor advisories
Microsoft Security Response CenterCVE-2026-70335

GitHub Copilot and Visual Studio Code Elevation of Privilege Vulnerability

Improper neutralization of special elements used in an os command ('os command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to elevate privileges locally.

7.8CVSS out of 10High severity
Scope

What the vendor says is affected

  • Visual Studio Code

Versions the vendor lists as fixed

  • 1.135
Next step

What the vendor recommends

Release Notes

Review the complete instructions on the vendor's site
Update history

What changed in later vendor updates

SecurityAlert records field-level changes from the point we begin following a bulletin. Earlier vendor changes may not have a field-by-field record.

    • Added fixed versions: 1.135.
    • Removed fixed versions: 2026.3.1.
    • The vendor changed its remediation guidance.
    • Added fixed versions: 2026.3.1.
    • Removed fixed versions: 1.132.1.
    • The vendor changed its remediation guidance.
    • The vendor changed the advisory's last-updated date.
    • The vendor changed its remediation guidance.
Timeline

When this advisory changed

  1. Published by Microsoft Security Response Center

    The publication date reported by the vendor.

  2. Added to SecurityAlert

    We collected the advisory from the official source.

  3. Updated by Microsoft Security Response Center

    The vendor changed the advisory after it was first published.

  4. Confirmed at the source

    Our collector saw this advisory during a later source check.

Vulnerabilities

CVEs named in this advisory