# CVE-2026-120782: Microsoft Visual Studio Code code injection security bypass

Source: https://junglewise.ai/threats/cve-2026-120782-improper-control-of-generation-of-code-code-injection-in-visual  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-10. Updated: 2026-11-10  
License: CC BY 4.0 with a link back

CVE-2026-120782 · Severity: high · CVSS 7.8 · Published 2026-11-10

Visual Studio Code, a widely-used code editor, contains a code injection vulnerability that allows an attacker with local access to bypass an important security feature. An attacker could exploit this to execute malicious code or alter the development environment without authorization.

Technologies: [Microsoft Visual Studio Code](https://junglewise.ai/threats/technologies/visual-studio-code). Vendors: [Microsoft](https://junglewise.ai/threats/vendors/microsoft).

## Quick answers

**Is CVE-2026-120782 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-120782 being exploited in the wild.

**How severe is CVE-2026-120782?** High severity, with a CVSS score of 7.8, published 10 November 2026.

**Which products and versions are affected?** Microsoft Visual Studio Code.

**Is there a fix for CVE-2026-120782?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-120782 attacked?** It is attacked with local access.

**Am I affected by CVE-2026-120782?** Check whether you run Microsoft Visual Studio Code. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

Improper control of code generation in Visual Studio Code permits code injection that bypasses a security feature. The vulnerability requires local access to exploit. A successful attack would allow an unauthorized attacker to execute arbitrary code or bypass security controls designed to prevent malicious modifications.

## Affected products

- Microsoft Visual Studio Code

## Timeline

- 2026-11-10: disclosed

## References

- [https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120782](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120782)

## Related threats

- [Microsoft Visual Studio Code untrusted search path remote code execution](https://junglewise.ai/threats/cve-2026-70094-untrusted-search-path-in-visual-studio-code-allows-an)
- [Visual Studio Code trust boundary violation](https://junglewise.ai/threats/cve-2026-121665-trust-boundary-violation-in-visual-studio-code-allows-an)
- [Microsoft Visual Studio Code cross-site scripting](https://junglewise.ai/threats/cve-2026-121664-improper-neutralization-of-input-during-web-page-generation)
- [Microsoft Visual Studio Code incomplete input validation security bypass](https://junglewise.ai/threats/cve-2026-121663-incomplete-list-of-disallowed-inputs-in-visual-studio-code)
- [Visual Studio Code command injection vulnerability](https://junglewise.ai/threats/cve-2026-121662-improper-neutralization-of-special-elements-used-in-a-command)
