CVE-2025-30086: Possible ORM Leak Vulnerability in the Harbor
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.
Published Jul 23, 2025 · Updated Jul 25, 2025
Affected packages
github.com/goharbor/harbor
- Ecosystem
- Go
- Affected
- = 2.13.0
- Fixed in
- 2.13.1
- Check
go list -m github.com/goharbor/harbor
github.com/goharbor/harbor
- Ecosystem
- Go
- Affected
- >= 2.4.0-rc1.1, < 2.12.4
- Fixed in
- 2.12.4
- Check
go list -m github.com/goharbor/harbor
github.com/goharbor/harbor
- Ecosystem
- Go
- Affected
- < 2.4.0-rc1.0.20250331071157-dce7d9f5cffb
- Fixed in
- 2.4.0-rc1.0.20250331071157-dce7d9f5cffb
- Check
go list -m github.com/goharbor/harbor
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
References
- https://github.com/goharbor/harbor/security/advisories/GHSA-h27m-3qw8-3pw8
- https://github.com/goharbor/harbor/commit/dce7d9f5cffbd0d0c5d27e7a2f816f65a930702c
- https://nvd.nist.gov/vuln/detail/CVE-2025-30086
- https://github.com/goharbor/harbor/releases
- https://goharbor.io/blog
- https://www.elttam.com/blog/plormbing-your-django-orm
- https://github.com/advisories/GHSA-h27m-3qw8-3pw8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesGHSA-prh4-vhfh-24mj
Harbor: LDAP password and OIDC secret are not redacted in the audit log
medium6.9Mar 26, 2026CVE-2026-4404
Harbor allows the use of the default password for web UI login
critical9.4No fixMar 23, 2026CVE-2025-32019
Harbor repository description page has Cross-site Scripting vulnerability
medium4.1No fixJul 23, 2025CVE-2022-31668
Harbor fails to validate the user permissions when updating p2p preheat policies
high7.4Nov 14, 2024CVE-2024-22278
Harbor fails to validate the user permissions when updating project configurations
high5.5Jul 31, 2024CVE-2024-22244
Open Redirect URL in Harbor
medium4.3Jun 2, 2024
