CVE-2026-4404: Github.com/goharbor/harbor Harbor Allows The Use Of Vulnerability

CRITICAL
Advisory Identifier: GHSA-hj7x-hmf2-hc2p
CVSS 9.4
CWE-798 CWE-1393
Published
Advisory Summary

CVE-2026-4404 is a CRITICAL (CVSS 9.4) harbor allows the use of vulnerability (CWE-798: Use of Hard-coded Credentials) affecting Github.com/goharbor/harbor libraries in the Go ecosystem. The issue involves harbor allows the use of the default password for web ui login. Remediation is available in the latest vendor maintenance releases.

CVE-2026-4404 at a Glance

CVE Identifier CVE-2026-4404
GHSA Identifier GHSA-hj7x-hmf2-hc2p
Severity CRITICAL
CVSS v3.1 Base Score 9.4
CWE Classification CWE-798: Use of Hard-coded Credentials
Affected Product Github.com/goharbor/harbor
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability Low (A:L)

How to Fix CVE-2026-4404

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.

github.com/goharbor/harbor fixed: Latest secure release
Upgrade github.com/goharbor/harbor to Latest secure release
Verify Direct and Transitive Dependencies

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-2026-4404, 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 the patched release), 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-798: Use of Hard-coded Credentials, where the product contains hard-coded credentials, such as a password or cryptographic key. 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

Use of hard coded credentials in GoHarbor Harbor version 2.15.0 and below, allows attackers to use the default password and gain access to the web UI.

CVE-2026-4404 Affected Github.com/goharbor/harbor Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/goharbor/harbor
Go
≤ 2.15.0

References

Frequently Asked Questions

What is CVE-2026-4404?
CVE-2026-4404 is a security vulnerability in Github.com/goharbor/harbor involving Harbor allows the use of the default password for web UI login under CWE-798: Use of Hard-coded Credentials.
Which Github.com/goharbor/harbor versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/goharbor/harbor.
What version fixes CVE-2026-4404?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/goharbor/harbor affected?
Yes, github.com/goharbor/harbor is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-4404?
CVE-2026-4404 has a CVSS v3.1 base score of 9.4 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L.
What CWE is associated with CVE-2026-4404?
CVE-2026-4404 is classified under CWE-798: Use of Hard-coded Credentials (The product contains hard-coded credentials, such as a password or cryptographic key.).
How can I check Go dependencies for CVE-2026-4404?
Run the dependency tree command: 'inspect dependencies for github.com/goharbor/harbor'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hj7x-hmf2-hc2p",
  "modified" : "2026-03-25T20:10:56Z",
  "published" : "2026-03-23T15:30:44Z",
  "aliases" : [ "CVE-2026-4404" ],
  "summary" : "Harbor allows the use of the default password for web UI login",
  "details" : "Use of hard coded credentials in GoHarbor Harbor version 2.15.0 and below, allows attackers to use the default password and gain access to the web UI.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/goharbor/harbor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.15.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-4404"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/goharbor/harbor/issues/1937"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/goharbor/harbor/pull/22751"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/goharbor/harbor"
  }, {
    "type" : "WEB",
    "url" : "https://goharbor.io/docs/1.10/install-config/run-installer-script/#:~:text=If%20you%20did%20not%20change%20them%20in%20harbor.yml,%20the%20default%20administrator%20username%20and%20password%20are%20admin%20and%20Harbor12345"
  }, {
    "type" : "WEB",
    "url" : "https://www.kb.cert.org/vuls/id/577436"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1393", "CWE-798" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-25T20:10:56Z",
    "nvd_published_at" : "2026-03-23T15:16:35Z"
  }
}