CVE-2025-54469: Github.com/neuvector/neuvector Remote Code Execution Vulnerability
CRITICALCVE-2025-54469 is a CRITICAL (CVSS 9.9) remote code execution vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Github.com/neuvector/neuvector libraries in the Go ecosystem. The issue involves neuvector enforcer is vulnerable to command injection and buffer overflow. Remediation is available by upgrading affected packages to version 5.3.5, 5.4.7, 0.0.0-20251020133207-084a437033b4.
CVE-2025-54469 at a Glance
Security Impact
CVSS: 9.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2025-54469
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.
Upgrade github.com/neuvector/neuvector to 5.3.5
Upgrade github.com/neuvector/neuvector to 5.4.7
Upgrade github.com/neuvector/neuvector to 0.0.0-20251020133207-084a437033b4
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-54469, 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 5.3.5), 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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. 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
CVE-2025-54469 Affected Github.com/neuvector/neuvector Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/neuvector/neuvector
|
Go |
≥ 5.3.0
< 5.3.5
|
5.3.5
|
|
github.com/neuvector/neuvector
|
Go |
≥ 5.4.0
< 5.4.7
|
5.4.7
|
|
github.com/neuvector/neuvector
|
Go |
≥ 0.0.0-20230727023453-1c4957d53911
< 0.0.0-20251020133207-084a437033b4
|
0.0.0-20251020133207-084a437033b4
|
References
Frequently Asked Questions
What is CVE-2025-54469?
Which Github.com/neuvector/neuvector versions are affected?
What version fixes CVE-2025-54469?
Is github.com/neuvector/neuvector affected?
What is the CVSS score of CVE-2025-54469?
What CWE is associated with CVE-2025-54469?
How can I check Go dependencies for CVE-2025-54469?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c8g6-qrwh-m3vp",
"modified" : "2025-10-30T14:56:42Z",
"published" : "2025-10-21T20:25:11Z",
"aliases" : [ "CVE-2025-54469" ],
"summary" : "NeuVector Enforcer is vulnerable to Command Injection and Buffer overflow",
"details" : "### Impact\nA vulnerability was identified in NeuVector, where the enforcer used environment variables `CLUSTER_RPC_PORT` and `CLUSTER_LAN_PORT` to generate a command to be executed via `popen`, without first sanitising their values.\n\nThe entry process of the enforcer container is the monitor process. When the enforcer container stops, the monitor process checks whether the consul subprocess has exited. To perform this check, the monitor process uses the `popen` function to execute a shell command that determines whether the ports used by the consul subprocess are still active.\n\nThe values of environment variables `CLUSTER_RPC_PORT` and `CLUSTER_LAN_PORT` are used directly to compose shell commands via popen without validation or sanitization. This behavior could allow a malicious user to inject malicious commands through these variables within the enforcer container.\n\nIn the patched version, the monitor process validates the values of `CLUSTER_RPC_PORT` and `CLUSTER_LAN_PORT` to ensure they contain only valid port numbers before invoking the `popen` command.\n\nIf validation fails, the monitor process exits immediately, causing the enforcer container to terminate. This prevents the execution of any injected or malicious commands.\n\n\n### Patches\nPatched versions include release `v5.4.7` and above.\n\n### Workarounds\nThere is no workaround for this issue. Users are recommended to upgrade, as soon as possible, to a version of NeuVector that contains the fix.\n\n### References\nIf you have any questions or comments about this advisory:\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:L/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/neuvector/neuvector"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.3.0"
}, {
"fixed" : "5.3.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/neuvector/neuvector"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.4.0"
}, {
"fixed" : "5.4.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.4.6"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/neuvector/neuvector"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0-20230727023453-1c4957d53911"
}, {
"fixed" : "0.0.0-20251020133207-084a437033b4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/neuvector/neuvector/security/advisories/GHSA-c8g6-qrwh-m3vp"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54469"
}, {
"type" : "WEB",
"url" : "https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-54469"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/neuvector/neuvector"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-120", "CWE-77", "CWE-78" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-21T20:25:11Z",
"nvd_published_at" : "2025-10-30T10:15:34Z"
}
}