Vulnerabilities in pkg:golang/github.com/goharbor/harbor
PACKAGEGHSA-prh4-vhfh-24mj is a MODERATE ldap password and oidc secret vulnerability (CWE-312: Cleartext Storage of Sensitive Information) affecting Harbor libraries in the Go ecosystem. The issue involves ldap password and oidc secret are not redacted in the audit log. Remediation is available by upgrading affected packages to version 2.13.5, 2.14.3.
pkg:golang/github.com/goharbor/harbor
Vulnerability advisories affecting package pkg:golang/github.com/goharbor/harbor. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-prh4-vhfh-24mj | - | MODERATE | Harbor: LDAP password and OIDC secret are not redacted in the audit log |
| GHSA-hj7x-hmf2-hc2p | CVE-2026-4404 | CRITICAL | Harbor allows the use of the default password for web UI login |
| GHSA-h27m-3qw8-3pw8 | CVE-2025-30086 | MODERATE | Possible ORM Leak Vulnerability in the Harbor |
| GHSA-f9vc-vf3r-pqqq | CVE-2025-32019 | MODERATE | Harbor repository description page has Cross-site Scripting vulnerability |
| GHSA-5757-v49g-f6r7 | CVE-2024-22244 | MODERATE | Open Redirect URL in Harbor |
| GHSA-r864-28pw-8682 | CVE-2022-31668 | HIGH | Harbor fails to validate the user permissions when updating p2p preheat policies |
| GHSA-q76q-q8hw-hmpw | CVE-2022-31671 | MODERATE | Harbor fails to validate the user permissions when reading job execution logs through the P2P preheat execution logs |
| GHSA-xx9w-464f-7h6f | CVE-2022-31667 | MODERATE | Harbor fails to validate the user permissions when updating a robot account |
| GHSA-8c6p-v837-77f6 | CVE-2022-31669 | MODERATE | Harbor fails to validate the user permissions when updating tag immutability policies |
| GHSA-3637-v6vq-xqqw | CVE-2022-31670 | HIGH | Harbor fails to validate the user permissions when updating tag retention policies |
| GHSA-hw28-333w-qxp3 | CVE-2024-22278 | HIGH | Harbor fails to validate the user permissions when updating project configurations |
| GHSA-jf8p-3vjh-pq94 | CVE-2022-31666 | HIGH | Harbor fails to validate the user permissions when viewing Webhook policies |
| GHSA-rffr-c932-cpxv | CVE-2019-19025 | HIGH | Cross-site Request Forgery (CSRF) in Cloud Native Computing Foundation Harbor |
| GHSA-jr34-mff8-pc6f | CVE-2019-19029 | HIGH | SQL Injection in Cloud Native Computing Foundation Harbor |
| GHSA-vw63-824v-qf2j | CVE-2024-22261 | LOW | SQL Injection in Harbor scan log API |
| GHSA-mq6f-5xh5-hgcf | CVE-2023-20902 | MODERATE | Harbor timing attack risk |
| GHSA-q9x4-q76f-5h5j | CVE-2019-19030 | MODERATE | Unauthenticated users can exploit an enumeration vulnerability in Harbor (CVE-2019-19030) |
| GHSA-q9p8-33wc-h432 | CVE-2020-13794 | MODERATE | Authenticated users can exploit an enumeration vulnerability in Harbor |
| GHSA-38r5-34mr-mvm7 | CVE-2020-29662 | MODERATE | "catalog's registry v2 api exposed on unauthenticated path in Harbor" |
| GHSA-33p6-fx42-7rf5 | CVE-2020-13788 | LOW | Harbor is vulnerable to a limited Server-Side Request Forgery (SSRF) (CVE-2020-13788) |
| GHSA-9wvh-ff5f-xjpj | CVE-2019-16097 | MODERATE | Missing Authorization in Harbor |
| GHSA-w4x5-jqq4-qc8x | CVE-2019-19026 | MODERATE | SQL Injection in Cloud Native Computing Foundation Harbor |
| GHSA-q6cj-6jvq-jwmh | CVE-2019-19023 | MODERATE | Privilege Escalation in Cloud Native Computing Foundation Harbor |
GHSA-prh4-vhfh-24mj at a Glance
How to Fix GHSA-prh4-vhfh-24mj
To remediate this vulnerability, upgrade all affected 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.5
Upgrade github.com/goharbor/harbor to 2.14.3
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 GHSA-prh4-vhfh-24mj, inspect your project dependencies for Harbor:
inspect dependencies for github.com/goharbor/harbor
Analyze the terminal output to locate any version of 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.5), 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-312: Cleartext Storage of Sensitive Information, where the product stores sensitive information in cleartext within a resource that might be accessible to another control sphere. In 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
GHSA-prh4-vhfh-24mj Affected Harbor Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/goharbor/harbor
|
Go |
≥ 2.13.0
< 2.13.5
|
2.13.5
|
|
github.com/goharbor/harbor
|
Go |
≥ 2.14.0
< 2.14.3
|
2.14.3
|
References
Frequently Asked Questions
What is GHSA-prh4-vhfh-24mj?
Which Harbor versions are affected?
What version fixes GHSA-prh4-vhfh-24mj?
Is github.com/goharbor/harbor affected?
What CWE is associated with GHSA-prh4-vhfh-24mj?
How can I check Go dependencies for GHSA-prh4-vhfh-24mj?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-prh4-vhfh-24mj",
"modified" : "2026-03-26T22:25:26Z",
"published" : "2026-03-26T22:25:26Z",
"aliases" : [ ],
"summary" : "Harbor: LDAP password and OIDC secret are not redacted in the audit log",
"details" : "### Impact\nHarbor write configuration payload to audit log when configuration change, the ldap_search_password and oidc_client_secret will be logged in the audit log without redacted\n\n### Patches\nHarbor v2.15.0, v2.14.3, v2.13.5\n\n### Workarounds\nDisable audit log configure event in Harbor Web Console: Go to Administration -> Configuration -> Enable Audit Log Event Type -> Uncheck \"Update Configuration\" and click \"Save\" Button.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/goharbor/harbor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.13.0"
}, {
"fixed" : "2.13.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/goharbor/harbor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.14.0"
}, {
"fixed" : "2.14.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/goharbor/harbor/security/advisories/GHSA-prh4-vhfh-24mj"
}, {
"type" : "WEB",
"url" : "https://github.com/goharbor/harbor/commit/85e756486fc19333c5c300d7ac273e1580dc9350"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/goharbor/harbor"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-312", "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-26T22:25:26Z",
"nvd_published_at" : null
}
}