Visual Studio Code Security Feature Bypass Vulnerability (CVE-2026-119983)
Visual Studio Code contains a server-side request forgery flaw that lets an unauthorised attacker bypass a security feature over a network. By hosting a malicious server and persuading a user to connect to it, the attacker could execute code on the client system when the response is processed.
Dohyeok Kim Follow with NavSec
Originally disclosed on Microsoft
Description
Server-side request forgery (ssrf) 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 host a malicious server and convince a user to connect to it from an affected client. When the client processes the server's response, the attacker could execute code on the client system. User interaction is required.
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 client trusts and processes data returned by a server it connects to without adequately validating it, allowing a malicious server to influence the client.
Impact
An attacker could execute code on the client system, but only if the user connects to the attacker's server, so user interaction is required.
What the attacker needed
Victim connects to attacker's server
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.
This is a short advisory about a flaw in Visual Studio Code, a popular code editor. The flaw is a server-side request forgery, which means the program can be tricked into contacting a server the attacker controls. If a user connects to that malicious server, the attacker may be able to run their own code on the user's computer, but the user has to take that step first.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.