CVE-2025-47959
Visual Studio Remote Code Execution Vulnerability
Description
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
AI Worth attentionCVE-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.
What to do now
- 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.
CVSS Vector Breakdown
AV:NAttack VectorAC:HAttack ComplexityPR:LPrivileges RequiredUI:RUser InteractionS:UScopeC:HConfidentialityI:HIntegrityA:HAvailabilityWeaknesses
Affected Products
Exploitability
Attack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 techniqueReferences
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-47959 and every CVE in our database. Create a free account — no credit card required.
Create Free Account