Loading...
Skip to main content

CVE-2025-8077 — Vulnerability in github.com/neuvector/neuvector —...

CRITICAL

NeuVector admin account has insecure default password

Published August 28, 2025Updated September 10, 2026Source: osv

Summary

### 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).

Advisory Timeline

  • First published August 28, 2025 (410 days ago).
  • Last revised September 10, 2026 — 378 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/neuvector/neuvector to 0.0.0-20250825191744-da1a462074c3 or later
go get github.com/neuvector/neuvector@v0.0.0-20250825191744-da1a462074c3

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/neuvector/neuvector
go
All versions0.0.0-20250825191744-da1a462074c3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-8077?
NeuVector admin account has insecure default password This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2025-8077?
CVE-2025-8077 affects github.com/neuvector/neuvector. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-8077 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-8pxw-9c75-6w56
GO-2025-3918

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies