Symlink Attack Affecting microsoft.net.build.containers package, versions [8.0.0,8.0.29)[9.0.0,9.0.18)[10.0.0,10.0.10)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-MICROSOFTNETBUILDCONTAINERS-17979630
  • published15 Jul 2026
  • disclosed15 Jul 2026
  • creditSiwei Li with Microsoft, Anonymous

Introduced: 15 Jul 2026

CVE-2026-50526  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Microsoft.NET.Build.Containers to version 8.0.29, 9.0.18, 10.0.10 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack via the .NET SDK container image building. A local attacker can inject malicious resources into the container image build environment, causing those resources to be incorporated into container images built by other users on the same machine. This may compromise the integrity of generated container images and affect downstream deployments.

CVSS Base Scores

version 4.0
version 3.1