CVE-2025-26646
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedExternal 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceThis is a path traversal vulnerability in .NET, Visual Studio, and Build Tools for Visual Studio where an authorized attacker can control file names or paths used by the application. The vulnerability enables spoofing over a network, likely by manipulating file paths to access or create files in unintended locations, potentially leading to code execution or data integrity issues.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 17.13.7>= 17.8.0, < 17.8.21>= 17.10.0, < 17.10.15>= 17.12.0, < 17.12.8>= 17.13.0, < 17.13.7>= 9.0.0, < 9.0.5>= 8.0.0, < 8.0.16CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check .NET SDK versionRun `dotnet --list-sdks` to list installed .NET SDK versions, or `dotnet --version` for the default SDKAffected if Installed .NET SDK version is 8.0.0 through 8.0.15, or 9.0.0 through 9.0.4 (these fall within the affected ranges of >= 8.0.0, < 8.0.16 or >= 9.0.0, < 9.0.5)
-
Check .NET Runtime versionRun `dotnet --list-runtimes` to see installed .NET Runtime versions and their major versionsAffected if Installed .NET Runtime version is 8.0.x where x is 0-15, or 9.0.x where x is 0-4 (within the affected >= 8.0.0, < 8.0.16 or >= 9.0.0, < 9.0.5 ranges)
-
Check Visual Studio 2022 version via registryQuery the registry key `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\17.0\InstalledProducts` or use the vswhere tool: `"C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\layout\vswhere.exe" -latest -products * -property catalog -format json`Affected if Visual Studio 2022 is installed with version 17.8.0 through 17.8.20, 17.10.0 through 17.10.14, 17.12.0 through 17.12.7, or 17.13.0 through 17.13.6 (these match the vulnerable version ranges)
-
Check Microsoft Build Tools versionQuery the registry key `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\17.0\InstalledProducts` for Build Tools components, or check the installation directory under `C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools` and look for a version fileAffected if Build Tools version is older than 17.13.7 (the registry key or version file shows a version below the patched 17.13.7)
A system is affected if it has any .NET SDK or Runtime in versions 8.0.0-8.0.15 or 9.0.0-9.0.4, or Visual Studio 2022 in versions 17.8.0-17.8.20/17.10.0-17.10.14/17.12.0-17.12.7/17.13.0-17.13.6, or Build Tools below version 17.13.7 installed.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped8.0.169.0.517.8.21
Apply Microsoft's security updates for Visual Studio, .NET, and Build Tools once available. Review and restrict file operations to trusted paths, and follow least-privilege principles for build processes.
Visual Studio 2022: 17.13.7 (or 17.8.21/17.10.15/17.12.8 minimum per branch); Build Tools: 17.13.7; .NET: 8.0.16 or 9.0.5
- 1. Identify the currently installed version of Visual Studio 2022, Build Tools for Visual Studio, or .NET SDK on the system
- 2. For .NET users: If using .NET 8.0.x, upgrade to .NET 8.0.16 or later. If using .NET 9.0.x, upgrade to .NET 9.0.5 or later
- 3. For Visual Studio 2022 users: Install version 17.13.7 (or the latest 17.x release), or for specific branch updates: 17.8.21+, 17.10.15+, or 17.12.8+ depending on your current branch
- 4. For Build Tools for Visual Studio users: Install version 17.13.7 or later
- 5. Verify the installation by checking the updated version number in the product or via `dotnet --version` for .NET SDK
- 6. Test critical build and development workflows to ensure the update does not introduce regressions
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,808.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-26646 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-26646 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data