
Cloud Vulnerability DB
A community-led vulnerabilities database
A remote code execution vulnerability was discovered in Microsoft Visual Studio, identified as CVE-2025-47959. The vulnerability was disclosed on June 12, 2025, and involves improper neutralization of special elements used in command injection that allows an authorized attacker to execute code over a network. The vulnerability specifically affects Microsoft Visual Studio 2022 installations (Wiz, NVD).
The vulnerability exists within the handling of the devcontainer.json file. When opening a project, the user interface fails to warn the user of unsafe actions. The flaw has been assigned a CVSS v3.1 base score of 7.1 (HIGH) with the vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H. The vulnerability is classified as CWE-77 (Improper Neutralization of Special Elements used in a Command) (ZDI, NVD).
An attacker can leverage this vulnerability to execute arbitrary code in the context of the current user. The vulnerability requires user interaction to exploit, specifically the target must visit a malicious page or open a malicious file (ZDI).
Microsoft has issued an update to correct this vulnerability as part of their June 2025 Patch Tuesday updates. Users are advised to apply the security update to affected installations of Microsoft Visual Studio (ZDI).
The vulnerability was discovered and reported by Nitesh Surana (@_niteshsurana) and Nelson William Gamazo Sanchez of Trend Micro Research. The disclosure timeline indicates that the vulnerability was reported to Microsoft on February 19, 2025, with a coordinated public release on June 10, 2025 (ZDI).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."