CVE-2026-21257
CVE-2026-21257 is a high-severity vulnerability in Microsoft Visual Studio 2022 with a CVSS 3.x base score of 8.0. 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.0)
- EPSS exploit prediction: 1% (60th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-7327
- 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 authorized attacker to elevate privileges over a network.
Frequently asked questions
- What is CVE-2026-21257?
- Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an authorized attacker to elevate privileges over a network.
- How severe is CVE-2026-21257?
- CVE-2026-21257 has a CVSS 3.x base score of 8.0, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-21257 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (60th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-21257?
- CVE-2026-21257 affects Microsoft Visual Studio 2022. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-21257?
- 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-21257 have an EU (EUVD) identifier?
- Yes. CVE-2026-21257 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-7327.
- When was CVE-2026-21257 published?
- CVE-2026-21257 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-2026-88092 — Critical (CVSS 9.4): Inconsistent interpretation of http requests ('http request/response smuggling') in ASP.NET Core allows an unauthorized…
- CVE-2024-0057 — Critical (CVSS 9.1): NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability
- CVE-2026-96957 — High (CVSS 8.8): Improper verification of cryptographic signature in .NET allows an unauthorized attacker to bypass a security feature…
- CVE-2026-71328 — High (CVSS 8.8): Heap-based buffer overflow in Visual Studio allows an unauthorized attacker to execute code over a network.
All CVEs affecting Microsoft Visual Studio 2022 →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-133493 — Critical (CVSS 10.0): A vulnerability was identified in D-Link DIR-600L 2.17b02. Affected is the function genacgi_main of the file gena.cgi…
- CVE-2026-124580 — Critical (CVSS 10.0): A vulnerability was found in Chengdu Feiyuxing Technology VW2100 and VEC10GP 1.0 B-MB3W202-210825-r11775. This impacts…
- CVE-2026-121932 — Critical (CVSS 10.0): A vulnerability was detected in Linksys E5350 1.0.00.037. This affects the function system of the file…
- CVE-2026-121607 — Critical (CVSS 10.0): A vulnerability was found in Qihoo 360 D603-2, D600-2, D606-6 and D706 up to 6.4.9. This affects the function…
- CVE-2026-120345 — Critical (CVSS 10.0): A vulnerability was found in WAVLINK WN551X3-A M51X3_V251020-WO-182e965. This impacts the function sub_41a430 of the…
- CVE-2026-120344 — Critical (CVSS 10.0): A vulnerability has been found in WAVLINK WN551X3-A M51X3_V251020-WO-182e965. This affects the function system of the…