# GHSA-g4vj-cjjj-v7hg: Defense in Depth update for NuGet Client

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-14T23:42:30.000Z
- Modified: 2026-09-10T03:50:48.975Z
- Weaknesses: CWE-345

## Description

### 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](https://x.com/_splitline_) with [DEVCORE](https://devco.re/)

(As written by GitHub Advisory Database.)

## Affected

- NuGet.Packaging (NuGet): from 4.9.0 before 4.9.7; from 5.11.0 before 5.11.7; from 6.8.0 before 6.8.2; from 6.11.0 before 6.11.2; from 6.12.0 before 6.12.5; from 6.14.0 before 6.14.3; from 7.0.0 before 7.0.3; from 7.3.0 before 7.3.1
- NuGet.Protocol (NuGet): from 4.9.0 before 4.9.7; from 5.11.0 before 5.11.7; from 6.8.0 before 6.8.2; from 6.11.0 before 6.11.2; from 6.12.0 before 6.12.5; from 6.14.0 before 6.14.3; from 7.0.0 before 7.0.3; from 7.3.0 before 7.3.1
- NuGet.CommandLine (NuGet): from 4.9.0 before 4.9.7; from 5.11.0 before 5.11.7; from 6.8.0 before 6.8.2; from 6.11.0 before 6.11.2; from 6.12.0 before 6.12.5; from 6.14.0 before 6.14.3; from 7.0.0 before 7.0.3; from 7.3.0 before 7.3.1

## References

- <https://github.com/NuGet/NuGet.Client/security/advisories/GHSA-g4vj-cjjj-v7hg> (web)
- <https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr> (web)
- <https://github.com/NuGet/NuGet.Client> (package)

## Sources

- GitHub Advisory Database: [GHSA-g4vj-cjjj-v7hg](https://github.com/advisories/GHSA-g4vj-cjjj-v7hg), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/GHSA-g4vj-cjjj-v7hg · Whole record: https://cve.day/GHSA-g4vj-cjjj-v7hg.json · Rebuilt by cve.day 2026-11-25T22:56:29.685Z
