Skip to main content

NeuVector CVE-2025-54469

CRITICAL
OS Command Injection (CWE-78)
2025-10-30 meissner@suse.de
9.9
CVSS 3.1 · Vendor: suse
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain control of enforcer container environment
  2. Delivery
    Set CLUSTER_RPC_PORT/CLUSTER_LAN_PORT with injected shell payload
  3. Exploit
    Trigger enforcer container stop
  4. Execution
    monitor process calls popen on tainted value
  5. Impact
    Injected command executes in container

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to control the values of the CLUSTER_RPC_PORT or CLUSTER_LAN_PORT environment variables of the NeuVector enforcer container - i.e., the ability to define or modify the enforcer's container/pod environment (Kubernetes deployment or orchestration-level access). The injected command only runs when the enforcer container stops and the monitor process invokes popen() to check whether the consul subprocess ports are still active; it does not fire during normal steady-state operation. Limiting factors: this is not reachable over the network without first altering the container environment, it depends on the stop/teardown code path being triggered, and only unpatched versions (<5.3.5 in the 5.3.x line, <=5.4.6 in the 5.4.x line) are affected. Patched builds validate the variables as numeric ports and terminate on failure.

Impact

The input assigns CVSS 9.9 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H), but this score conflicts with the described mechanism and should be treated with caution. The vulnerability (CWE-78 command injection) is only reachable because the enforcer's monitor process passes the CLUSTER_RPC_PORT and CLUSTER_LAN_PORT environment variables into a popen() shell command without sanitization. Setting or tampering with those environment variables is not a network operation - it requires the ability to define the enforcer container's environment, which in practice means control over the Kubernetes pod/deployment spec or equivalent orchestration privilege. The AV:N/PR:L vector therefore appears overstated: realistic exploitation is local/configuration-bound and requires meaningful prior privilege, so the 9.9 'critical' rating likely overstates real-world risk (CVSS indicates network vector but the description implies control of the container environment - verify with vendor). No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no evidence of active or opportunistic exploitation. Net assessment: a genuine command-injection defect worth patching, but functionally a privilege-dependent / defense-in-depth issue rather than a remotely-exploitable crisis; prioritize patching but below internet-facing unauthenticated RCEs.

Exploit ScenarioDerived

An attacker who can influence the enforcer container's environment (e.g., a tenant or compromised account able to modify the NeuVector enforcer pod spec/deployment) sets CLUSTER_RPC_PORT or CLUSTER_LAN_PORT to a value containing shell metacharacters and injected commands. When the enforcer container stops, the monitor process invokes popen() to check the consul subprocess ports, executing the attacker's injected command inside the container. No public exploit code was identified in the provided data.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 18, 2026

NeuVector enforcer containers in the 5.3.x line before 5.3.5 and the 5.4.x line through 5.4.6 contain an OS command injection flaw in the monitor process teardown check, where unsanitized CLUSTER_RPC_PORT and CLUSTER_LAN_PORT environment variables are composed into a shell command executed via popen(). An attacker who can define or modify the enforcer pod's environment can inject commands that run when the container stops; this is not remotely reachable without orchestration-level access, and no public exploit code is identified at time of analysis. The input's 9.9 network-vector CVSS score conflicts with the assessed local high-privilege mechanism and should be treated with caution.

RemediationAI

Upgrade NeuVector to 5.4.7 or later, or to 5.3.5 for the 5.3.x line; the vendor states there is no workaround, so patching is the only full fix. If immediate upgrade is not possible, restrict who can create or modify enforcer pod specifications and environment variables through Kubernetes RBAC and admission policies, allowing only trusted operators to set CLUSTER_RPC_PORT and CLUSTER_LAN_PORT and requiring numeric values; also monitor enforcer container teardown for unexpected child processes or shell activity. These compensating controls reduce exposure but do not remove the injection path, and restrictive RBAC or admission policies can block legitimate deployment changes. See https://github.com/neuvector/neuvector/security/advisories/GHSA-c8g6-qrwh-m3vp and https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-54469.

Affected Packages

go github.com/neuvector/neuvector fix: 0.0.0-20251020133207-084a437033b4, 5.3.5, 5.4.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NeuVector is a container security platform whose enforcer runs as a container with a monitor entry process and a consul subprocess. On container stop, the monitor checks whether consul's ports are still active by invoking popen() with a shell command built from the environment variables CLUSTER_RPC_PORT and CLUSTER_LAN_PORT. Because those values are not validated (CWE-78), shell metacharacters in either variable can break out of the intended port-check command and execute arbitrary commands inside the enforcer container. The patched code validates that the values contain only valid port numbers and exits the monitor process on failure, terminating the container rather than running an injected command. Our independent assessment scores this CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, because exploitation requires control of the enforcer's container or pod environment and only triggers on the stop/teardown path; this contrasts with the input's network-vector 9.9 score.

Severity by source

Vendor (suse) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 6.7 MEDIUM

Injection requires control of the enforcer container's environment variables, so AV:L and PR:H; command executes within the container with full code execution, so C/I/A:H and S:U.

3.1 AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (suse).

CVSS VectorVendor: suse

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

DescriptionCVE.org

A 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.

The 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.

The 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.

Executive ViewAI

Why It Matters

NeuVector enforcer containers in the 5.3.x and 5.4.x lines are affected by a critical command-injection flaw that can undermine the container security enforcement layer if an actor with orchestration-level access alters pod configuration. Because enforcers provide visibility and policy enforcement across clusters, a compromise could reduce security assurance for workloads relying on NeuVector, so leadership should prioritize inventory and access-control review for affected deployments. No public exploit identified at time of analysis, and practical exposure is limited to environments where attackers already hold elevated cluster permissions.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; restrict orchestration-level access and pod-spec modification to trusted administrators, enforce RBAC and admission control, audit changes to CLUSTER_RPC_PORT and CLUSTER_LAN_PORT, and monitor the vendor advisory for a fixed release.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche Kubernetes/container security product (SUSE/Rancher NeuVector)
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy