CVE-2026-70335: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Microsoft Visual Studio Code
Improper neutralization of special elements used in an os command ('os command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to elevate privileges locally.
AI Analysis
Technical Summary
This vulnerability (CWE-78) in Visual Studio Code and GitHub Copilot allows an attacker to inject OS commands due to improper neutralization of special elements in command inputs. The flaw can be exploited locally to elevate privileges. The CVSS 3.1 score is 7.8, indicating high severity. Microsoft has published an official fix to address this issue.
Potential Impact
Successful exploitation can lead to local privilege escalation, granting an attacker higher-level access on the affected system. Confidentiality, integrity, and availability impacts are all rated high according to the CVSS vector.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the patch provided in the Microsoft security update advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70335 to remediate this vulnerability.
CVE-2026-70335: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Microsoft Visual Studio Code
Description
Improper neutralization of special elements used in an os command ('os command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to elevate privileges locally.
CVSS v3.1
Score 7.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-78) in Visual Studio Code and GitHub Copilot allows an attacker to inject OS commands due to improper neutralization of special elements in command inputs. The flaw can be exploited locally to elevate privileges. The CVSS 3.1 score is 7.8, indicating high severity. Microsoft has published an official fix to address this issue.
Potential Impact
Successful exploitation can lead to local privilege escalation, granting an attacker higher-level access on the affected system. Confidentiality, integrity, and availability impacts are all rated high according to the CVSS vector.
Mitigation Recommendations
An official fix is available from Microsoft. Users should apply the patch provided in the Microsoft security update advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70335 to remediate this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- microsoft
- Date Reserved
- 2026-08-04T00:04:56.036Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- official-fix
- Vendor Advisory Urls
- [{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70335","vendor":"Microsoft"}]
Threat ID: 6a7b583fbf8831d5391567c6
Added to database: 08/11/2026, 17:13:35 UTC
Last enriched: 08/11/2026, 17:30:15 UTC
Last updated: 08/12/2026, 02:58:34 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.