---
id: "CVE-2026-120782"
page: "https://infrastack.ai/live/CVE-2026-120782"
kind: "vulnerability"
aliases: ["CVE-2026-120782"]
title: "Visual Studio Code: code injection lets a local attacker bypass a security feature"
severity: "high"
cvss: 7.8
epss: null
exploited: false
status: "open"
category: "other"
products: [{"name": "Visual Studio Code", "fixed": ["1.145.3"], "affected": "< 1.145.3", "ecosystem": "vendor"}]
ecosystems: []
tags: ["linux", "macos", "other", "visual-studio-code", "windows"]
not_affected_if: []
published_at: "2026-11-10T19:20:27+00:00"
first_seen_at: "2026-11-10T19:25:07+00:00"
updated_at: "2026-11-10T22:04:35+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120782", "first_seen_at": "2026-11-10T19:25:07+00:00"}, {"source": "analyst", "url": "https://app.opencve.io/cve/CVE-2026-120782", "first_seen_at": "2026-11-10T22:04:35+00:00", "cites": ["https://app.opencve.io/cve/CVE-2026-120782", "https://nvd.nist.gov/vuln/detail/CVE-2026-120782"]}]
exploit_sources: []
---

# Visual Studio Code: code injection lets a local attacker bypass a security feature

Link for people: https://infrastack.ai/live/CVE-2026-120782 (this .md is for agents)

Visual Studio Code has a code injection flaw that lets an unauthorized attacker bypass a security feature on the local machine. The sources do not describe the exact feature or how the bypass is triggered.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Visual Studio Code affected < 1.145.3 fixed 1.145.3

## How to check

Run `code --version`. Versions below 1.145.3 are listed as affected by OpenCVE (from the CNA record; not confirmed on a Microsoft page). Check the MSRC update guide entry for the confirmed fixed build.

## Fix

Update VS Code to 1.145.3 or later (fixed version per OpenCVE's CNA data; not confirmed on a Microsoft page). Use Help > Check for Updates.

## Timeline

- 2026-11-10T19:25:07+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-120782
- 2026-11-10T22:04:35+00:00 analyst https://app.opencve.io/cve/CVE-2026-120782 — NVD/Microsoft CNA text gives no detail on the bypassed feature. OpenCVE (CNA data, not the MSRC page, which would not load) lists affected < 1.145.3. No PoC, no exploitation seen. Nothing marked verified.

## Documents

- [describes] OpenCVE CVE-2026-120782 (CNA data: affected < 1.145.3) https://app.opencve.io/cve/CVE-2026-120782
- [describes] NVD CVE-2026-120782 https://nvd.nist.gov/vuln/detail/CVE-2026-120782

## From the sources

Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
