CVE-2025-30086: Github.com/goharbor/harbor Possible ORM Leak Vulnerability Vulnerability
MODERATECVE-2025-30086 is a MODERATE (CVSS 4.9) possible orm leak vulnerability vulnerability (CWE-202: Exposure of Sensitive Information Through Data Queries) affecting Github.com/goharbor/harbor libraries in the Go ecosystem. The issue involves possible orm leak vulnerability in the harbor. Remediation is available by upgrading affected packages to version 2.13.1, 2.12.4, 2.4.0-rc1.0.20250331071157-dce7d9f5cffb.
CVE-2025-30086 at a Glance
Security Impact
CVSS: 4.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-30086
To remediate this vulnerability, upgrade all affected Github.com/goharbor/harbor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/goharbor/harbor to 2.13.1
Upgrade github.com/goharbor/harbor to 2.12.4
Upgrade github.com/goharbor/harbor to 2.4.0-rc1.0.20250331071157-dce7d9f5cffb
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/goharbor/harbor
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-30086, inspect your project dependencies for Github.com/goharbor/harbor:
inspect dependencies for github.com/goharbor/harbor
Analyze the terminal output to locate any version of Github.com/goharbor/harbor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.13.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-202: Exposure of Sensitive Information Through Data Queries, where when trying to keep information confidential, an attacker can often infer some of the information by using statistics. In Github.com/goharbor/harbor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-30086 Affected Github.com/goharbor/harbor Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/goharbor/harbor
|
Go |
≥ 2.13.0
< 2.13.1
All 1 versions
2.13.0
|
2.13.1
|
|
github.com/goharbor/harbor
|
Go |
≥ 2.4.0-rc1.1
< 2.12.4
|
2.12.4
|
|
github.com/goharbor/harbor
|
Go |
< 2.4.0-rc1.0.20250331071157-dce7d9f5cffb
|
2.4.0-rc1.0.20250331071157-dce7d9f5cffb
|
References
Frequently Asked Questions
What is CVE-2025-30086?
Which Github.com/goharbor/harbor versions are affected?
What version fixes CVE-2025-30086?
Is github.com/goharbor/harbor affected?
What is the CVSS score of CVE-2025-30086?
What CWE is associated with CVE-2025-30086?
How can I check Go dependencies for CVE-2025-30086?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h27m-3qw8-3pw8",
"modified" : "2025-07-25T16:23:52Z",
"published" : "2025-07-23T15:47:31Z",
"aliases" : [ "CVE-2025-30086" ],
"summary" : "Possible ORM Leak Vulnerability in the Harbor",
"details" : "### Impact\n\nAdministrator 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.\n\nAn 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. \n\n\n### Patches\nNo available\n\n### Workarounds\nNA\n\n### References\n\n### Credit\nalex@elttam.com",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/goharbor/harbor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.13.0"
}, {
"fixed" : "2.13.1"
} ]
} ],
"versions" : [ "2.13.0" ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/goharbor/harbor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0-rc1.1"
}, {
"fixed" : "2.12.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/goharbor/harbor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.0-rc1.0.20250331071157-dce7d9f5cffb"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/goharbor/harbor/security/advisories/GHSA-h27m-3qw8-3pw8"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-30086"
}, {
"type" : "WEB",
"url" : "https://github.com/goharbor/harbor/commit/dce7d9f5cffbd0d0c5d27e7a2f816f65a930702c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/goharbor/harbor"
}, {
"type" : "WEB",
"url" : "https://github.com/goharbor/harbor/releases"
}, {
"type" : "WEB",
"url" : "https://goharbor.io/blog"
}, {
"type" : "WEB",
"url" : "https://www.elttam.com/blog/plormbing-your-django-orm"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-202" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-23T15:47:31Z",
"nvd_published_at" : "2025-07-25T15:15:26Z"
}
}