CVE-2026-21256
CVE-2026-21256 is a high-severity vulnerability in Microsoft Visual Studio 2022 with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 1% (62nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-7325
- Weakness: CWE-77
- Affected product: Microsoft Visual Studio 2022
- Published:
- Last modified:
Description
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an unauthorized attacker to execute code over a network.
Frequently asked questions
- What is CVE-2026-21256?
- Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an unauthorized attacker to execute code over a network.
- How severe is CVE-2026-21256?
- CVE-2026-21256 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-21256 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (62nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-21256?
- CVE-2026-21256 affects Microsoft Visual Studio 2022. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-21256?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-21256 have an EU (EUVD) identifier?
- Yes. CVE-2026-21256 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-7325.
- When was CVE-2026-21256 published?
- CVE-2026-21256 was published on 2026-02-10 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:-:*:*
More vulnerabilities in Microsoft Visual Studio 2022
- CVE-2025-55315 — Critical (CVSS 9.9): Inconsistent interpretation of http requests ('http request/response smuggling') in ASP.NET Core allows an authorized…
- CVE-2024-43498 — Critical (CVSS 9.8): .NET and Visual Studio Remote Code Execution Vulnerability
- CVE-2024-0057 — Critical (CVSS 9.1): NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability
- CVE-2025-49739 — High (CVSS 8.8): Improper link resolution before file access ('link following') in Visual Studio allows an unauthorized attacker to…
- CVE-2025-21178 — High (CVSS 8.8): Visual Studio Remote Code Execution Vulnerability
- CVE-2024-28938 — High (CVSS 8.8): Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability
All CVEs affecting Microsoft Visual Studio 2022 →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…