CVE-2025-47959
Visual Studio Remote Code Execution Vulnerability
Exploitation likely. EPSS gives it a 11% chance of exploitation in the next 30 days. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Check whether any machines in your business run Microsoft Visual Studio 2022 at versions 17.8, 17.10, 17.12, or 17.14 (and whether they’re updated beyond the fixed build numbers below).
- If you use those versions, update to the fixed releases: 17.10.16, 17.12.9, 17.14.5, or 17.8.22.
- If updating immediately isn’t possible, restrict who can log in and influence Visual Studio inputs on affected machines until patching is complete.
- After updating, confirm Visual Studio reports the updated version on each affected machine.
What it is
From the CVE record
Improper neutralization of special elements used in a command ('command injection') in Visual Studio allows an authorized attacker to execute code over a network.
In plain language
Written by AI from the recordCVE-2025-47959 is a Visual Studio flaw where a user with a low-level account could use it to run commands on the computer, but it needs the attacker to be able to interact with Visual Studio inputs—so it’s a concern mainly for businesses where untrusted people can log in and use/trigger Visual Studio activities.
CVE-2025-47959 is an authenticated command-injection weakness in Microsoft Visual Studio 2022 where insufficient input sanitization lets an attacker influence specific inputs to construct and execute operating system commands, achieving remote code execution under the logged-in user’s privileges.
If you're affected
- Run arbitrary code on dev PC
- Compromise of user files/data
- Possible work disruption
- Lateral movement risk
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
11% chance of exploitation activity in the next 30 days, which ranks it in the 96th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
8 events over 458 days, from the signal feeds we watch.
- EPSS band change0 → moderateepss band change
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
- Microsoft Visual Studio 2022 version 17.10DevTools & CI / ide-editor
- Microsoft Visual Studio 2022 version 17.12DevTools & CI / ide-editor
- Microsoft Visual Studio 2022 version 17.14DevTools & CI / ide-editor
- Microsoft Visual Studio 2022 version 17.8DevTools & CI / ide-editor
- visual studio 2022DevTools & CI / ide-editor
- Microsoft Visual Studio 2022DevTools & CI / ide-editor
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Scored 7.1 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required LowRequires basic user-level privileges
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Microsoft, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI