Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Microsoft.Build.Tasks.Core
  4. ›
  5. CVE-2025-26646

CVE-2025-26646: Microsoft.Build.Tasks.Core .NET Spoofing Vulnerability

May 13, 2025 (updated June 16, 2025)

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 9.0.xxx and .NET 8.0.xxx SDK. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability.

A vulnerability exists in .NET SDK or MSBuild applications where external control of file name or path allows an unauthorized attacked to perform spoofing over a network.

References

  • github.com/advisories/GHSA-h4j7-5rxr-p4wc
  • github.com/dotnet/announcements/issues/356
  • github.com/dotnet/msbuild
  • github.com/dotnet/msbuild/issues/11846
  • github.com/dotnet/msbuild/security/advisories/GHSA-h4j7-5rxr-p4wc
  • msrc.microsoft.com/update-guide/vulnerability/CVE-2025-26646
  • nvd.nist.gov/vuln/detail/CVE-2025-26646

Code Behaviors & Features

Detect and mitigate CVE-2025-26646 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 15.8.166 before 15.9.30, all versions starting from 16.0.461 before 16.11.6, all versions starting from 17.0.0 before 17.8.29, all versions starting from 17.9.5 before 17.10.29, all versions starting from 17.11.4 before 17.14.8

Fixed versions

  • 15.9.30
  • 16.11.6
  • 17.8.29
  • 17.10.29
  • 17.14.8

Solution

Upgrade to versions 15.9.30, 16.11.6, 17.8.29, 17.10.29, 17.14.8, or above.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-73: External Control of File Name or Path

Source file

nuget/Microsoft.Build.Tasks.Core/CVE-2025-26646.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:22 +0000.