Visual Studio Code Security Feature Bypass Vulnerability (CVE-2026-81356)
Visual Studio Code's agent interprets HTTP requests inconsistently, which is a request smuggling flaw. An attacker who can influence content the agent processes could make it request a crafted URL and bypass the network access restrictions the policy is meant to enforce.
Originally disclosed on Microsoft
Description
Inconsistent interpretation of http requests ('http request/response smuggling') 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? 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.
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.
Visual Studio Code
Visual Studio Code
Microsoft
Microsoft
Customer Action Required
Yes
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 and the network policy enforcement disagree on how to parse HTTP requests, so a crafted request is seen differently by each.
Impact
An attacker could bypass the agent's configured network restrictions and reach resources the policy is intended to block, but user interaction is required to run the agent against attacker-controlled content.
What the attacker needed
User runs the agent on attacker 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.
When two programs read the same HTTP message (the text a browser or app sends to a server) in different ways, one can hide a second request inside the first. This is called request smuggling. Here the Visual Studio Code agent could be tricked into making a connection that the configured network policy was supposed to block.
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.