Vulnerabilities in pkg:nuget/NuGet.Packaging
PACKAGEGHSA-g4vj-cjjj-v7hg is a LOW defense vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting NuGet.Packaging libraries in the NuGet ecosystem. The issue involves defense in depth update for nuget client. Remediation is available by upgrading affected packages to version 4.9.7, 5.11.7, 6.8.2, 6.11.2, 6.12.5, 6.14.3, 7.0.3, 7.3.1.
pkg:nuget/NuGet.Packaging
Vulnerability advisories affecting package pkg:nuget/NuGet.Packaging. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-g4vj-cjjj-v7hg | - | LOW | Defense in Depth update for NuGet Client |
| GHSA-68w7-72jg-6qpp | CVE-2024-0057 | CRITICAL | NuGet Client Security Feature Bypass Vulnerability |
GHSA-g4vj-cjjj-v7hg at a Glance
How to Fix GHSA-g4vj-cjjj-v7hg
To remediate this vulnerability, upgrade all affected NuGet.Packaging dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade NuGet.Packaging to 4.9.7
Upgrade NuGet.Packaging to 5.11.7
Upgrade NuGet.Packaging to 6.8.2
Upgrade NuGet.Packaging to 6.11.2
Upgrade NuGet.Packaging to 6.12.5
Upgrade NuGet.Packaging to 6.14.3
Upgrade NuGet.Packaging to 7.0.3
Upgrade NuGet.Packaging to 7.3.1
Upgrade NuGet.Protocol to 4.9.7
Upgrade NuGet.Protocol to 5.11.7
Upgrade NuGet.Protocol to 6.8.2
Upgrade NuGet.Protocol to 6.11.2
Upgrade NuGet.Protocol to 6.12.5
Upgrade NuGet.Protocol to 6.14.3
Upgrade NuGet.Protocol to 7.0.3
Upgrade NuGet.Protocol to 7.3.1
Upgrade NuGet.CommandLine to 4.9.7
Upgrade NuGet.CommandLine to 5.11.7
Upgrade NuGet.CommandLine to 6.8.2
Upgrade NuGet.CommandLine to 6.11.2
Upgrade NuGet.CommandLine to 6.12.5
Upgrade NuGet.CommandLine to 6.14.3
Upgrade NuGet.CommandLine to 7.0.3
Upgrade NuGet.CommandLine to 7.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for NuGet.Packaging
How to Check if You Are Affected
To determine whether your application is affected by GHSA-g4vj-cjjj-v7hg, inspect your project dependencies for NuGet.Packaging:
inspect dependencies for NuGet.Packaging
Analyze the terminal output to locate any version of NuGet.Packaging in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.9.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In NuGet.Packaging, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-g4vj-cjjj-v7hg Affected NuGet.Packaging Versions
24 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
NuGet.Packaging
|
NuGet |
≥ 4.9.0
< 4.9.7
|
4.9.7
|
|
NuGet.Packaging
|
NuGet |
≥ 5.11.0
< 5.11.7
|
5.11.7
|
|
NuGet.Packaging
|
NuGet |
≥ 6.8.0
< 6.8.2
|
6.8.2
|
|
NuGet.Packaging
|
NuGet |
≥ 6.11.0
< 6.11.2
|
6.11.2
|
|
NuGet.Packaging
|
NuGet |
≥ 6.12.0
< 6.12.5
|
6.12.5
|
|
NuGet.Packaging
|
NuGet |
≥ 6.14.0
< 6.14.3
|
6.14.3
|
|
NuGet.Packaging
|
NuGet |
≥ 7.0.0
< 7.0.3
|
7.0.3
|
|
NuGet.Packaging
|
NuGet |
≥ 7.3.0
< 7.3.1
All 1 versions
7.3.0
|
7.3.1
|
|
NuGet.Protocol
|
NuGet |
≥ 4.9.0
< 4.9.7
|
4.9.7
|
|
NuGet.Protocol
|
NuGet |
≥ 5.11.0
< 5.11.7
|
5.11.7
|
|
NuGet.Protocol
|
NuGet |
≥ 6.8.0
< 6.8.2
|
6.8.2
|
|
NuGet.Protocol
|
NuGet |
≥ 6.11.0
< 6.11.2
|
6.11.2
|
|
NuGet.Protocol
|
NuGet |
≥ 6.12.0
< 6.12.5
|
6.12.5
|
|
NuGet.Protocol
|
NuGet |
≥ 6.14.0
< 6.14.3
|
6.14.3
|
|
NuGet.Protocol
|
NuGet |
≥ 7.0.0
< 7.0.3
|
7.0.3
|
|
NuGet.Protocol
|
NuGet |
≥ 7.3.0
< 7.3.1
All 1 versions
7.3.0
|
7.3.1
|
|
NuGet.CommandLine
|
NuGet |
≥ 4.9.0
< 4.9.7
|
4.9.7
|
|
NuGet.CommandLine
|
NuGet |
≥ 5.11.0
< 5.11.7
|
5.11.7
|
|
NuGet.CommandLine
|
NuGet |
≥ 6.8.0
< 6.8.2
|
6.8.2
|
|
NuGet.CommandLine
|
NuGet |
≥ 6.11.0
< 6.11.2
|
6.11.2
|
|
NuGet.CommandLine
|
NuGet |
≥ 6.12.0
< 6.12.5
|
6.12.5
|
|
NuGet.CommandLine
|
NuGet |
≥ 6.14.0
< 6.14.3
|
6.14.3
|
|
NuGet.CommandLine
|
NuGet |
≥ 7.0.0
< 7.0.3
|
7.0.3
|
|
NuGet.CommandLine
|
NuGet |
≥ 7.3.0
< 7.3.1
All 1 versions
7.3.0
|
7.3.1
|
References
Frequently Asked Questions
What is GHSA-g4vj-cjjj-v7hg?
Which NuGet.Packaging versions are affected?
What version fixes GHSA-g4vj-cjjj-v7hg?
Is NuGet.Packaging affected?
Is NuGet.Protocol affected?
What CWE is associated with GHSA-g4vj-cjjj-v7hg?
How can I check NuGet dependencies for GHSA-g4vj-cjjj-v7hg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g4vj-cjjj-v7hg",
"modified" : "2026-04-14T23:42:30Z",
"published" : "2026-04-14T23:42:30Z",
"aliases" : [ ],
"summary" : "Defense in Depth update for NuGet Client",
"details" : "### Impact\nThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation.\n\n### Patches\n\n#### NuGet\n\nThe following NuGet.exe, NuGet.CommandLine, NuGet.Packaging, and NuGet.Protocol versions have been patched:\n\n|Affected versions|Patched version|\n|--|--|\n|>= 4.9.0, <= 4.9.6|4.9.7|\n|>= 5.11.0, <= 5.11.6|5.11.7|\n|>= 6.8.0, <= 6.8.1|6.8.2|\n|>= 6.11.0, <= 6.11.1|6.11.2|\n|>= 6.12.0, <= 6.12.4|6.12.5|\n|>= 6.14.0, <= 6.14.2|6.14.3|\n|>= 7.0.0, <= 7.0.2|7.0.3|\n|7.3.0|7.3.1|\n\n#### .NET SDK\n\n* .NET 8.0.126 SDK\n* .NET 8.0.420 SDK\n* .NET 9.0.116 SDK\n* .NET 9.0.313 SDK\n* .NET 10.0.106 SDK\n* .NET 10.0.202 SDK\n\n### Workarounds\nN/A\n\n### References\nhttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr\n\n### Credit\n[splitline](https://x.com/_splitline_) with [DEVCORE](https://devco.re/)",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Packaging"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.9.0"
}, {
"fixed" : "4.9.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.9.6"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Packaging"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.11.0"
}, {
"fixed" : "5.11.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.11.6"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Packaging"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.8.0"
}, {
"fixed" : "6.8.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.8.1"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Packaging"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.11.0"
}, {
"fixed" : "6.11.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.11.1"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Packaging"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.12.0"
}, {
"fixed" : "6.12.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.12.4"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Packaging"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.14.0"
}, {
"fixed" : "6.14.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.14.2"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Packaging"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.0.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.0.2"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Packaging"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.3.0"
}, {
"fixed" : "7.3.1"
} ]
} ],
"versions" : [ "7.3.0" ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.9.0"
}, {
"fixed" : "4.9.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.9.6"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.11.0"
}, {
"fixed" : "5.11.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.11.6"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.8.0"
}, {
"fixed" : "6.8.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.8.1"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.11.0"
}, {
"fixed" : "6.11.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.11.1"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.12.0"
}, {
"fixed" : "6.12.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.12.4"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.14.0"
}, {
"fixed" : "6.14.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.14.2"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.0.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.0.2"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Protocol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.3.0"
}, {
"fixed" : "7.3.1"
} ]
} ],
"versions" : [ "7.3.0" ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.CommandLine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.9.0"
}, {
"fixed" : "4.9.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.9.6"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.CommandLine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.11.0"
}, {
"fixed" : "5.11.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.11.6"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.CommandLine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.8.0"
}, {
"fixed" : "6.8.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.8.1"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.CommandLine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.11.0"
}, {
"fixed" : "6.11.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.11.1"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.CommandLine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.12.0"
}, {
"fixed" : "6.12.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.12.4"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.CommandLine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.14.0"
}, {
"fixed" : "6.14.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.14.2"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.CommandLine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.0.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.0.2"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.CommandLine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.3.0"
}, {
"fixed" : "7.3.1"
} ]
} ],
"versions" : [ "7.3.0" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/NuGet/NuGet.Client/security/advisories/GHSA-g4vj-cjjj-v7hg"
}, {
"type" : "WEB",
"url" : "https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/NuGet/NuGet.Client"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-345" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-14T23:42:30Z",
"nvd_published_at" : null
}
}