Live threats

All CVEs / Microsoft

CVE-2025-26646Microsoft Build Tools

High 8.0

Priority
48
CVSS 3.1
8.0
EPSS
—
Auth required
Yes
Published
May 13, 2025
Updated
Jun 17, 2026
Category
Application · Windows
Weakness (CWE)
CWE-73
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

What happens

External control of file name or path in .NET, Visual Studio, and Build Tools for Visual Studio allows an authorized attacker to perform spoofing over a network.

Original NVD text.

What to do

  1. Apply the vendor's security update for Build Tools.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet Microsoft.Build.Tasks.Core ≥ 15.8.166 < 15.9.30 15.9.30 dotnet add package Microsoft.Build.Tasks.Core --version 15.9.30
NuGet Microsoft.Build.Tasks.Core ≥ 16.0.461 < 16.11.6 16.11.6 dotnet add package Microsoft.Build.Tasks.Core --version 16.11.6
NuGet Microsoft.Build.Tasks.Core ≥ 17.0.0 < 17.8.29 17.8.29 dotnet add package Microsoft.Build.Tasks.Core --version 17.8.29
NuGet Microsoft.Build.Tasks.Core ≥ 17.9.5 < 17.10.29 17.10.29 dotnet add package Microsoft.Build.Tasks.Core --version 17.10.29
NuGet Microsoft.Build.Tasks.Core ≥ 17.11.4 < 17.12.36 17.12.36 dotnet add package Microsoft.Build.Tasks.Core --version 17.12.36
NuGet Microsoft.Build.Tasks.Core ≥ 17.12.6 < 17.13.26 17.13.26 dotnet add package Microsoft.Build.Tasks.Core --version 17.13.26
NuGet Microsoft.Build.Tasks.Core ≥ 17.13.9 < 17.14.8 17.14.8 dotnet add package Microsoft.Build.Tasks.Core --version 17.14.8

Per OSV / GitHub Advisories (GHSA-h4j7-5rxr-p4wc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
microsoftbuild_tools< 17.13.7
microsoftvisual_studio_2022≥ 17.8.0 < 17.8.21
microsoftvisual_studio_2022≥ 17.10.0 < 17.10.15
microsoftvisual_studio_2022≥ 17.12.0 < 17.12.8
microsoftvisual_studio_2022≥ 17.13.0 < 17.13.7
microsoft.net≥ 9.0.0 < 9.0.5
microsoft.net≥ 8.0.0 < 8.0.16

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.