CVE-2026-127180 in NeuVector
Summary
by MITRE • 11/24/2026
The SUSE NeuVector image scanner before version 4.331 writes each per-scan task request to a temporary file on disk with mode 0644 (world-readable). This could allow local attackers to gain the registry access credentials of the scanned images.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/24/2026
The vulnerability identified in SUSE NeuVector image scanner versions prior to 4.331 represents a critical failure in secure temporary file handling, specifically classified under CWE-732 as improper permission assignment for essential resources. The core technical flaw lies in the application's method of persisting per-scan task requests during the container image analysis process. Instead of utilizing operating system mechanisms that enforce strict access controls or employing memory-based storage with appropriate isolation, the scanner writes these request payloads to temporary files on disk with a file permission mode of 0644. This configuration grants read and write permissions to the owner while granting read-only access to all other users on the local system. In multi-tenant environments or systems where multiple user accounts exist, this open permission setting creates a significant security gap that allows any authenticated local user to inspect the contents of these temporary files without restriction.
The operational impact of this vulnerability is severe due to the sensitive nature of the data stored within these task requests. These files contain registry access credentials required for pulling and analyzing container images from private registries. By reading these files, a malicious actor with local shell access can extract authentication tokens, usernames, or passwords associated with the container image repositories managed by NeuVector. This compromise effectively bypasses the intended isolation boundaries of the scanning engine, allowing an attacker to gain unauthorized access to external registry services. The ability to harvest these credentials facilitates further attacks such as pulling private images for reverse engineering, injecting malicious code into trusted registries, or using the compromised credentials to pivot deeper into the organization's container infrastructure and network perimeter.
From a threat modeling perspective, this vulnerability aligns with ATT&CK technique T1552.004, which involves unsecured credentials found in local files. The attack vector is strictly local, requiring an attacker to have some level of access to the host system where NeuVector is deployed and running scans. This could include compromised worker nodes within a Kubernetes cluster or servers hosting standalone scanning instances. Once the credentials are obtained, they can be used for lateral movement across cloud environments that rely on these registry authentications, potentially leading to widespread compromise if the same credentials are reused across multiple services or registries. The lack of encryption and proper file locking mechanisms exacerbates the risk by allowing concurrent access without detection or prevention controls.
To mitigate this vulnerability, organizations running SUSE NeuVector must upgrade to version 4.331 or later immediately, as this release addresses the insecure temporary file creation logic. Until an upgrade is feasible, administrators should implement strict host-level security measures such as enforcing mandatory access control policies like SELinux or AppArmor to restrict write permissions on directories used for temporary scan data. Additionally, ensuring that only privileged service accounts have read/write access to these specific temp directories can limit the attack surface. Regular auditing of file permissions in system temporary directories and monitoring for unusual reads from scanner-related files can also help detect potential exploitation attempts before credentials are fully compromised.