NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-54471: NeuVector is shipping cryptographic material into its binary

mediumCVSS 3.1 6.5GHSA-h773-7gf7-9m2x

Impact NeuVector used a hard-coded cryptographic key embedded in the source code. At compilation time, the key value was replaced with the secret key value and used to encrypt sensitive configurations when NeuVector stores the data. In the patched version, NeuVector leverages the Kubernetes secret neuvector-store-secret in neuvector namespace to dynamically generate cryptographically secure random keys.

Published Oct 21, 2025 · Updated Oct 30, 2025

Affected packages

github.com/neuvector/neuvector

Ecosystem
Go
Affected
>= 5.3.0, <= 5.4.6
Fixed in
5.4.7
Check
go list -m github.com/neuvector/neuvector

github.com/neuvector/neuvector

Ecosystem
Go
Affected
>= 0.0.0-20230727023453-1c4957d53911, < 0.0.0-20251020133207-084a437033b4
Fixed in
0.0.0-20251020133207-084a437033b4
Check
go list -m github.com/neuvector/neuvector

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

NeuVector used a hard-coded cryptographic key embedded in the source code. At compilation time, the key value was replaced with the secret key value and used to encrypt sensitive configurations when NeuVector stores the data.

In the patched version, NeuVector leverages the Kubernetes secret neuvector-store-secret in neuvector namespace to dynamically generate cryptographically secure random keys. This approach removes the reliance on static key values and ensures that encryption keys are managed securely within Kubernetes.

During rolling upgrade or restoring from persistent storage, the NeuVector controller checks each encrypted configured field. If a sensitive field in the configuration is found to be encrypted by the default encryption key, it’s decrypted with the default encryption key and then re-encrypted with the new dynamic encryption key.

If the NeuVector controller does not have the correct RBAC for accessing the new secret, it writes this error log : Required Kubernetes RBAC for secrets are not found and exits.

The device encryption key is rotated every 3 months. For details, please refer to this Rotating Self-Signed Certificate documentation.

Patches

Patched versions include release v5.4.7 and above.

Workarounds

There is no workaround for this issue. Users are recommended to upgrade, as soon as possible, to a version of NeuVector that contains the fix.

References

If you have any questions or comments about this advisory:

Credited to mmalesev.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries