CVE-2025-26646
.NET, Visual Studio, and Build Tools for Visual Studio Spoofing Vulnerability
Reported by microsoft · Published May 13, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| dotnet-runtime-dbg-8.0 | Amazon Linux | 8.0.16-1.amzn2023.0.1 |
| dotnet-sdk | Bitnami | 9.0.100, 8.0.101 |
| dotnet | Bitnami | 9.0.5, 8.0.16 |
| dotnet-hostfxr-8.0 | Amazon Linux | 8.0.16-1.amzn2023.0.1 |
| netstandard-targeting-pack-2.1 | Amazon Linux | 8.0.116-1.amzn2023.0.1 |
| dotnet-runtime-8.0 | Amazon Linux | 8.0.16-1.amzn2023.0.1 |
| dotnet | Amazon Linux | 8.0.116-1.amzn2023.0.1 |
| dotnet8-runtime | Alpine | 8.0.16-r0 |
| dotnet-host | Amazon Linux | 8.0.16-1.amzn2023.0.1 |
| dotnet-sdk-8.0 | Amazon Linux | 8.0.116-1.amzn2023.0.1 |
| .net | microsoft | 9.0.5, 8.0.16 |
| Microsoft Visual Studio 2022 version 17.12 | Microsoft | 17.12.8 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | .NET 8.0 | 8.0.0 |
| Microsoft | .NET 9.0 | 9.0.0 |
| Microsoft | Build Tools for Visual Studio 2022 | 17.0 |
| Microsoft | Microsoft Visual Studio 2022 version 17.10 | 17.10.0 |
| Microsoft | Microsoft Visual Studio 2022 version 17.12 | 17.12.0 |
| Microsoft | Microsoft Visual Studio 2022 version 17.13 | 17.13.0 |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 | 17.8.0 |
| wolfi | dotnet-9 | * |
| amazon:2023 | dotnet-runtime-dbg-8.0 | 0 |
| Microsoft | Microsoft Visual Studio 2022 version 17.12 | 17.12.0 |
| amazon:2023 | dotnet-hostfxr-8.0 | 0 |
| Microsoft | Microsoft Visual Studio 2022 version 17.10 | 17.10.0 |
| amazon:2023 | netstandard-targeting-pack-2.1 | 0 |
| Microsoft | .NET 8.0 | 8.0.0 |
| amazon:2023 | dotnet-runtime-8.0 | 0 |
| wolfi | dotnet-8 | * |
| amazon:2023 | dotnet | 0 |
| alpine | dotnet8-runtime | 0 |
| amazon:2023 | dotnet-host | 0 |
| amazon:2023 | dotnet-sdk-8.0 | 0 |
…and 21 more
Timeline
- May 13, 2025 CVE Published
- May 13, 2025 Coalition ESS Score (13 in total, the first dated here)
- May 14, 2025 EPSS Score (30 in total, the first dated here)
- Feb 26, 2026 CVE Updated
- Mar 17, 2026 Security Advisory (70 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-26646
vulnetix vdb fixes CVE-2025-26646
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-26646/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- .NET, Visual Studio, and Build Tools for Visual Studio Spoofing Vulnerability vendor-advisorypatch
- https://nvd.nist.gov/vuln/detail/CVE-2025-26646 advisory
- https://github.com/advisories/GHSA-h4j7-5rxr-p4wc advisory
- https://github.com/dotnet/msbuild/security/advisories/GHSA-h4j7-5rxr-p4wc url
- https://github.com/dotnet/announcements/issues/356 url
- https://github.com/dotnet/msbuild/issues/11846 url
- https://github.com/dotnet/msbuild url