Skip to content
Access control Advisory Advanced CVE-2026-121660

Visual Studio Code Security Feature Bypass Vulnerability (CVE-2026-121660)

Visual Studio Code's list of disallowed inputs was incomplete, so an attacker could bypass a security feature over a network. Successful exploitation could allow an extension to be installed and run despite an administrator's extension allowlist policy, provided the user is convinced to install it.

Jebeen Lee Follow

Originally disclosed on Microsoft

High 7.5 View original

Description

Incomplete list of disallowed inputs in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.

FAQ

What security feature could be bypassed by successfully exploiting this vulnerability? Successful exploitation could allow an extension to be installed and run despite an administrator's extension allowlist policy. The user must be convinced to install the extension.

FAQ

Why is the attack complexity rated High? Successful exploitation through the extension marketplace requires the attacker to control a publishing identity that meets specific conditions. Obtaining that identity is a prerequisite beyond simply creating a malicious extension.

Visual Studio Code

Visual Studio Code

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Jebeen Lee. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An extension could be installed and run despite an administrator's extension allowlist policy, but the user must be convinced to install it and the attacker must control a publishing identity meeting specific conditions.

What the attacker needed

Attacker controls a publishing identity; victim is convinced to install the extension

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Visual Studio Code is a popular code editor that lets people add extra features called extensions. Administrators can use an allowlist to say which extensions are permitted, but the check for bad inputs was incomplete. That meant a specially crafted extension could still be installed and run even though the administrator had not allowed it, as long as the user was persuaded to install it.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Jebeen Lee

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.