Low

Defense in Depth update for NuGet Client

  • Disclosed: 14.04.2026
  • Updated: 11.10.2026 11:23

Impact

This update adds validation of the package ID and version during package download, in addition to the existing package signature validation.

Patches

NuGet

The following NuGet.exe, NuGet.CommandLine, NuGet.Packaging, and NuGet.Protocol versions have been patched:

Affected versions Patched version
>= 4.9.0, <= 4.9.6 4.9.7
>= 5.11.0, <= 5.11.6 5.11.7
>= 6.8.0, <= 6.8.1 6.8.2
>= 6.11.0, <= 6.11.1 6.11.2
>= 6.12.0, <= 6.12.4 6.12.5
>= 6.14.0, <= 6.14.2 6.14.3
>= 7.0.0, <= 7.0.2 7.0.3
7.3.0 7.3.1

.NET SDK

  • .NET 8.0.126 SDK
  • .NET 8.0.420 SDK
  • .NET 9.0.116 SDK
  • .NET 9.0.313 SDK
  • .NET 10.0.106 SDK
  • .NET 10.0.202 SDK

Workarounds

N/A

References

https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr

Credit

splitline with DEVCORE

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
.NET (NuGet) NuGet.CommandLine >= 4.9.0, < 4.9.7, >= 5.11.0, < 5.11.7, >= 6.8.0, < 6.8.2, >= 6.11.0, < 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 4.9.7, 5.11.7, 6.8.2, 6.11.2, 6.12.5, 6.14.3, 7.0.3, 7.3.1
.NET (NuGet) NuGet.Packaging >= 4.9.0, < 4.9.7, >= 5.11.0, < 5.11.7, >= 6.8.0, < 6.8.2, >= 6.11.0, < 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 4.9.7, 5.11.7, 6.8.2, 6.11.2, 6.12.5, 6.14.3, 7.0.3, 7.3.1
.NET (NuGet) NuGet.Protocol >= 4.9.0, < 4.9.7, >= 5.11.0, < 5.11.7, >= 6.8.0, < 6.8.2, >= 6.11.0, < 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 4.9.7, 5.11.7, 6.8.2, 6.11.2, 6.12.5, 6.14.3, 7.0.3, 7.3.1

References

CVSS score -
Weakness (CWE)
CWE-345
Platform
.NET (NuGet)
Package
NuGet.CommandLine, NuGet.Packaging, NuGet.Protocol
Disclosed
14.04.2026
Updated
11.10.2026 11:23

Sources and licenses

OSV / GitHub Advisory Database - GHSA-g4vj-cjjj-v7hg - CC BY 4.0

Vulnerability history: NuGet.CommandLine

All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
06.2022 04.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 2
  • Medium 1
  • Low 1

Disclosures per year

  1. 2022: 2
  2. 2023: 1
  3. 2024: 1
  4. 2025: 0
  5. 2026: 1
  1. Defense in Depth update for NuGet Client this entry
    Low ghsa-g4vj-cjjj-v7hg >= 4.9.0, < 4.9.7, >= 5.11.0, < 5.11.7, >= 6.8.0, < 6.8.2, >= 6.11.0, < 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 4.9.7, 5.11.7, 6.8.2, 6.11.2, 6.12.5, 6.14.3, 7.0.3, 7.3.1
  2. Critical · 9.1 CVE-2024-0057 >= 4.6.0, < 5.11.6, >= 6.0.0, < 6.0.6, >= 6.3.0, < 6.3.4, >= 6.4.0, < 6.4.3, >= 6.6.0, < 6.6.2, >= 6.7.0, < 6.7.1, >= 6.8.0, < 6.8.1 5.11.6, 6.0.6, 6.3.4, 6.4.3, 6.6.2, 6.7.1, 6.8.1
  3. High · 7.1 CVE-2023-29337 >= 6.0.0, < 6.0.5, >= 6.2.0, < 6.2.4, >= 6.3.0, < 6.3.3, >= 6.4.0, < 6.4.2, >= 6.5.0, < 6.5.1, >= 6.6.0, < 6.6.1, >= 4.6.0, < 5.11.5 6.0.5, 6.2.4, 6.3.3, 6.4.2, 6.5.1, 6.6.1, 5.11.5
  4. High · 7.8 CVE-2022-41032 >= 4.6.0, < 4.9.6, >= 5.0.0, < 5.7.3, >= 5.8.0, < 5.9.3, >= 5.10.0, < 5.11.3, >= 6.0.0, < 6.0.3, >= 6.1.0, < 6.2.2, >= 6.3.0, < 6.3.1 4.9.6, 5.7.3, 5.9.3, 5.11.3, 6.0.3, 6.2.2, 6.3.1
  5. Medium · 5.5 CVE-2022-30184 >= 3.5.0, < 4.9.5, >= 5.0.0, < 5.2.1, >= 5.3.0, < 5.7.2, >= 5.8.0, < 5.9.2, >= 5.10.0, < 5.11.2, >= 6.0.0, < 6.0.2, >= 6.1.0, < 6.2.1 4.9.5, 5.2.1, 5.7.2, 5.9.2, 5.11.2, 6.0.2, 6.2.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.