---
id: CVE-2026-70335
title: >-
  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.
summary: >-
  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.
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: microsoft
product: visual_studio_code
affected:
  - visual_studio_code < 1.132.1
patched:
  - visual_studio_code 1.132.1
published: '2026-08-11'
updated: '2026-08-28'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-70335'
references:
  - url: 'https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70335'
    label: secure@microsoft.com
tags:
  - nvd
  - cve.org
epss: 0.00421
epssPercentile: 0.36069
ingestedAt: '2026-08-29T19:41:15.322Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-08-11T18:20:24.546154Z'
---

## Overview

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.

## Affected

- `visual_studio_code < 1.132.1`

## Remediation

Upgrade past the affected range:

- `visual_studio_code 1.132.1`
