Quick answers
- Is CVE-2026-50526 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-50526 being exploited in the wild.
- How severe is CVE-2026-50526?
- High severity, with a CVSS score of 7, published 14 July 2026.
- Which products and versions are affected?
- Microsoft Visual Studio 2022 17.12.0 to < 17.12.22; Microsoft.NET.Build.Containers (NuGet) ECOSYSTEM:introduced=10.0.0,fixed=10.0.10.
- Is there a fix for CVE-2026-50526?
- Yes. Microsoft.NET.Build.Containers (NuGet): upgrade to 10.0.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-50526 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-50526?
- Check whether you run Microsoft Visual Studio 2022 or Microsoft.NET.Build.Containers (NuGet) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Microsoft.NET.Build.Containers (NuGet): upgrade to 10.0.10 or later
dotnet add package Microsoft.NET.Build.Containers --version 10.0.10
Technical details
A tampering vulnerability (CWE-59: Improper Link Resolution Before File Access) exists in the Microsoft.NET.Build.Containers package within the .NET SDK. The flaw occurs during the container image build process when the SDK fails to properly resolve links before file access. An attacker with local access and low privileges can exploit this by creating symbolic links to inject malicious resources into container images being built by other users on the same system. This requires the attacker to time their actions with a concurrent build process (High Complexity). Patches are available in .NET SDK versions 8.0.29, 9.0.18, and 10.0.10.
Affected products
- Microsoft Microsoft.NET.Build.Containers >= 10.0.0, <= 10.0.9
- Microsoft Microsoft.NET.Build.Containers >= 9.0.0, <= 9.0.17
- Microsoft Microsoft.NET.Build.Containers >= 8.0.0, <= 8.0.28
Identifiers
- CVE-2026-50526
- GHSA-55jh-fwmh-39m4
Timeline
- 2026-07-14: advisory: Initial advisory published by Microsoft
- 2026-07-14: patched: Patched versions released for .NET 8, 9, and 10
- 2026-07-21: disclosed: GitHub Advisory published
References
- https://github.com/dotnet/sdk/security/advisories/GHSA-55jh-fwmh-39m4
- https://github.com/dotnet/announcements/issues/415
- https://github.com/dotnet/sdk/issues/55274
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50526
- https://api.github.com/repos/dotnet/sdk/security-advisories/GHSA-55jh-fwmh-39m4