Skip to content

Possible disclosure of private NuGet repository credentials to api.nuget.org

Moderate
nscuro published GHSA-83g2-vgqh-mgxc Oct 7, 2025

Package

maven org.dependencytrack:dependency-track (Maven)

Affected versions

< 4.13.5

Patched versions

4.13.5

Description

Description

Dependency-Track allows administrators to configure custom package repositories,
which it uses to lookup version information about software components, e.g. their latest version.
To facilitate the usage of internal and/or private repositories, it is further possible to configure credentials for authentication.

Administrators can configure patterns to mark certain components as internal.
Information about internal components is supposed to not be sent to 3rd party services, including public package repositories.
They will however be sent to configured repositories that were explicitly marked as internal.

Interactions with repositories for .NET packages are performed using the NuGet Server API.
The API is based on a single entry point (the service index), from which resources provided by the API are linked.
Dependency-Track specifically relies on the PackageBaseAddress resource for its version lookups.
According to the NuGet API specification, repository servers are required to provide this resource.

Some servers implementing the NuGet API turned out to not provide the PackageBaseAddress resource
in their service index. This caused Dependency-Track to fall back to its default, which points to the public NuGet repository api.nuget.org. However, if authentication credentials were configured, they were still used.

Impact

  • Dependency-Track may send credentials meant for a private NuGet repository to api.nuget.org via the HTTP Authorization header.
  • Dependency-Track may disclose names and versions of components marked as internal to api.nuget.org.

Preconditions:

  • The Dependency-Track instance contains .NET components.
  • A custom NuGet repository has been configured.
  • The custom repository has been configured with authentication credentials.
  • The repository server does not provide PackageBaseAddress resource in its service index.

The vulnerability has originally been reported in combination with usage of JFrog Artifactory as NuGet server.

Patches

The issue has been fixed in Dependency-Track 4.13.5.

Workarounds

  • Disable custom NuGet repositories until the patch has been applied.
  • Invalidate the previously used credentials.
  • Generate new credentials for usage after the patch has been applied.

Credit

Thanks to Colin Fyfe (@colinfyfe) for responsibly disclosing and fixing the issue.

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

CVE ID

CVE-2025-61776

Weaknesses

No CWEs

Credits