Advisory

GHSA-g4vj-cjjj-v7hg

Also known as: None

Summary

Defense in Depth update for NuGet Client

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-04-14 23:42 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

24 affected packages; all NuGet · All systems
PackageAffectedFix
NuGet.Packagingintroduced 4.9.0, fixed 4.9.7The export has no generic command for this ecosystem.
NuGet.Packagingintroduced 5.11.0, fixed 5.11.7The export has no generic command for this ecosystem.
NuGet.Packagingintroduced 6.8.0, fixed 6.8.2The export has no generic command for this ecosystem.
NuGet.Packagingintroduced 6.11.0, fixed 6.11.2The export has no generic command for this ecosystem.
NuGet.Packagingintroduced 6.12.0, fixed 6.12.5The export has no generic command for this ecosystem.
NuGet.Packagingintroduced 6.14.0, fixed 6.14.3The export has no generic command for this ecosystem.
NuGet.Packagingintroduced 7.0.0, fixed 7.0.3The export has no generic command for this ecosystem.
NuGet.Packagingintroduced 7.3.0, fixed 7.3.1The export has no generic command for this ecosystem.
NuGet.Protocolintroduced 4.9.0, fixed 4.9.7The export has no generic command for this ecosystem.
NuGet.Protocolintroduced 5.11.0, fixed 5.11.7The export has no generic command for this ecosystem.
NuGet.Protocolintroduced 6.8.0, fixed 6.8.2The export has no generic command for this ecosystem.
NuGet.Protocolintroduced 6.11.0, fixed 6.11.2The export has no generic command for this ecosystem.
NuGet.Protocolintroduced 6.12.0, fixed 6.12.5The export has no generic command for this ecosystem.
NuGet.Protocolintroduced 6.14.0, fixed 6.14.3The export has no generic command for this ecosystem.
NuGet.Protocolintroduced 7.0.0, fixed 7.0.3The export has no generic command for this ecosystem.
NuGet.Protocolintroduced 7.3.0, fixed 7.3.1The export has no generic command for this ecosystem.
NuGet.CommandLineintroduced 4.9.0, fixed 4.9.7The export has no generic command for this ecosystem.
NuGet.CommandLineintroduced 5.11.0, fixed 5.11.7The export has no generic command for this ecosystem.
NuGet.CommandLineintroduced 6.8.0, fixed 6.8.2The export has no generic command for this ecosystem.
NuGet.CommandLineintroduced 6.11.0, fixed 6.11.2The export has no generic command for this ecosystem.
NuGet.CommandLineintroduced 6.12.0, fixed 6.12.5The export has no generic command for this ecosystem.
NuGet.CommandLineintroduced 6.14.0, fixed 6.14.3The export has no generic command for this ecosystem.
NuGet.CommandLineintroduced 7.0.0, fixed 7.0.3The export has no generic command for this ecosystem.
NuGet.CommandLineintroduced 7.3.0, fixed 7.3.1The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences