Home / Microsoft / .NET 8.0 / CVE-2025-26646
CVE-2025-26646: is it exploited, and which versions of Microsoft .NET 8.0 are affected and fixed?
CVE-2025-26646 is an external Control of File Name or Path vulnerability in Microsoft .NET 8.0. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: Microsoft.Build.Tasks.Core from 15.8.166 before 15.9.30, Microsoft.Build.Tasks.Core from 16.0.461 before 16.11.6, Microsoft.Build.Tasks.Core from 17.0.0 before 17.8.29 and 4 more (GitHub advisory GHSA-h4j7-5rxr-p4wc). Fixed in 15.9.30, 16.11.6, 17.8.29, 17.10.29 and 2 more (GitHub advisory GHSA-h4j7-5rxr-p4wc). Severity: High (8.0, CVSS 3.1, from microsoft).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-26646?
.NET, Visual Studio, and Build Tools for Visual Studio Spoofing Vulnerability
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.
From the CVE record by microsoft, last updated February 26, 2026, 18:28 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Microsoft | .NET 8.0 | from 8.0.0 before 8.0.16 | 8.0.16 |
| Microsoft | .NET 9.0 | from 9.0.0 before 9.0.5 | 9.0.5 |
| Microsoft | Build Tools for Visual Studio 2022 | from 17.0 before Fixed Version 17.13.7 | Fixed Version 17.13.7 |
| Microsoft | Microsoft Visual Studio 2022 version 17.10 | from 17.10.0 before 17.10.15 | 17.10.15 |
| Microsoft | Microsoft Visual Studio 2022 version 17.12 | from 17.12.0 before 17.12.8 | 17.12.8 |
| Microsoft | Microsoft Visual Studio 2022 version 17.13 | from 17.13.0 before 17.13.7 | 17.13.7 |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 | from 17.8.0 before 17.8.21 | 17.8.21 |
As the CVE record by microsoft states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| NuGet | Microsoft.Build.Tasks.Core | >= 15.8.166, < 15.9.30 | 15.9.30 | GHSA-h4j7-5rxr-p4wc |
| NuGet | Microsoft.Build.Tasks.Core | >= 16.0.461, < 16.11.6 | 16.11.6 | GHSA-h4j7-5rxr-p4wc |
| NuGet | Microsoft.Build.Tasks.Core | >= 17.0.0, < 17.8.29 | 17.8.29 | GHSA-h4j7-5rxr-p4wc |
| NuGet | Microsoft.Build.Tasks.Core | >= 17.9.5, < 17.10.29 | 17.10.29 | GHSA-h4j7-5rxr-p4wc |
| NuGet | Microsoft.Build.Tasks.Core | >= 17.11.4, < 17.12.36 | 17.12.36 | GHSA-h4j7-5rxr-p4wc |
| NuGet | Microsoft.Build.Tasks.Core | >= 17.12.6, < 17.13.26 | 17.13.26 | GHSA-h4j7-5rxr-p4wc |
| NuGet | Microsoft.Build.Tasks.Core | >= 17.13.9, < 17.14.8 | 17.14.8 | GHSA-h4j7-5rxr-p4wc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 16, 2025. Summary: Microsoft.Build.Tasks.Core .NET Spoofing Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | build tools | before 17.13.7 | application |
| microsoft | visual studio 2022 | from 17.8.0 before 17.8.21 | application |
| microsoft | visual studio 2022 | from 17.10.0 before 17.10.15 | application |
| microsoft | visual studio 2022 | from 17.12.0 before 17.12.8 | application |
| microsoft | visual studio 2022 | from 17.13.0 before 17.13.7 | application |
| microsoft | .net | from 9.0.0 before 9.0.5 | application |
| microsoft | .net | from 8.0.0 before 8.0.16 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:02 UTC.
How severe is CVE-2025-26646?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.0 | CVSS 3.1 | 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 | microsoft |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-26646 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, May 15, 2025)
- EPSS
- 1.29% probability of exploitation activity in the next 30 days, percentile 71.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-73 External Control of File Name or Path
Where are the vendor advisories and references?
- .NET, Visual Studio, and Build Tools for Visual Studio Spoofing Vulnerability vendor-advisory, patch
When was it published, and where is the official record?
- Reserved
- February 12, 2025
- Published
- May 13, 2025, 21:39 UTC
- CVE record updated
- February 26, 2026, 18:28 UTC by microsoft
- NVD
- Analyzed, last modified June 17, 2026, 09:02 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect .NET 8.0?
- Jun 9, 2026CVE-2026-45491 Microsoft .NET 10.0 runtime: link following (a symlink lets an attacker reach other files)
- Apr 14, 2026CVE-2026-33116 Microsoft .NET 10.0 runtime: infinite loop (denial of service)
- Apr 14, 2026CVE-2026-32178 Microsoft .NET 10.0 runtime: improper Neutralization of Special Elements
- Oct 14, 2025CVE-2025-55248 Microsoft .NET 8.0: weak encryption
- Oct 14, 2025CVE-2025-55247 Microsoft .NET 8.0: link following (a symlink lets an attacker reach other files)
- Jun 13, 2025CVE-2025-30399 Microsoft .NET 8.0: untrusted Search Path
- Jan 14, 2025CVE-2025-21172 Microsoft .NET 8.0: integer overflow
- Jan 14, 2025CVE-2025-21173 Microsoft .NET 8.0: creation of Temporary File in Directory with Insecure Permissions
Questions about CVE-2025-26646
Is CVE-2025-26646 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 1.29% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Microsoft .NET 8.0 are affected by CVE-2025-26646?
Microsoft.Build.Tasks.Core from 15.8.166 before 15.9.30, Microsoft.Build.Tasks.Core from 16.0.461 before 16.11.6, Microsoft.Build.Tasks.Core from 17.0.0 before 17.8.29, Microsoft.Build.Tasks.Core from 17.9.5 before 17.10.29, Microsoft.Build.Tasks.Core from 17.11.4 before 17.12.36, Microsoft.Build.Tasks.Core from 17.12.6 before 17.13.26 and 1 more, per the GitHub advisory GHSA-h4j7-5rxr-p4wc. The tables above give every range the sources list.
Which version fixes CVE-2025-26646?
15.9.30, 16.11.6, 17.8.29, 17.10.29, 17.12.36 and 17.13.26, per the GitHub advisory GHSA-h4j7-5rxr-p4wc. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-26646?
High (8.0, CVSS 3.1, from microsoft). The severity table above shows each score with its source.
Where is the official record of CVE-2025-26646?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.