CVE-2025-8077: Github.com/neuvector/neuvector NeuVector Admin Account Has Insecure Vulnerability

CRITICAL
Advisory Identifier: GHSA-8pxw-9c75-6w56
CVSS 9.8
CWE-1393
Published
Advisory Summary

CVE-2025-8077 is a CRITICAL (CVSS 9.8) neuvector admin account has insecure vulnerability (CWE-1393: Use of Default Password) affecting Github.com/neuvector/neuvector libraries in the Go ecosystem. The issue involves neuvector admin account has insecure default password. Remediation is available by upgrading affected packages to version 0.0.0-20250825191744-da1a462074c3.

CVE-2025-8077 at a Glance

CVE Identifier CVE-2025-8077
GHSA Identifier GHSA-8pxw-9c75-6w56
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-1393: Use of Default Password
Affected Product Github.com/neuvector/neuvector
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-8077

To remediate this vulnerability, upgrade all affected Github.com/neuvector/neuvector 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/neuvector/neuvector fixed: 0.0.0-20250825191744-da1a462074c3
Upgrade github.com/neuvector/neuvector to 0.0.0-20250825191744-da1a462074c3
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/neuvector/neuvector

How to Check if You Are Affected

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

inspect dependencies for github.com/neuvector/neuvector

Analyze the terminal output to locate any version of Github.com/neuvector/neuvector in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20250825191744-da1a462074c3), 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-1393: Use of Default Password, where the product uses default passwords for potentially critical functionality. In Github.com/neuvector/neuvector, 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 A vulnerability exists in NeuVector versions up to and including **5.4.5**, where a fixed string is used as the default password for the built-in `admin` account. If this password is not changed immediately after deployment, any workload with network access within the cluster could use the default credentials to obtain an authentication token. This token can then be used to perform any operation via NeuVector APIs. In earlier versions, NeuVector supports setting the default (bootstrap) password for the `admin` account using a Kubernetes Secret named `neuvector-bootstrap-secret`. This Secret must contain a key named `bootstrapPassword`. However, if NeuVector fails to retrieve this value, it falls back to the fixed default password. ### Patches This issue is resolved in NeuVector version **5.4.6** and later. For rolling upgrades, it's strongly recommended to change the default `admin` password to a secure one. Starting from version **5.4.6**, NeuVector introduces additional Kubernetes RBAC permissions to ensure the bootstrap password can be securely managed via Secrets: ``` kubectl create role neuvector-binding-secret-controller \ --verb=create,patch,update --resource=secrets -n {neuvector} kubectl create rolebinding neuvector-binding-secret-controller \ --role=neuvector-binding-secret-controller \ --serviceaccount=neuvector:controller \ --serviceaccount=neuvector:default -n {neuvector} ``` - These RBAC roles are automatically applied when deploying via Helm. - If deploying or upgrading manually, you must create these roles before starting NeuVector. **NOTE:** If these roles are not present, the NeuVector controller (from version 5.4.6 onward) does not start. #### Behavior in Patched Versions - **Upgrades:** NeuVector does not reset any existing account passwords. It's strongly recommended to change the default `admin` password to a secure one. - **New deployments:** - If `bootstrapPassword` is not set in the `neuvector-bootstrap-secret, NeuVector generates a secure password and stores it in the same Secret. On first login, the default `admin` must retrieve the password using: ``` kubectl get secret -n {neuvector} neuvector-bootstrap-secret \ -o go-template='{{ .data.bootstrapPassword | base64decode }}{{ "\n" }}' ``` The password must be changed during the first login via the NeuVector UI. **NOTE:** If the default `admin` password is set using a Kubernetes ConfigMap or a persistent backup (not a fixed string), this value takes precedence over the Secret-based mechanism. ### Workarounds For existing vulnerable versions, log in to the NeuVector UI immediately after deployment and update the default `admin` password. ### References If you have any questions or comments about this advisory: - Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries. - Open an issue in the [NeuVector](https://github.com/neuvector/neuvector/issues/new/choose) repository. - Verify with our [support matrix](https://www.suse.com/suse-neuvector/support-matrix/all-supported-versions/neuvector-v-all-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/#suse-security).

CVE-2025-8077 Affected Github.com/neuvector/neuvector Versions

1 component(s)
Fixed Versions:
0.0.0-20250825191744-da1a462074c3
Product / Package Ecosystem Affected Versions Fixed Version
github.com/neuvector/neuvector
Go
< 0.0.0-20250825191744-da1a462074c3
0.0.0-20250825191744-da1a462074c3

References

Frequently Asked Questions

