Home / Microsoft / .NET 8.0 / CVE-2025-21173
CVE-2025-21173: is it exploited, and which versions of Microsoft .NET 8.0 are affected and fixed?
CVE-2025-21173 is a creation of Temporary File in Directory with Insecure Permissions 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, 11:08 UTC). Affected: .NET 8.0 from 8.0.0 before 8.0.12, .NET 9.0 from 9.0.0 before 9.0.1, Microsoft Visual Studio 2022 version 17.10 from 17.10.0 before 17.10.10 and 3 more (CVE record by microsoft). Fixed in 8.0.12, 9.0.1, 17.10.10, 17.12.4 and 2 more (CVE record by microsoft). Severity: High (7.3, CVSS 3.1, from microsoft).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2025-21173?
.NET Elevation of Privilege Vulnerability
From the CVE record by microsoft, last updated June 9, 2026, 18:29 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.12 | 8.0.12 |
| Microsoft | .NET 9.0 | from 9.0.0 before 9.0.1 | 9.0.1 |
| Microsoft | Microsoft Visual Studio 2022 version 17.10 | from 17.10.0 before 17.10.10 | 17.10.10 |
| Microsoft | Microsoft Visual Studio 2022 version 17.12 | from 17.12.0 before 17.12.4 | 17.12.4 |
| Microsoft | Microsoft Visual Studio 2022 version 17.6 | from 17.6.0 before 17.6.22 | 17.6.22 |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 | from 17.8.0 before 17.8.17 | 17.8.17 |
As the CVE record by microsoft states it, last updated June 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | visual studio 2022 | from 17.6.0 before 17.6.22 | application |
| microsoft | visual studio 2022 | from 17.8.0 before 17.8.17 | application |
| microsoft | visual studio 2022 | from 17.10.0 before 17.10.10 | application |
| microsoft | visual studio 2022 | from 17.12.0 before 17.12.4 | application |
| microsoft | .net | 8.0.0 | application |
| microsoft | .net | 9.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 08:42 UTC.
How severe is CVE-2025-21173?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:L/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-21173 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 15, 2025)
- EPSS
- 1.30% probability of exploitation activity in the next 30 days, percentile 71.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-379 Creation of Temporary File in Directory with Insecure Permissions
Where are the vendor advisories and references?
- .NET Elevation of Privilege Vulnerability vendor-advisory, patch
- https://www.herodevs.com/vulnerability-directory/cve-2025-21173
When was it published, and where is the official record?
- Reserved
- December 5, 2024
- Published
- January 14, 2025, 18:04 UTC
- CVE record updated
- June 9, 2026, 18:29 UTC by microsoft
- NVD
- Modified, last modified June 17, 2026, 08:42 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 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
- May 13, 2025CVE-2025-26646 Microsoft .NET 8.0: external Control of File Name or Path
- Jan 14, 2025CVE-2025-21172 Microsoft .NET 8.0: integer overflow
Questions about CVE-2025-21173
Is CVE-2025-21173 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 1.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Microsoft .NET 8.0 are affected by CVE-2025-21173?
.NET 8.0 from 8.0.0 before 8.0.12, .NET 9.0 from 9.0.0 before 9.0.1, Microsoft Visual Studio 2022 version 17.10 from 17.10.0 before 17.10.10, Microsoft Visual Studio 2022 version 17.12 from 17.12.0 before 17.12.4, Microsoft Visual Studio 2022 version 17.6 from 17.6.0 before 17.6.22 and Microsoft Visual Studio 2022 version 17.8 from 17.8.0 before 17.8.17, per the CVE record by microsoft. The tables above give every range the sources list.
Which version fixes CVE-2025-21173?
8.0.12, 9.0.1, 17.10.10, 17.12.4, 17.6.22 and 17.8.17, per the CVE record by microsoft. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-21173?
High (7.3, CVSS 3.1, from microsoft). The severity table above shows each score with its source.
Where is the official record of CVE-2025-21173?
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.