Skip to content
Smuggling / CRLF Advisory Advanced CVE-2026-81378

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

An interpretation conflict in Visual Studio Code lets an attacker influence content processed by the VS Code agent so that it requests a specially crafted URL. This could bypass the configured network access restrictions and allow outbound connections to resources the policy is meant to block.

Jebeen Lee Follow

Originally disclosed on Microsoft

High 8.2 View original

Description

Interpretation conflict 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 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

Root cause

Likely a parser differential: the component enforcing the network policy and the component making the request interpreted the same URL differently, so the check passed while the request went elsewhere.

Impact

An attacker could bypass the network access restrictions enforced for the agent and open outbound connections to resources the policy is intended to block, though the victim must first run the agent against attacker-controlled content.

What the attacker needed

Victim runs the agent on attacker content; agent network policy configured

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, and it has an agent that can fetch things from the internet. The program that decides which web addresses are allowed and the part that actually makes the request disagreed about what a given address meant, so a crafted address slipped past the block list. An attacker who gets the agent to look at content they control could then reach sites the policy was supposed to forbid.

What is Smuggling / CRLF?

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.

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.

Request smuggling and header injection

The lesson behind this report.

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.