{"answers":{"affected":"16 open source packages ship an affected version, including Microsoft.Build.Tasks.Core, dotnet and dotnet-sdk. It affects 3 products.","exploited":"There is no known exploitation of CVE-2025-26646 in the wild and no public exploit code.","fix":"Upgrade Microsoft.Build.Tasks.Core to a fixed version for your release line: 15.9.30, 16.11.6, 17.8.29 or 17.12.36.","what":"CVE-2025-26646 is a high-severity path traversal vulnerability in Microsoft .Net, published on 13 May 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-26646 and fix it if it is affected.\n\nWhat it is: CVE-2025-26646 is a high-severity path traversal vulnerability in Microsoft .Net, published on 13 May 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-26646 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.Build.Tasks.Core (NuGet): affected from 15.8.166; fixed in 15.9.30\n- Microsoft.Build.Tasks.Core (NuGet): affected from 15.8.166; fixed in 15.9.30\n- Microsoft.Build.Tasks.Core (NuGet): affected from 16.0.461; fixed in 16.11.6\n- Microsoft.Build.Tasks.Core (NuGet): affected from 16.0.461; fixed in 16.11.6\n- Microsoft.Build.Tasks.Core (NuGet): affected from 17.0.0; fixed in 17.8.29\n- Microsoft.Build.Tasks.Core (NuGet): affected from 17.0.0; fixed in 17.8.29\n- Microsoft.Build.Tasks.Core (NuGet): affected from 17.11.4; fixed in 17.12.36\n- Microsoft.Build.Tasks.Core (NuGet): affected from 17.11.4; fixed in 17.12.36\n- Microsoft.Build.Tasks.Core (NuGet): affected from 17.12.6; fixed in 17.13.26\n- Microsoft.Build.Tasks.Core (NuGet): affected from 17.12.6; fixed in 17.13.26\n- Microsoft.Build.Tasks.Core (NuGet): affected from 17.13.9; fixed in 17.14.8\n- Microsoft.Build.Tasks.Core (NuGet): affected from 17.13.9; fixed in 17.14.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-26646/ (Markdown: https://insights.sbomify.com/CVE-2025-26646/index.md)","id":"CVE-2025-26646","markdown":"https://insights.sbomify.com/CVE-2025-26646/index.md","name":"CVE-2025-26646","record":{"aliases":["ALSA-2025:7571","ALSA-2025:7589","ALSA-2025:7598","ALSA-2025:7599","ALSA-2025:7600","ALSA-2025:7601","BELL-CVE-2025-26646","BIT-dotnet-2025-26646","BIT-dotnet-sdk-2025-26646","ECHO-8c58-e4fe-da70","GHSA-h4j7-5rxr-p4wc","MINI-8gfx-2v79-jf76","MINI-ff6h-x49j-cj7j","MINI-g75w-2h99-vww9","RHSA-2025:7571","RHSA-2025:7589","RHSA-2025:7598","RHSA-2025:7599","RHSA-2025:7600","RHSA-2025:7601","RHSA-2025:7603","RLSA-2025:7571","RLSA-2025:7589","RLSA-2025:7598","RLSA-2025:7599","RLSA-2025:7601","ROOT-APP-NUGET-CVE-2025-26646","UBUNTU-CVE-2025-26646","USN-7509-1"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Microsoft .NET and Visual Studio","requires_auth":"low_privilege","summary":"An authorized attacker can exploit external control of file names or paths in .NET and Visual Studio to perform spoofing over a network.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net","vendor":"microsoft"},{"product":"build_tools","vendor":"microsoft"},{"product":"visual_studio_2022","vendor":"microsoft"}],"cvss":{"score":8,"severity":"high","source":"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","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Bitnami","NuGet","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::crb","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":".NET, Visual Studio, and Build Tools for Visual Studio Spoofing Vulnerability","id":"CVE-2025-26646","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:.net","products":["microsoft:.net","microsoft:visual_studio_2022"],"type":"path_traversal","year":"2025"},"n_packages":288,"n_references":1,"next":{"headline":"Windows Kerberos Elevation of Privilege Vulnerability","id":"CVE-2025-26647"},"packages":[{"ecosystem":"Bitnami","fixed":["8.0.16","9.0.5"],"introduced":["8.0.0","9.0.0"],"last_affected":[],"package":"dotnet","purl":"pkg:bitnami/dotnet","source":"BIT-dotnet-2025-26646"},{"ecosystem":"Bitnami","fixed":["8.0.101","9.0.100"],"introduced":["8.0.0","9.0.0"],"last_affected":[],"package":"dotnet-sdk","purl":"pkg:bitnami/dotnet-sdk","source":"BIT-dotnet-sdk-2025-26646"},{"ecosystem":"NuGet","fixed":["15.9.30"],"introduced":["15.8.166"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":null,"source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["15.9.30"],"introduced":["15.8.166"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":"pkg:nuget/Microsoft.Build.Tasks.Core","source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["16.11.6"],"introduced":["16.0.461"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":null,"source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["16.11.6"],"introduced":["16.0.461"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":"pkg:nuget/Microsoft.Build.Tasks.Core","source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["17.8.29"],"introduced":["17.0.0"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":null,"source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["17.8.29"],"introduced":["17.0.0"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":"pkg:nuget/Microsoft.Build.Tasks.Core","source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["17.12.36"],"introduced":["17.11.4"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":null,"source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["17.12.36"],"introduced":["17.11.4"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":"pkg:nuget/Microsoft.Build.Tasks.Core","source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["17.13.26"],"introduced":["17.12.6"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":null,"source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["17.13.26"],"introduced":["17.12.6"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":"pkg:nuget/Microsoft.Build.Tasks.Core","source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["17.14.8"],"introduced":["17.13.9"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":null,"source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["17.14.8"],"introduced":["17.13.9"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":"pkg:nuget/Microsoft.Build.Tasks.Core","source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["17.10.29"],"introduced":["17.9.5"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":null,"source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"NuGet","fixed":["17.10.29"],"introduced":["17.9.5"],"last_affected":[],"package":"Microsoft.Build.Tasks.Core","purl":"pkg:nuget/Microsoft.Build.Tasks.Core","source":"GHSA-h4j7-5rxr-p4wc"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.16-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-runtime-8.0","purl":"pkg:rpm/almalinux/aspnetcore-runtime-8.0","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.5-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-runtime-9.0","purl":"pkg:rpm/almalinux/aspnetcore-runtime-9.0","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.16-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-runtime-dbg-8.0","purl":"pkg:rpm/almalinux/aspnetcore-runtime-dbg-8.0","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.5-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-runtime-dbg-9.0","purl":"pkg:rpm/almalinux/aspnetcore-runtime-dbg-9.0","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.16-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-targeting-pack-8.0","purl":"pkg:rpm/almalinux/aspnetcore-targeting-pack-8.0","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.5-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-targeting-pack-9.0","purl":"pkg:rpm/almalinux/aspnetcore-targeting-pack-9.0","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.16-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-8.0","purl":"pkg:rpm/almalinux/dotnet-apphost-pack-8.0","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.5-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-9.0","purl":"pkg:rpm/almalinux/dotnet-apphost-pack-9.0","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.5-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-host","purl":"pkg:rpm/almalinux/dotnet-host","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.16-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-hostfxr-8.0","purl":"pkg:rpm/almalinux/dotnet-hostfxr-8.0","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.5-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-hostfxr-9.0","purl":"pkg:rpm/almalinux/dotnet-hostfxr-9.0","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.16-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-runtime-8.0","purl":"pkg:rpm/almalinux/dotnet-runtime-8.0","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.5-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-runtime-9.0","purl":"pkg:rpm/almalinux/dotnet-runtime-9.0","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.16-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-runtime-dbg-8.0","purl":"pkg:rpm/almalinux/dotnet-runtime-dbg-8.0","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.5-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-runtime-dbg-9.0","purl":"pkg:rpm/almalinux/dotnet-runtime-dbg-9.0","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.116-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-8.0","purl":"pkg:rpm/almalinux/dotnet-sdk-8.0","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.116-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-8.0-source-built-artifacts","purl":"pkg:rpm/almalinux/dotnet-sdk-8.0-source-built-artifacts","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.106-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-9.0","purl":"pkg:rpm/almalinux/dotnet-sdk-9.0","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.106-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-9.0-source-built-artifacts","purl":"pkg:rpm/almalinux/dotnet-sdk-9.0-source-built-artifacts","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.106-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-aot-9.0","purl":"pkg:rpm/almalinux/dotnet-sdk-aot-9.0","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.116-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-dbg-8.0","purl":"pkg:rpm/almalinux/dotnet-sdk-dbg-8.0","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.106-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-dbg-9.0","purl":"pkg:rpm/almalinux/dotnet-sdk-dbg-9.0","source":"ALSA-2025:7601"},{"ecosystem":"AlmaLinux:10","fixed":["8.0.16-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-targeting-pack-8.0","purl":"pkg:rpm/almalinux/dotnet-targeting-pack-8.0","source":"ALSA-2025:7599"},{"ecosystem":"AlmaLinux:10","fixed":["9.0.5-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"dotnet-targeting-pack-9.0","purl":"pkg:rpm/almalinux/dotnet-targeting-pack-9.0","source":"ALSA-2025:7601"}],"prev":{"headline":"Remote Desktop Client Remote Code Execution Vulnerability","id":"CVE-2025-26645"},"products":[".NET 8.0",".NET 9.0","Build Tools for Visual Studio 2022","Microsoft Visual Studio 2022 version 17.10","Microsoft Visual Studio 2022 version 17.12","Microsoft Visual Studio 2022 version 17.13","Microsoft Visual Studio 2022 version 17.8"],"published":"2025-05-13","related":[{"cvss_score":9.8,"headline":".NET and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2024-43498","kev_date_added":null,"published":"2024-11-12"},{"cvss_score":9.1,"headline":"NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability","id":"CVE-2024-0057","kev_date_added":null,"published":"2024-01-09"},{"cvss_score":8.8,"headline":".NET Security Feature Bypass Vulnerability","id":"CVE-2026-96957","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":8.8,"headline":".NET and Visual Studio Elevation of Privilege Vulnerability","id":"CVE-2026-69439","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":8.8,"headline":".NET and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2026-71328","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":8.8,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-47300","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":8.8,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-47303","kev_date_added":null,"published":"2026-07-14"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Microsoft"]},"summary":"An authorized attacker can exploit external control of file names or paths in .NET and Visual Studio to perform spoofing over a network.","url":"https://insights.sbomify.com/CVE-2025-26646/"}