Advisory record · GHSA-3885-8gqc-3wpf

Potential leak of NuGet.org API key

CVSS 5.5 MediumEPSS 0.061 · 93rd percentile

Published by the GitHub Advisory Database at 14 Jun 2022, 21:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
NuGet.CommandsNuGet>=3.5.0, <4.9.5 || >=5.0.0, <5.2.1 || >=5.3.0, <5.7.2 || >=5.8.0, <5.9.2 || >=5.10.0, <5.11.2 || >=6.0.0, <6.0.2 || >=6.1.0, <6.2.14.9.5, 5.2.1, 5.7.2, 5.9.2, 5.11.2, 6.0.2, 6.2.1
NuGet.CommandLineNuGet>=3.5.0, <4.9.5 || >=5.0.0, <5.2.1 || >=5.3.0, <5.7.2 || >=5.8.0, <5.9.2 || >=5.10.0, <5.11.2 || >=6.0.0, <6.0.2 || >=6.1.0, <6.2.14.9.5, 5.2.1, 5.7.2, 5.9.2, 5.11.2, 6.0.2, 6.2.1
NuGet.CommandLine.XPlatNuGet>=3.5.0, <4.9.5 || >=5.0.0, <5.2.1 || >=5.3.0, <5.7.2 || >=5.8.0, <5.9.2 || >=5.10.0, <5.11.2 || >=6.0.0, <6.0.2 || >=6.1.0, <6.2.14.9.5, 5.2.1, 5.7.2, 5.9.2, 5.11.2, 6.0.2, 6.2.1
Identifiers
GHSA-3885-8gqc-3wpf · BIT-dotnet-2022-30184 · BIT-dotnet-sdk-2022-30184 · CVE-2022-30184
Weakness (CWE)
CWE-200
Published
14 Jun 2022
Updated
28 Feb 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The NuGet.Commands, NuGet.CommandLine and NuGet.CommandLine.XPlat packages are affected in versions from 3.5.0 up to (but not including) 4.9.5, 5.2.1, 5.7.2, 5.9.2, 5.11.2, 6.0.2 and 6.2.1, depending on release line. Due to an incorrect comparison with a server URL, a nuget.org API key could leak, so an attacker who can get the key sent to a server they control may be able to use it. The source gives few details on the exact conditions required. Upgrade to the fixed version for your release line (for example 6.2.1 or 6.0.2); the source does not list a workaround.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.5 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C CNA (microsoft)
  • CISA KEV Not listed.
  • EPSS 0.061, the 93rd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:22 UTC First seen by agentprime
  2. 31 Oct 2026, 15:22 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.