Skip to content
Misconfiguration Advisory Advanced CVE-2026-69306

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

Visual Studio Code's agent did not fail securely when enforcing network access restrictions, so the configured policy could be bypassed. An attacker could then make outbound connections to resources the policy was meant to block.

PuH4ck3rX 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

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 PuH4ck3rX with W&M. 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 network restriction check treated an error or unexpected state as permission to proceed rather than denying the connection.

Impact

An attacker could bypass the network access restrictions enforced for the Visual Studio Code agent and reach outbound resources the policy is intended to block.

What the attacker needed

Visual Studio Code agent with a network policy

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.

Software sometimes has a safety rule, like 'do not connect to these places'. When something goes wrong, good software should block the connection anyway (fail closed). Here it let the connection through instead (fail open), so the rule could be skipped.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.