Vulnerability · Published May 13, 2025 · Assigned by microsoft

CVE-2025-26646.NET, Visual Studio, and Build Tools for Visual Studio Spoofing Vulnerability

High 8.0

In plain English

A high-severity security flaw in Build Tools for Visual Studio 2022 from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.0High
Exploit odds (30 days)1.3%top 30.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10aspnetcore-runtime-8.08.0.16-1.el10_0ALSA-2025:7599
AlmaLinux:8aspnetcore-runtime-8.08.0.16-1.el8_10ALSA-2025:7589
AlmaLinux:9aspnetcore-runtime-8.08.0.16-1.el9_6ALSA-2025:7598
AlmaLinux:10aspnetcore-runtime-9.09.0.5-1.el10_0ALSA-2025:7601
AlmaLinux:8aspnetcore-runtime-9.09.0.5-1.el8_10ALSA-2025:7571
AlmaLinux:9aspnetcore-runtime-9.09.0.5-1.el9_6ALSA-2025:7600
AlmaLinux:10aspnetcore-runtime-dbg-8.08.0.16-1.el10_0ALSA-2025:7599
AlmaLinux:8aspnetcore-runtime-dbg-8.08.0.16-1.el8_10ALSA-2025:7589
AlmaLinux:9aspnetcore-runtime-dbg-8.08.0.16-1.el9_6ALSA-2025:7598
AlmaLinux:10aspnetcore-runtime-dbg-9.09.0.5-1.el10_0ALSA-2025:7601
AlmaLinux:8aspnetcore-runtime-dbg-9.09.0.5-1.el8_10ALSA-2025:7571
AlmaLinux:9aspnetcore-runtime-dbg-9.09.0.5-1.el9_6ALSA-2025:7600
AlmaLinux:10aspnetcore-targeting-pack-8.08.0.16-1.el10_0ALSA-2025:7599
AlmaLinux:8aspnetcore-targeting-pack-8.08.0.16-1.el8_10ALSA-2025:7589
AlmaLinux:9aspnetcore-targeting-pack-8.08.0.16-1.el9_6ALSA-2025:7598
AlmaLinux:10aspnetcore-targeting-pack-9.09.0.5-1.el10_0ALSA-2025:7601
AlmaLinux:8aspnetcore-targeting-pack-9.09.0.5-1.el8_10ALSA-2025:7571
AlmaLinux:9aspnetcore-targeting-pack-9.09.0.5-1.el9_6ALSA-2025:7600
AlmaLinux:8dotnet9.0.106-1.el8_10ALSA-2025:7571
AlmaLinux:10dotnet-apphost-pack-8.08.0.16-1.el10_0ALSA-2025:7599
AlmaLinux:8dotnet-apphost-pack-8.08.0.16-1.el8_10ALSA-2025:7589
AlmaLinux:9dotnet-apphost-pack-8.08.0.16-1.el9_6ALSA-2025:7598
AlmaLinux:10dotnet-apphost-pack-9.09.0.5-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-apphost-pack-9.09.0.5-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-apphost-pack-9.09.0.5-1.el9_6ALSA-2025:7600
AlmaLinux:10dotnet-host9.0.5-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-host9.0.5-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-host9.0.5-1.el9_6ALSA-2025:7600
AlmaLinux:10dotnet-hostfxr-8.08.0.16-1.el10_0ALSA-2025:7599
AlmaLinux:8dotnet-hostfxr-8.08.0.16-1.el8_10ALSA-2025:7589
AlmaLinux:9dotnet-hostfxr-8.08.0.16-1.el9_6ALSA-2025:7598
AlmaLinux:10dotnet-hostfxr-9.09.0.5-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-hostfxr-9.09.0.5-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-hostfxr-9.09.0.5-1.el9_6ALSA-2025:7600
AlmaLinux:10dotnet-runtime-8.08.0.16-1.el10_0ALSA-2025:7599
AlmaLinux:8dotnet-runtime-8.08.0.16-1.el8_10ALSA-2025:7589
AlmaLinux:9dotnet-runtime-8.08.0.16-1.el9_6ALSA-2025:7598
AlmaLinux:10dotnet-runtime-9.09.0.5-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-runtime-9.09.0.5-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-runtime-9.09.0.5-1.el9_6ALSA-2025:7600
AlmaLinux:10dotnet-runtime-dbg-8.08.0.16-1.el10_0ALSA-2025:7599
AlmaLinux:8dotnet-runtime-dbg-8.08.0.16-1.el8_10ALSA-2025:7589
AlmaLinux:9dotnet-runtime-dbg-8.08.0.16-1.el9_6ALSA-2025:7598
AlmaLinux:10dotnet-runtime-dbg-9.09.0.5-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-runtime-dbg-9.09.0.5-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-runtime-dbg-9.09.0.5-1.el9_6ALSA-2025:7600
AlmaLinux:10dotnet-sdk-8.08.0.116-1.el10_0ALSA-2025:7599
AlmaLinux:8dotnet-sdk-8.08.0.116-1.el8_10ALSA-2025:7589
AlmaLinux:9dotnet-sdk-8.08.0.116-1.el9_6ALSA-2025:7598
AlmaLinux:10dotnet-sdk-8.0-source-built-artifacts8.0.116-1.el10_0ALSA-2025:7599
AlmaLinux:8dotnet-sdk-8.0-source-built-artifacts8.0.116-1.el8_10ALSA-2025:7589
AlmaLinux:9dotnet-sdk-8.0-source-built-artifacts8.0.116-1.el9_6ALSA-2025:7598
AlmaLinux:10dotnet-sdk-9.09.0.106-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-sdk-9.09.0.106-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-sdk-9.09.0.106-1.el9_6ALSA-2025:7600
AlmaLinux:10dotnet-sdk-9.0-source-built-artifacts9.0.106-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-sdk-9.0-source-built-artifacts9.0.106-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-sdk-9.0-source-built-artifacts9.0.106-1.el9_6ALSA-2025:7600
AlmaLinux:10dotnet-sdk-aot-9.09.0.106-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-sdk-aot-9.09.0.106-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-sdk-aot-9.09.0.106-1.el9_6ALSA-2025:7600
AlmaLinux:10dotnet-sdk-dbg-8.08.0.116-1.el10_0ALSA-2025:7599
AlmaLinux:8dotnet-sdk-dbg-8.08.0.116-1.el8_10ALSA-2025:7589
AlmaLinux:9dotnet-sdk-dbg-8.08.0.116-1.el9_6ALSA-2025:7598
AlmaLinux:10dotnet-sdk-dbg-9.09.0.106-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-sdk-dbg-9.09.0.106-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-sdk-dbg-9.09.0.106-1.el9_6ALSA-2025:7600
AlmaLinux:10dotnet-targeting-pack-8.08.0.16-1.el10_0ALSA-2025:7599
AlmaLinux:8dotnet-targeting-pack-8.08.0.16-1.el8_10ALSA-2025:7589
AlmaLinux:9dotnet-targeting-pack-8.08.0.16-1.el9_6ALSA-2025:7598
AlmaLinux:10dotnet-targeting-pack-9.09.0.5-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-targeting-pack-9.09.0.5-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-targeting-pack-9.09.0.5-1.el9_6ALSA-2025:7600
AlmaLinux:10dotnet-templates-8.08.0.116-1.el10_0ALSA-2025:7599
AlmaLinux:8dotnet-templates-8.08.0.116-1.el8_10ALSA-2025:7589
AlmaLinux:9dotnet-templates-8.08.0.116-1.el9_6ALSA-2025:7598
AlmaLinux:10dotnet-templates-9.09.0.106-1.el10_0ALSA-2025:7601
AlmaLinux:8dotnet-templates-9.09.0.106-1.el8_10ALSA-2025:7571
AlmaLinux:9dotnet-templates-9.09.0.106-1.el9_6ALSA-2025:7600
AlmaLinux:10netstandard-targeting-pack-2.19.0.106-1.el10_0ALSA-2025:7601
AlmaLinux:8netstandard-targeting-pack-2.19.0.106-1.el8_10ALSA-2025:7571
AlmaLinux:9netstandard-targeting-pack-2.19.0.106-1.el9_6ALSA-2025:7600
Alpine:v3.20dotnet8-runtime8.0.16-r0ALPINE-CVE-2025-26646
Alpine:v3.21dotnet8-runtime8.0.16-r0ALPINE-CVE-2025-26646
Alpine:v3.22dotnet8-runtime8.0.16-r0ALPINE-CVE-2025-26646
Alpine:v3.23dotnet8-runtime8.0.16-r0ALPINE-CVE-2025-26646
Alpine:v3.24dotnet8-runtime8.0.16-r0ALPINE-CVE-2025-26646
Alpine:v3.21dotnet9-runtime9.0.5-r0ALPINE-CVE-2025-26646
Alpine:v3.22dotnet9-runtime9.0.5-r0ALPINE-CVE-2025-26646
Alpine:v3.23dotnet9-runtime9.0.5-r0ALPINE-CVE-2025-26646
Alpine:v3.24dotnet9-runtime9.0.5-r0ALPINE-CVE-2025-26646
NuGetmicrosoft.build.tasks.core17.13.26GHSA-h4j7-5rxr-p4wc
NuGetmicrosoft.build.tasks.core15.9.30GHSA-h4j7-5rxr-p4wc
NuGetmicrosoft.build.tasks.core16.11.6GHSA-h4j7-5rxr-p4wc
NuGetmicrosoft.build.tasks.core17.8.29GHSA-h4j7-5rxr-p4wc
NuGetmicrosoft.build.tasks.core17.10.29GHSA-h4j7-5rxr-p4wc
NuGetmicrosoft.build.tasks.core17.12.36GHSA-h4j7-5rxr-p4wc
NuGetmicrosoft.build.tasks.core17.14.8GHSA-h4j7-5rxr-p4wc
Rocky Linux:10dotnet8.00:8.0.116-1.el10_0RLSA-2025:7599
Rocky Linux:8dotnet8.00:8.0.116-1.el8_10RLSA-2025:7589
Rocky Linux:9dotnet8.00:8.0.116-1.el9_6RLSA-2025:7598
Rocky Linux:10dotnet9.00:9.0.106-1.el10_0RLSA-2025:7601
Rocky Linux:8dotnet9.00:9.0.106-1.el8_10RLSA-2025:7571
Ubuntu:22.04:LTSdotnet6no fix listedUBUNTU-CVE-2025-26646
Ubuntu:22.04:LTSdotnet7no fix listedUBUNTU-CVE-2025-26646
Ubuntu:22.04:LTSdotnet88.0.116-8.0.16-0ubuntu1~22.04.1USN-7509-1
Ubuntu:22.04:LTSdotnet88.0.116-8.0.16-0ubuntu1~22.04.1UBUNTU-CVE-2025-26646
Ubuntu:24.04:LTSdotnet88.0.116-8.0.16-0ubuntu1~24.04.1USN-7509-1
Ubuntu:24.04:LTSdotnet88.0.116-8.0.16-0ubuntu1~24.04.1UBUNTU-CVE-2025-26646
Ubuntu:25.10dotnet88.0.116-8.0.16-0ubuntu1UBUNTU-CVE-2025-26646
Ubuntu:25.10dotnet99.0.106-9.0.5-0ubuntu1UBUNTU-CVE-2025-26646

Affected products (as reported)

VendorProductVersions
Microsoft .NET 8.0 8.0.0 – before 8.0.16
Microsoft .NET 9.0 9.0.0 – before 9.0.5
Microsoft Build Tools for Visual Studio 2022 17.0 – before Fixed Version 17.13.7
Microsoft Microsoft Visual Studio 2022 version 17.10 17.10.0 – before 17.10.15
Microsoft Microsoft Visual Studio 2022 version 17.12 17.12.0 – before 17.12.8
Microsoft Microsoft Visual Studio 2022 version 17.13 17.13.0 – before 17.13.7
Microsoft Microsoft Visual Studio 2022 version 17.8 17.8.0 – before 17.8.21

Weakness: CWE-73 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

References