GitHub Advisoryadvisory · Go

GHSA-h27m-3qw8-3pw8 Possible ORM Leak Vulnerability in the Harbor

MEDIUM Published 2025-07-23 Modified 2025-07-25 Official page ↗
Aliases
CVE-2025-30086
Ecosystem
Go
Packages
github.com/goharbor/harbor
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-200, CWE-202
Reviewed
2025-07-23

Affected packages

• Go github.com/goharbor/harbor: >= 2.13.0, < 2.13.1 → fixed in 2.13.1 • Go github.com/goharbor/harbor: >= 2.4.0-rc1.1, < 2.12.4 → fixed in 2.12.4 • Go github.com/goharbor/harbor: < 2.4.0-rc1.0.20250331071157-dce7d9f5cffb → fixed in 2.4.0-rc1.0.20250331071157-dce7d9f5cffb

Description

Impact Administrator users on Harbor could exploit an ORM Leak (https://www.elttam.com/blog/plormbing-your-django-orm/) vulnerability that was present in the `/api/v2.0/users` endpoint to leak users' password hash and salt values. This vulnerability was introduced into the application because the `q` URL parameter allowed the administrator to filter users by any column, and the filter `password=~` could be abused to leak out a user's password hash character by character. An attacker with administrator access could exploit this vulnerability to leak highly sensitive information stored on the Harbor database, as demonstrated in the attached writeup by the leaking of users' password hashes and salts. All endpoints that support the `q` URL parameter are vulnerable to this ORM leak attack, and could potentially be exploitable by lower privileged users to gain unauthorised access to other sensitive information. Patches No available Workarounds NA References Credit [email protected]

Related

Alias · CVE (1)

  • CVE-2025-30086 CNCF Harbor 2.13.x before 2.13.1 and 2.12.x before 2.12.4 allows information disclosure by administrators who can exploit an ORM Leak… vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-202 Exposure of Sensitive Information Through Data Queries weakness

References