CVE-2025-47959

Visual Studio Remote Code Execution Vulnerability

7.1 high EPSS 12.7%

Published 13 Jun 2025 Updated 20 Feb 2026 CNA: microsoft

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.

Severity (CVSS)

7.1 high CVSS 3.1 from microsoft (CNA)
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 12.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 13 Jun 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-77 Improper Neutralization of Special Elements used in a Command

Affected products

As the CNA lists them.

ProductVersions
Microsoft Visual Studio 2022 version 17.10
affected from 17.10.0, before 17.10.16
Microsoft Visual Studio 2022 version 17.12
affected from 17.12.0, before 17.12.9
Microsoft Visual Studio 2022 version 17.14
affected from 17.14.0, before 17.14.5
Microsoft Visual Studio 2022 version 17.8
affected from 17.8.0, before 17.8.22

Is my server affected?

This CVE is in Microsoft Visual Studio 2022 version 17.10 of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Source: the record CVE-2025-47959 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.