{"answers":{"affected":"40 open source packages ship an affected version, including NuGet.CommandLine, NuGet.Packaging and NuGet.Protocol.","exploited":"There is no known exploitation of GHSA-g4vj-cjjj-v7hg in the wild and no public exploit code.","fix":"Upgrade NuGet.CommandLine to a fixed version for your release line: 4.9.7, 5.11.7, 6.11.2 or 6.12.5.","what":"GHSA-g4vj-cjjj-v7hg is a vulnerability in NuGet.CommandLine, published on 14 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-g4vj-cjjj-v7hg and fix it if it is affected.\n\nWhat it is: GHSA-g4vj-cjjj-v7hg is a vulnerability in NuGet.CommandLine, published on 14 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-g4vj-cjjj-v7hg in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- NuGet.CommandLine (NuGet): affected from 4.9.0; fixed in 4.9.7\n- NuGet.CommandLine (NuGet): affected from 4.9.0; fixed in 4.9.7\n- NuGet.CommandLine (NuGet): affected from 5.11.0; fixed in 5.11.7\n- NuGet.CommandLine (NuGet): affected from 5.11.0; fixed in 5.11.7\n- NuGet.CommandLine (NuGet): affected from 6.11.0; fixed in 6.11.2\n- NuGet.CommandLine (NuGet): affected from 6.11.0; fixed in 6.11.2\n- NuGet.CommandLine (NuGet): affected from 6.12.0; fixed in 6.12.5\n- NuGet.CommandLine (NuGet): affected from 6.12.0; fixed in 6.12.5\n- NuGet.CommandLine (NuGet): affected from 6.14.0; fixed in 6.14.3\n- NuGet.CommandLine (NuGet): affected from 6.14.0; fixed in 6.14.3\n- NuGet.CommandLine (NuGet): affected from 6.8.0; fixed in 6.8.2\n- NuGet.CommandLine (NuGet): affected from 6.8.0; fixed in 6.8.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-g4vj-cjjj-v7hg/ (Markdown: https://insights.sbomify.com/GHSA-g4vj-cjjj-v7hg/index.md)","id":"GHSA-g4vj-cjjj-v7hg","markdown":"https://insights.sbomify.com/GHSA-g4vj-cjjj-v7hg/index.md","name":"GHSA-g4vj-cjjj-v7hg","record":{"aliases":[],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"NuGet Client","requires_auth":"none","summary":"NuGet client lacked package ID and version validation during download, allowing potential supply chain attacks via malicious packages.","user_interaction":"not_required","vuln_class":"supply_chain"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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|\u003e= 4.9.0, \u003c= 4.9.6|4.9.7|\n|\u003e= 5.11.0, \u003c= 5.11.6|5.11.7|\n|\u003e= 6.8.0, \u003c= 6.8.1|6.8.2|\n|\u003e= 6.11.0, \u003c= 6.11.1|6.11.2|\n|\u003e= 6.12.0, \u003c= 6.12.4|6.12.5|\n|\u003e= 6.14.0, \u003c= 6.14.2|6.14.3|\n|\u003e= 7.0.0, \u003c= 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/)","ecosystems":["NuGet"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Defense in Depth update for NuGet Client","id":"GHSA-g4vj-cjjj-v7hg","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"supply_chain","year":"2026"},"n_packages":48,"n_references":null,"packages":[{"ecosystem":"NuGet","fixed":["4.9.7"],"introduced":["4.9.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["4.9.7"],"introduced":["4.9.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["5.11.7"],"introduced":["5.11.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["5.11.7"],"introduced":["5.11.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.11.2"],"introduced":["6.11.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.11.2"],"introduced":["6.11.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.12.5"],"introduced":["6.12.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.12.5"],"introduced":["6.12.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.14.3"],"introduced":["6.14.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.14.3"],"introduced":["6.14.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.8.2"],"introduced":["6.8.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.8.2"],"introduced":["6.8.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["7.0.3"],"introduced":["7.0.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["7.0.3"],"introduced":["7.0.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["7.3.1"],"introduced":["7.3.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["7.3.1"],"introduced":["7.3.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["4.9.7"],"introduced":["4.9.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["4.9.7"],"introduced":["4.9.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["5.11.7"],"introduced":["5.11.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["5.11.7"],"introduced":["5.11.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.11.2"],"introduced":["6.11.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.11.2"],"introduced":["6.11.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.12.5"],"introduced":["6.12.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.12.5"],"introduced":["6.12.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.14.3"],"introduced":["6.14.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.14.3"],"introduced":["6.14.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.8.2"],"introduced":["6.8.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.8.2"],"introduced":["6.8.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["7.0.3"],"introduced":["7.0.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["7.0.3"],"introduced":["7.0.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["7.3.1"],"introduced":["7.3.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["7.3.1"],"introduced":["7.3.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["4.9.7"],"introduced":["4.9.0"],"last_affected":[],"package":"NuGet.Protocol","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["4.9.7"],"introduced":["4.9.0"],"last_affected":[],"package":"NuGet.Protocol","purl":"pkg:nuget/NuGet.Protocol","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["5.11.7"],"introduced":["5.11.0"],"last_affected":[],"package":"NuGet.Protocol","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["5.11.7"],"introduced":["5.11.0"],"last_affected":[],"package":"NuGet.Protocol","purl":"pkg:nuget/NuGet.Protocol","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.11.2"],"introduced":["6.11.0"],"last_affected":[],"package":"NuGet.Protocol","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.11.2"],"introduced":["6.11.0"],"last_affected":[],"package":"NuGet.Protocol","purl":"pkg:nuget/NuGet.Protocol","source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.12.5"],"introduced":["6.12.0"],"last_affected":[],"package":"NuGet.Protocol","purl":null,"source":"GHSA-g4vj-cjjj-v7hg"},{"ecosystem":"NuGet","fixed":["6.12.5"],"introduced":["6.12.0"],"last_affected":[],"package":"NuGet.Protocol","purl":"pkg:nuget/NuGet.Protocol","source":"GHSA-g4vj-cjjj-v7hg"}],"products":null,"published":"2026-04-14","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"NuGet client lacked package ID and version validation during download, allowing potential supply chain attacks via malicious packages.","url":"https://insights.sbomify.com/GHSA-g4vj-cjjj-v7hg/"}