Skip to main content

Windows EUVDEUVD-2025-18227

| CVE-2025-47959 HIGH
Command Injection (CWE-77)
2025-06-13 secure@microsoft.com
7.1
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 7.1 score is elevated but contextually constrained by significant limiting factors: (1) Requires PR:L (Low privilege/authentication) - attacker must be a legitimate user or have compromised valid credentials; (2) AC:H (High attack complexity) - exploitation likely requires specific environmental conditions or user interaction; (3) UI:R (User interaction required) - the authorized user must perform an action triggering the vulnerability. The attack vector AV:N broadens concern in team environments. Real-world risk is MODERATE-to-HIGH in scenarios where: hostile insiders exist, supply chain risks include malicious project files, or build automation includes untrusted inputs. Risk is LOWER for isolated individual developer workstations or organizations with strong access controls and code review processes. The HIGH impact rating (C:H/I:H/A:H) indicates post-exploitation damage is severe. Without confirmed KEV status, public POC, or EPSS data provided, this appears to be a vulnerability with limited but significant real-world exploitability—more threatening in multi-user development infrastructure than single-developer setups.

Exploit ScenarioDerived

Scenario: A developer (Alice) in a collaborative team receives a project file (malicious .vcxproj or .sln) from what appears to be a trusted internal code repository. The file contains specially-crafted build target properties or debugging configurations with embedded shell metacharacters—for example, a custom build step containing: $(SomeProperty) | powershell -Command 'download-and-execute-malware'. When Alice opens the project in Visual Studio to review or build it, the IDE processes the build configuration. Due to insufficient input sanitization, Visual Studio constructs a system command including the untrusted property value without proper escaping. The shell interprets the pipe character as a command separator and executes the embedded PowerShell payload. Impact: attacker gains code execution in Alice's user context, potentially accessing source code, credentials, or pivoting to team build servers. Success requires: (1) Alice's interaction (opening/building the project)—satisfying UI:R; (2) Alice being an authorized Visual Studio user—satisfying PR:L; (3) Network delivery of the malicious file; (4) Visual Studio environment with vulnerable build system. POC would demonstrate this with a minimal .vcxproj file and proof of arbitrary command execution.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

Command injection vulnerability in Visual Studio that allows an authenticated attacker with local user interaction to execute arbitrary code over a network with high impact on confidentiality, integrity, and availability. While the vulnerability requires prior authorization and user interaction, successful exploitation could lead to complete system compromise. No public indication of active exploitation or widespread POC availability is currently documented, but the CVSS 7.1 score reflects significant risk in collaborative development environments where multiple authorized users access shared Visual Studio instances.

RemediationAI

Immediate actions: (1) Apply Microsoft security patches for Visual Studio released concurrently with CVE-2025-47959 disclosure—check Microsoft Update, Windows Update, or Visual Studio Installer for available updates; (2) For projects using untrusted build configurations or remote debugging: disable network-accessible debug endpoints, enforce code review on .sln/.vcxproj/.csproj files before opening in Visual Studio, and restrict project file sources to trusted repositories; (3) Operational mitigations: enforce least-privilege user accounts for development, isolate development machines from production networks, monitor Visual Studio process execution for anomalous command spawning. Workarounds pending patch availability: avoid opening project files from untrusted sources, disable C++ IntelliSense indexing if implicated, restrict debugging to local connections only. Link to Microsoft Security Update Guide for specific KB articles and patched versions once available.

Affected VersionsENISA

Microsoft Visual Studio 2022 version 17.12 17.12.0 <17.12.9
Microsoft Visual Studio 2022 version 17.10 17.10.0 <17.10.16
Microsoft Visual Studio 2022 version 17.8 17.8.0 <17.8.22
Microsoft Visual Studio 2022 version 17.14 17.14.0 <17.14.5

Affected Packages

euvd microsoft_visual_studio_2022_version_17_10 fix: 17.10.16
euvd microsoft_visual_studio_2022_version_17_12 fix: 17.12.9
euvd microsoft_visual_studio_2022_version_17_14 fix: 17.14.5
euvd microsoft_visual_studio_2022_version_17_8 fix: 17.8.22

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability exists in Visual Studio's command processing mechanisms, likely within build system integration, debugging interfaces, or extension handling where user-supplied input is insufficiently sanitized before being passed to system command interpreters. CWE-77 (Improper Neutralization of Special Elements used in a Command) indicates the root cause is inadequate input validation/encoding before command construction—a classic command injection flaw where special shell metacharacters (pipes, semicolons, backticks, command substitution operators) are not properly escaped. The vulnerability affects Visual Studio 2019, 2022, and potentially related Microsoft development tools that process build configurations, debugging parameters, or project file attributes. The network attack vector suggests the injection point may involve remote debugging, build pipeline integrations, or project file parsing from network sources rather than purely local file system operations.

Know when Windows gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.1 HIGH
AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:39 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
17.12.9,17.10.16,17.8.22
CVE Published
Jun 13, 2025 - 02:15 nvd
HIGH 7.1

DescriptionCVE.org

Improper neutralization of special elements used in a command ('command injection') in Visual Studio allows an authorized attacker to execute code over a network.

Executive ViewAI

Why It Matters

Visual Studio contains a command injection vulnerability (CVE-2025-47959, CVSS 7.1) that allows authenticated users to execute arbitrary code through local user interaction, potentially compromising confidentiality, integrity, and availability across development environments. Organizations with shared development workstations or collaborative coding practices face elevated risk of insider threats or lateral movement by compromised developer accounts.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patching is complete: restrict Visual Studio access to trusted internal networks only using firewall rules; disable remote development and collaboration features if not actively required; require multi-factor authentication for developer accounts accessing Visual Studio instances; implement endpoint detection and response (EDR) monitoring focused on command injection signatures from development tools; conduct security awareness training emphasizing the risks of executing untrusted code or opening malicious project files.

Threat Intelligence Overview

EPSS Score
0.2%
Top 57% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-52691 CRITICAL POC
10.0 Dec 29

Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio

CVE-2019-0803 HIGH POC
7.8 Apr 09

Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in

CVE-2020-1472 MEDIUM POC
5.5 Aug 17

A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2013-10047 CRITICAL POC
9.3 Aug 01

An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote

CVE-2012-10030 CRITICAL POC
9.3 Aug 05

FreeFloat FTP Server contains multiple critical design flaws that allow unauthenticated remote attackers to upload arbit

CVE-2025-34101 CRITICAL POC
9.3 Jul 10

Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio

CVE-2025-34095 CRITICAL POC
9.3 Jul 10

Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/

CVE-2025-11953 CRITICAL POC
9.8 Nov 03

React Native Metro Development Server binds to external interfaces by default and contains an OS command injection endpo

CVE-2026-96951 HIGH POC
8.8 Oct 13

Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then

CVE-2025-24054 MEDIUM POC
6.5 Mar 11

External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy