CVE-2025-62877: Github.com/harvester/harvester installer Harvest May Expose OS Default Vulnerability

CRITICAL
Advisory Identifier: GHSA-6g8q-hp2j-gvwv
CVSS 9.8
CWE-1188
Published
Advisory Summary

CVE-2025-62877 is a CRITICAL (CVSS 9.8) harvest may expose os default vulnerability (CWE-1188: Initialization of a Resource with an Insecure Default) affecting Github.com/harvester/harvester installer libraries in the Go ecosystem. The issue involves harvest may expose os default ssh login password via suse virtualization interactive installer. Remediation is available in the latest vendor maintenance releases.

CVE-2025-62877 at a Glance

CVE Identifier CVE-2025-62877
GHSA Identifier GHSA-6g8q-hp2j-gvwv
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-1188: Initialization of a Resource with an Insecure Default
Affected Product Github.com/harvester/harvester installer
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H).

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 High (A:H)

How to Fix CVE-2025-62877

To remediate this vulnerability, upgrade all affected Github.com/harvester/harvester installer 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/harvester/harvester-installer fixed: Latest secure release
Upgrade github.com/harvester/harvester-installer to Latest secure release
github.com/harvester/harvester-installer fixed: Latest secure release
Upgrade github.com/harvester/harvester-installer 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/harvester/harvester-installer

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-62877, inspect your project dependencies for Github.com/harvester/harvester installer:

inspect dependencies for github.com/harvester/harvester-installer

Analyze the terminal output to locate any version of Github.com/harvester/harvester installer 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-1188: Initialization of a Resource with an Insecure Default, where the product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure. In Github.com/harvester/harvester installer, 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

### Impact Projects using the SUSE Virtualization (Harvester) environment are vulnerable to this exploit if they are using the 1.5.x or 1.6.x interactive installer to either create a new cluster or add new hosts to an existing cluster. The environment is not affected if the [PXE boot mechanism](https://docs.harvesterhci.io/v1.7/install/pxe-boot-install/) is utilized along with the [Harvester configuration](https://docs.harvesterhci. io/v1.7/install/harvester-configuration) setup. A critical vulnerability has been identified within the SUSE Virtualization interactive installer. This vulnerability allows an attacker to gain unauthorized network access to the host via a remote shell (SSH). The SUSE Virtualization operating system includes a default administrative login credential intended solely for out-of-band cluster management tasks (for example, perform troubleshooting, device management and system recovery over serial ports). When the interactive installer is used to create or expand a cluster, the installer enables the host's networking functions before the default password is reset. This presents a window of opportunity for an attacker to exploit the default password to gain unauthorized access to the host via SSH. Please consult the associated [MITRE ATT&CK - Technique - Default Credentials](https://attack.mitre.org/techniques/T0812/) for further information about this category of attack. ### Patches This vulnerability is addressed by updating the interactive installer to allow the user to reset the OS default login password, before proceeding to other system configuration screens like the host networking screen and before network connectivity for remote access to the host is actually enabled. v1.7.0 and later include the necessary security fixes. ### Workarounds For environments that are dependent on the SUSE Virtualization 1.5 and 1.6 interactive installer, users should upgrade the clusters to SUSE Virtualization 1.7 and use the 1.7 installer to manage hosts. These versions allow users to reset the operating system's default administrative password before proceeding to other system configuration screens and before enabling network connectivity for remote host access. Projects can also perform one of the following workarounds to mitigate the risk: * If upgrading to v1.7.x is not an option, use the [PXE boot mechanism](https://docs.harvesterhci.io/v1.7/install/pxe-boot-install/) along with a configuration file to define a secure password. * Apply network security controls to limit access to the server from any untrusted location during bootstrapping. For example, ensure that port 22 is not exposed to the public internet until at least the default login password is changed to a secure value. ### Resources If users have any questions or comments about this advisory: * Reach out to the [SUSE Rancher Security team](https://github.com/harvester/harvester/security/policy) for security related inquiries. * Open an issue in the [Harvester](https://github.com/harvester/harvester/issues/new/choose) repository. * Verify with the [support matrix](https://www.suse.com/suse-harvester/support-matrix/all-supported-versions/harvester-v1-6-x/) and [product support lifecycle](https://www.suse.com/lifecycle/#suse-virtualization).

CVE-2025-62877 Affected Github.com/harvester/harvester installer Versions

2 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/harvester/harvester-installer
Go
≥ 1.6.0
≤ 1.6.1
github.com/harvester/harvester-installer
Go
≥ 1.5.0
≤ 1.5.2

