Skip to content
OpenAdvisories
Medium · 4.9 CVE-2025-30086 EUVD-2025-22653GHSA-h27m-3qw8-3pw8GO-2025-3826

Possible ORM Leak Vulnerability in the Harbor

Published Jul 25, 2025 · Updated Jul 25, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250730T213748-1.1 openSUSE-SU-2025:15405-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/goharbor/harbor >= 2.13.0, < 2.13.1 2.13.1 GHSA-h27m-3qw8-3pw8
Go github.com/goharbor/harbor >= 2.4.0-rc1.1, < 2.12.4 2.12.4 GHSA-h27m-3qw8-3pw8
Go github.com/goharbor/harbor < 2.4.0-rc1.0.20250331071157-dce7d9f5cffb 2.4.0-rc1.0.20250331071157-dce7d9f5cffb GHSA-h27m-3qw8-3pw8
Go github.com/goharbor/harbor < 2.12.4+incompatible · >= 2.13.0+incompatible, < 2.13.1+incompatible 2.12.4+incompatible, 2.13.1+incompatible GO-2025-3826

Advisories 1

References