CVE-2026-120782
HIGHCVSS 7.8/10
Last modified
CVE-2026-120782 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally..
Description
Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Visual Studio Code | >= 1.0.0, < 1.145.3 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-120782?
Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
How severe is CVE-2026-120782?
CVE-2026-120782 has a CVSS score of 7.8/10 (HIGH severity).
How do I fix CVE-2026-120782?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-120761Improper Restriction of XML External Entity Reference vulner…9.1
- CVE-2026-12077The Dokan Pro plugin for WordPress is vulnerable to time-bas…7.5
- CVE-2026-120775Tanium addressed a heap-based buffer overflow vulnerability …7.2
- CVE-2026-120778Creation of temporary file in directory with insecure permis…7.3
- CVE-2026-120779Improper control of generation of code ('code injection') in…9.6
- CVE-2026-120780Improper access control in Visual Studio Code allows an unau…8.3
- CVE-2026-120783Weak authentication in Azure DevOps Server allows an authori…6.4
- CVE-2026-120785Heap-based buffer overflow in Microsoft Office Excel allows …8.8
- CVE-2026-120786Heap-based buffer overflow in Microsoft Office Excel allows …8.8
- CVE-2026-120788Heap-based buffer overflow in Microsoft Office Excel allows …8.8
- CVE-2026-120789Heap-based buffer overflow in Microsoft Office Excel allows …8.8
- CVE-2026-12079The Dokan Pro plugin for WordPress is vulnerable to time-bas…6.5
Are you affected by CVE-2026-120782?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
