Skip to content
Access control Advisory Intermediate CVE-2026-81379

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

Visual Studio Code's agent does not fail securely when handling content, so an attacker who controls content processed by the agent can make it request a crafted URL. This could bypass configured network restrictions and allow outbound connections to resources the policy is meant to block.

Jiyong Yang Follow

Originally disclosed on Microsoft

High 8.2 View original

Description

Not failing securely ('failing open') in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.

FAQ

How could an attacker exploit this vulnerability? An attacker could influence content processed by the Visual Studio Code agent so that it requests a specially crafted URL. Successful exploitation could bypass configured network restrictions and allow access to resources that the policy is intended to block. User interaction is required to run the agent against attacker-controlled content.

FAQ

What security feature could be bypassed by successfully exploiting this vulnerability? An attacker who successfully exploited this vulnerability could bypass the network access restrictions enforced for the Visual Studio Code agent, allowing outbound connections to resources that the configured policy is intended to block.

Visual Studio Code

Visual Studio Code

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Jiyong Yang (@Sy2n0). 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

Root cause

Likely the agent's network restriction logic defaults to allowing access when it encounters an error or unexpected condition instead of denying it.

Impact

An attacker could bypass the network access restrictions enforced for the Visual Studio Code agent and make outbound connections to resources the policy is intended to block, though user interaction is required to run the agent against attacker-controlled content.

What the attacker needed

User runs the agent on attacker-controlled content

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.

A security feature is supposed to stop the program from reaching certain network locations. Here, when something goes wrong, the program chooses the unsafe option instead of blocking, which is called failing open. An attacker who can get the program to process their content may then reach places the policy was meant to keep out.

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 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.