Is NuGet.CommandLine 4.9 vulnerable?

NuGet · 2 releases from 4.9.6 to 4.9.7 · latest NuGet.CommandLine is 8.0.0 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. NuGet.CommandLine 4.9.7, the last 4.9 release, is affected by 2 known security advisories (1 critical, 1 high), including CVE-2024-0057, CVE-2023-29337. 1 more affects earlier 4.9.x releases. Upgrade to 5.11.6 or later to fix all of them.

Upgrade with:dotnet add package NuGet.CommandLine --version 5.11.6

Is your project on an affected NuGet.CommandLine?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting NuGet.CommandLine 4.9.7

  • CriticalCVE-2024-0057GHSA-68w7-72jg-6qpp13 Feb 2024

    NuGet Client Security Feature Bypass Vulnerability

    Affected
    >=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
    Fixed in
    5.11.6, 6.0.6, 6.3.4, 6.4.3, 6.6.2, 6.7.1, 6.8.1
  • HighCVE-2023-29337GHSA-6qmf-mmc7-6c2p14 Jun 2023

    NuGet Client Remote Code Execution Vulnerability

    Affected
    >=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
    Fixed in
    5.11.5, 6.0.5, 6.2.4, 6.3.3, 6.4.2, 6.5.1, 6.6.1

Fixed within 4.9.x, affecting earlier releases

  • LowGHSA-g4vj-cjjj-v7hg14 Apr 2026

    Defense in Depth update for NuGet Client

    Affected
    >=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
    Fixed in
    4.9.7, 5.11.7, 6.8.2, 6.11.2, 6.12.5, 6.14.3, 7.0.3, 7.3.1

Every NuGet.CommandLine 4.9.x release

Affected: 4.9.6 to 4.9.7. Latest NuGet.CommandLine: 8.0.0.

VersionKnown advisories
NuGet.CommandLine 4.9.7CVE-2024-0057, CVE-2023-29337
NuGet.CommandLine 4.9.6GHSA-g4vj-cjjj-v7hg, CVE-2024-0057, CVE-2023-29337

Which of your client projects are still on NuGet.CommandLine 4.9?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact NuGet.CommandLine version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other NuGet.CommandLine versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the NuGet registry. Refreshed daily.