Vulnerability · Published Jul 25, 2025 · Assigned by mitre
CVE-2025-30086
Medium 4.9
In plain English
A medium-severity information exposure in the github.com/goharbor/harbor package (Go). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 present in the /api/v2.0/users endpoint to leak users' password hash and salt values. The q URL parameter allows a user to filter users by any column, and filter password=~ could be abused to leak out a user's password hash character by character. An attacker with administrator access could exploit this to leak highly sensitive information stored in the Harbor database. All endpoints that support the q URL parameter are vulnerable to this ORM leak attack.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/goharbor/harbor | 2.13.1 | GHSA-h27m-3qw8-3pw8 |
| Go | github.com/goharbor/harbor | 2.12.4 | GHSA-h27m-3qw8-3pw8 |
| Go | github.com/goharbor/harbor | 2.4.0-rc1.0.20250331071157-dce7d9f5cffb | GHSA-h27m-3qw8-3pw8 |
| Go | github.com/goharbor/harbor | 2.12.4+incompatible, 2.13.1+incompatible | GO-2025-3826 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N