Resource Injection Affecting nuget.packaging package, versions [4.9.6,4.9.7)[5.11.3,5.11.7)[6.8.0,6.8.2)[6.11.0-preview.2,6.11.2)[6.12.0,6.12.5)[6.14.0,6.14.3)[7.0.0,7.0.3)[7.3.0,7.3.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (53rd 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-NUGETPACKAGING-16066436
  • published15 Apr 2026
  • disclosed14 Apr 2026
  • creditsplitline

Introduced: 14 Apr 2026

NewCVE-2026-39399  (opens in a new tab)
CWE-345  (opens in a new tab)
CWE-99  (opens in a new tab)

How to fix?

Upgrade NuGet.Packaging to version 4.9.7, 5.11.7, 6.8.2, 6.11.2, 6.12.5, 6.14.3, 7.0.3, 7.3.1 or higher.

Overview

NuGet.Packaging is a NuGet's implementation for reading nupkg package and nuspec package specification files.

Affected versions of this package are vulnerable to Resource Injection in the NuGetGallery backend job’s handling of .nuspec files within NuGet packages. An attacker can bypass intended validation by supplying specially crafted package metadata (IDs or versions).

CVSS Base Scores

version 4.0
version 3.1