Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
.NET NuGet
Not in CISA KEV

GHSA-g4vj-cjjj-v7hg NuGet.Packaging

GHSA-g4vj-cjjj-v7hg is a security vulnerability in NuGet.Packaging. A fix is available for NuGet.Packaging — see the affected versions and patch details below.

Defense in Depth update for NuGet Client

Published
Apr 14, 2026
Updated
Sep 10, 2026
Affected
24 pkgs
Patched
24 / 24
Exploits
None indexed
Exploitation data as of Sep 10, 2026 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

24 pkgs affected
.NETNuGet.Packaging.NETNuGet.Packaging.NETNuGet.Packaging.NETNuGet.Packaging.NETNuGet.Packaging.NETNuGet.Packaging.NETNuGet.Packaging.NETNuGet.Packaging+16 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.

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 versionsPatched version
>= 4.9.0, <= 4.9.64.9.7
>= 5.11.0, <= 5.11.65.11.7
>= 6.8.0, <= 6.8.16.8.2
>= 6.11.0, <= 6.11.16.11.2
>= 6.12.0, <= 6.12.46.12.5
>= 6.14.0, <= 6.14.26.14.3
>= 7.0.0, <= 7.0.27.0.3
7.3.07.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 Packages

24 total 24 fixed
EcosystemPackageVulnerable rangeFix
.NETNuGetNuGet.Packaging4.9.0&&< 4.9.74.9.7dotnet add package NuGet.Packaging --version 4.9.7
.NETNuGetNuGet.Packaging5.11.0&&< 5.11.75.11.7dotnet add package NuGet.Packaging --version 5.11.7
.NETNuGetNuGet.Packaging6.8.0&&< 6.8.26.8.2dotnet add package NuGet.Packaging --version 6.8.2
.NETNuGetNuGet.Packaging6.11.0&&< 6.11.26.11.2dotnet add package NuGet.Packaging --version 6.11.2
.NETNuGetNuGet.Packaging6.12.0&&< 6.12.56.12.5dotnet add package NuGet.Packaging --version 6.12.5
.NETNuGetNuGet.Packaging6.14.0&&< 6.14.36.14.3dotnet add package NuGet.Packaging --version 6.14.3

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for NuGet.Packaging, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update NuGet.Packaging to 4.9.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-g4vj-cjjj-v7hg is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-g4vj-cjjj-v7hg can be triaged on real exposure rather than presence alone.

Tailored to GHSA-g4vj-cjjj-v7hg. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### 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
O3 Security · Impact-Aware SCA

Is GHSA-g4vj-cjjj-v7hg in your dependencies?

O3 Security finds GHSA-g4vj-cjjj-v7hg across NuGet dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

GHSA-g4vj-cjjj-v7hg: NuGet.Packaging | O3 Security