Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/goharbor/harbor
  4. ›
  5. CVE-2025-30086

CVE-2025-30086: Possible ORM Leak Vulnerability in the Harbor

July 23, 2025 (updated July 25, 2025)

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.

References

  • github.com/advisories/GHSA-h27m-3qw8-3pw8
  • github.com/goharbor/harbor
  • github.com/goharbor/harbor/commit/dce7d9f5cffbd0d0c5d27e7a2f816f65a930702c
  • github.com/goharbor/harbor/releases
  • github.com/goharbor/harbor/security/advisories/GHSA-h27m-3qw8-3pw8
  • goharbor.io/blog
  • nvd.nist.gov/vuln/detail/CVE-2025-30086
  • www.elttam.com/blog/plormbing-your-django-orm

Code Behaviors & Features

Detect and mitigate CVE-2025-30086 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.4.0-rc1.1 before 2.12.4, all versions starting from 2.13.0 before 2.13.1, version 2.13.0

Fixed versions

  • 2.13.1
  • 2.12.4

Solution

Upgrade to versions 2.12.4, 2.13.1 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-202: Exposure of Sensitive Information Through Data Queries

Source file

go/github.com/goharbor/harbor/CVE-2025-30086.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:57 +0000.