GHSA-prh4-vhfh-24mj: Harbor LDAP Password And OIDC Secret Vulnerability
MODERATEGHSA-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.
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
}
}