What is CVE-2025-8077?
CVE-2025-8077 is a security vulnerability in Github.com/neuvector/neuvector involving NeuVector admin account has insecure default password under CWE-1393: Use of Default Password.
Which Github.com/neuvector/neuvector versions are affected?
Affected versions include releases prior to 0.0.0-20250825191744-da1a462074c3 across affected packages: github.com/neuvector/neuvector.
What version fixes CVE-2025-8077?
Upgrading to 0.0.0-20250825191744-da1a462074c3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/neuvector/neuvector affected?
Yes, github.com/neuvector/neuvector is affected in releases prior to 0.0.0-20250825191744-da1a462074c3. Upgrade your dependency to 0.0.0-20250825191744-da1a462074c3 or later.
What is the CVSS score of CVE-2025-8077?
CVE-2025-8077 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-8077?
CVE-2025-8077 is classified under CWE-1393: Use of Default Password (The product uses default passwords for potentially critical functionality.).
How can I check Go dependencies for CVE-2025-8077?
Run the dependency tree command: 'inspect dependencies for github.com/neuvector/neuvector'. 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-8pxw-9c75-6w56",
  "modified" : "2026-07-02T20:22:56Z",
  "published" : "2025-08-28T13:33:36Z",
  "aliases" : [ "CVE-2025-8077" ],
  "summary" : "NeuVector admin account has insecure default password",
  "details" : "### Impact\n\nA vulnerability exists in NeuVector versions up to and including **5.4.5**, where a fixed string is used as the default password for the built-in `admin` account. If this password is not changed immediately after deployment, any workload with network access within the cluster could use the default credentials to obtain an authentication token. This token can then be used to perform any operation via NeuVector APIs.\n\nIn earlier versions, NeuVector supports setting the default (bootstrap) password for the `admin` account using a Kubernetes Secret named `neuvector-bootstrap-secret`. This Secret must contain a key named `bootstrapPassword`. However, if NeuVector fails to retrieve this value, it falls back to the fixed default password.\n\n### Patches\n\nThis issue is resolved in NeuVector version **5.4.6** and later. For rolling upgrades, it's strongly recommended to change the default `admin` password to a secure one.\n\nStarting from version **5.4.6**, NeuVector introduces additional Kubernetes RBAC permissions to ensure the bootstrap password can be securely managed via Secrets:\n\n```\nkubectl create role neuvector-binding-secret-controller \\\n  --verb=create,patch,update --resource=secrets -n {neuvector}\n\nkubectl create rolebinding neuvector-binding-secret-controller \\\n  --role=neuvector-binding-secret-controller \\\n  --serviceaccount=neuvector:controller \\\n  --serviceaccount=neuvector:default -n {neuvector}\n```\n\n- These RBAC roles are automatically applied when deploying via Helm.\n- If deploying or upgrading manually, you must create these roles before starting NeuVector.\n\n**NOTE:** If these roles are not present, the NeuVector controller (from version 5.4.6 onward) does not start.\n\n#### Behavior in Patched Versions\n\n- **Upgrades:** NeuVector does not reset any existing account passwords. It's strongly recommended to change the default `admin` password to a secure one.\n- **New deployments:**\n  - If `bootstrapPassword` is not set in the `neuvector-bootstrap-secret, NeuVector generates a secure password and stores it in the same Secret.\n\nOn first login, the default `admin` must retrieve the password using:\n\n```\nkubectl get secret -n {neuvector} neuvector-bootstrap-secret \\\n  -o go-template='{{ .data.bootstrapPassword | base64decode }}{{ \"\\n\" }}'\n```\n\nThe password must be changed during the first login via the NeuVector UI.\n\n**NOTE:** If the default `admin` password is set using a Kubernetes ConfigMap or a persistent backup (not a fixed string), this value takes precedence over the Secret-based mechanism.\n\n### Workarounds\n\nFor existing vulnerable versions, log in to the NeuVector UI immediately after deployment and update the default `admin` password.\n\n### References\n\nIf you have any questions or comments about this advisory:\n\n- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n- Open an issue in the [NeuVector](https://github.com/neuvector/neuvector/issues/new/choose) repository.\n- Verify with our [support matrix](https://www.suse.com/suse-neuvector/support-matrix/all-supported-versions/neuvector-v-all-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/#suse-security).",
  "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/neuvector/neuvector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20250825191744-da1a462074c3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/neuvector/neuvector/security/advisories/GHSA-8pxw-9c75-6w56"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-8077"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-8077"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/neuvector/neuvector"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1393" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-28T13:33:36Z",
    "nvd_published_at" : "2025-09-17T13:15:34Z"
  }
}