---
id: "CVE-2026-120780"
page: "https://infrastack.ai/live/CVE-2026-120780"
kind: "vulnerability"
aliases: ["CVE-2026-120780"]
title: "Visual Studio Code web server: crafted link can run an older server version and execute code"
severity: "high"
cvss: 8.3
epss: null
exploited: false
status: "open"
category: "other"
products: [{"name": "Visual Studio Code", "fixed": ["1.145.3"], "affected": ">= 1.0.0, < 1.145.3", "ecosystem": "vendor"}]
ecosystems: []
tags: ["other", "remote-code-execution", "self-hosted", "visual-studio-code", "vscode-web"]
not_affected_if: ["desktop-only", "no-web-server"]
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:46+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120780", "first_seen_at": "2026-11-10T19:25:07+00:00"}, {"source": "analyst", "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120780", "first_seen_at": "2026-11-10T22:04:46+00:00", "cites": ["https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120780", "https://radar.offseq.com/threat/cve-2026-120780-cwe-284-improper-access-control-in-microsoft-visual-studio-code-4782f71091d1e18e"]}]
exploit_sources: []
---

# Visual Studio Code web server: crafted link can run an older server version and execute code

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

Microsoft (MSRC, Nov 10 2026) rates this Important, CVSS 8.3, CWE-284. An unauthenticated attacker could convince a user with an active, previously authenticated VS Code web-server session to open a crafted link. If a vulnerable older server version remains available, it could run and let the attacker execute code with the server account's permissions. Not publicly disclosed, not exploited; Microsoft says exploitation is less likely (attack complexity high).

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

## Affected

- vendor:Visual Studio Code affected >= 1.0.0, < 1.145.3 fixed 1.145.3

## How to check

Run 'code --version' on desktop and on any host running 'code serve-web' or the VS Code server; versions below 1.145.3 are in the reported range. Also check whether older server builds remain installed or downloadable on those hosts.

## Fix

Upgrade VS Code to 1.145.3 (reported by third-party CVE data derived from the CVE record; the MSRC page text I could read does not list a build, so unconfirmed).

## Timeline

- 2026-11-10T19:25:07+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-120780
- 2026-11-10T22:04:46+00:00 analyst https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120780 — MSRC page read: attack path via crafted link to authenticated web-server session. Fixed version 1.145.3 only from OffSeq/OpenCVE (CVE record data), not on MSRC text, so fix not verified. No X chatter. No PoC.

## Documents

- [advisory] MSRC: Visual Studio Code Remote Code Execution Vulnerability CVE-2026-120780 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120780
- [mentions] OffSeq Threat Radar: CVE-2026-120780 (fixed in 1.145.3) https://radar.offseq.com/threat/cve-2026-120780-cwe-284-improper-access-control-in-microsoft-visual-studio-code-4782f71091d1e18e

## From the sources

Improper access control in Visual Studio Code allows an unauthorized attacker to execute code over a network.

---

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