CVE-2025-26646Microsoft Build Tools
High 8.0
Follow: this CVE · Microsoft · Microsoft Build Tools We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Build Tools.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| microsoft | build_tools | < 17.13.7 |
| microsoft | visual_studio_2022 | ≥ 17.8.0 < 17.8.21 |
| microsoft | visual_studio_2022 | ≥ 17.10.0 < 17.10.15 |
| microsoft | visual_studio_2022 | ≥ 17.12.0 < 17.12.8 |
| microsoft | visual_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
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:9205 · Apr 22, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:9080 · Apr 22, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- msrc.microsoft.com Vendor Advisory