References

Frequently Asked Questions

What is CVE-2025-62877?
CVE-2025-62877 is a security vulnerability in Github.com/harvester/harvester installer involving Harvest May Expose OS Default SSH Login Password Via SUSE Virtualization Interactive Installer under CWE-1188: Initialization of a Resource with an Insecure Default.
Which Github.com/harvester/harvester installer versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/harvester/harvester-installer.
What version fixes CVE-2025-62877?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/harvester/harvester-installer affected?
Yes, github.com/harvester/harvester-installer 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-2025-62877?
CVE-2025-62877 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-62877?
CVE-2025-62877 is classified under CWE-1188: Initialization of a Resource with an Insecure Default (The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.).
How can I check Go dependencies for CVE-2025-62877?
Run the dependency tree command: 'inspect dependencies for github.com/harvester/harvester-installer'. 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-6g8q-hp2j-gvwv",
  "modified" : "2026-01-08T21:18:48Z",
  "published" : "2026-01-05T20:25:53Z",
  "aliases" : [ "CVE-2025-62877" ],
  "summary" : "Harvest May Expose OS Default SSH Login Password Via SUSE Virtualization Interactive Installer",
  "details" : "### Impact\n\nProjects using the SUSE Virtualization (Harvester) environment are vulnerable to this exploit if they are using the 1.5.x or 1.6.x interactive installer to either create a new cluster or add new hosts to an existing cluster.  The environment is not affected if the [PXE boot mechanism](https://docs.harvesterhci.io/v1.7/install/pxe-boot-install/) is utilized along with the [Harvester configuration](https://docs.harvesterhci. io/v1.7/install/harvester-configuration) setup.\n\nA critical vulnerability has been identified within the SUSE Virtualization interactive installer. This vulnerability allows an attacker to gain unauthorized network access to the host via a remote shell (SSH).\n\nThe SUSE Virtualization operating system includes a default administrative login credential intended solely for out-of-band cluster management tasks (for example, perform troubleshooting, device management and system recovery over serial ports). When the interactive installer is used to create or expand a cluster, the installer enables the host's networking functions before the default password is reset. This presents a window of opportunity for an attacker to exploit the default password to gain unauthorized access to the host via SSH. \n\nPlease consult the associated  [MITRE ATT&CK - Technique - Default Credentials](https://attack.mitre.org/techniques/T0812/) for further information about this category of attack.\n\n### Patches\n\nThis vulnerability is addressed by updating the interactive installer to allow the user to reset the OS default login password, before proceeding to other system configuration screens like the host networking screen and before network connectivity for remote access to the host is actually enabled. \n\nv1.7.0 and later include the necessary security fixes. \n\n### Workarounds\n\nFor environments that are dependent on the SUSE Virtualization 1.5 and 1.6 interactive installer, users should upgrade the clusters to SUSE Virtualization 1.7 and use the 1.7 installer to manage hosts. These versions allow users to reset the operating system's default administrative password before proceeding to other system configuration screens and before enabling network connectivity for remote host access.\n\nProjects can also perform one of the following workarounds to mitigate the risk:\n\n* If upgrading to v1.7.x is not an option, use the [PXE boot mechanism](https://docs.harvesterhci.io/v1.7/install/pxe-boot-install/) along with a configuration file to define a secure password. \n* Apply network security controls to limit access to the server from any untrusted location during bootstrapping. For example, ensure that port 22 is not exposed to the public internet until at least the default login password is changed to a secure value.\n\n### Resources\n\nIf users have any questions or comments about this advisory: \n* Reach out to the [SUSE Rancher Security team](https://github.com/harvester/harvester/security/policy) for security related inquiries.\n* Open an issue in the [Harvester](https://github.com/harvester/harvester/issues/new/choose) repository.\n* Verify with the [support matrix](https://www.suse.com/suse-harvester/support-matrix/all-supported-versions/harvester-v1-6-x/) and [product support lifecycle](https://www.suse.com/lifecycle/#suse-virtualization).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/harvester/harvester-installer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.6.0"
      }, {
        "last_affected" : "1.6.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/harvester/harvester-installer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.5.0"
      }, {
        "last_affected" : "1.5.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/harvester/harvester/security/advisories/GHSA-6g8q-hp2j-gvwv"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-62877"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-62877"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/harvester/harvester"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1188" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-05T20:25:53Z",
    "nvd_published_at" : "2026-01-08T13:15:41Z"
  }
}