CVE-2026-134438 in Webmin
Summary
by MITRE • 11/25/2026
Webmin through 2.670 contains an insecure download vulnerability in webmin/upgrade.cgi, cluster-webmin/upgrade.cgi and cluster-usermin/upgrade.cgi that fetches upgrade packages over plaintext HTTP with GnuPG signature verification disabled by default. On-path network attackers can substitute a malicious RPM, Debian or tar.gz package during a default upgrade to execute code as root on the Webmin host and managed cluster servers.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified in Webmin versions through 2.670 represents a critical security flaw rooted in insecure software update mechanisms within the web-based system administration interface. Specifically, this issue affects the upgrade scripts located at webmin/upgrade.cgi, cluster-webmin/upgrade.cgi, and cluster-usermin/upgrade.cgi. The core technical deficiency lies in the method used to retrieve package updates from upstream repositories. By default, these components fetch upgrade packages over unencrypted HTTP connections rather than secure HTTPS channels. This lack of transport layer encryption means that data transmitted between the Webmin server and the update repository is visible to any entity capable of monitoring network traffic on the path between them. Furthermore, the vulnerability is exacerbated by the fact that GnuPG signature verification for these downloaded packages is disabled by default. In a secure software distribution model, cryptographic signatures are essential to ensure both integrity and authenticity, confirming that the package has not been altered in transit and originates from a trusted source. The combination of plaintext transmission and absent signature validation creates an environment ripe for manipulation.
From an operational perspective, this flaw allows on-path network attackers to perform man-in-the-middle attacks against the update process. An attacker positioned within the same local area network or capable of intercepting traffic at any intermediate routing point can modify the HTTP response containing the upgrade package. By substituting a legitimate RPM, Debian, or tar.gz archive with one crafted by the attacker, they introduce malicious code into the system. Because Webmin operates with elevated privileges to manage server configurations and services, executing an arbitrary package update typically requires root-level access. Consequently, when the compromised package is installed via the vulnerable upgrade script, it executes with these high-privilege credentials. This results in full remote code execution as the root user on both the primary Webmin host and any managed cluster servers connected to it. The impact is severe, granting attackers complete control over the affected systems, including the ability to install backdoors, exfiltrate sensitive data, pivot to other network segments, or disrupt critical services.
This vulnerability aligns with several established industry standards for classifying security weaknesses. It corresponds directly to CWE-319, which describes cleartext transmission of confidential information over a public channel, highlighting the failure to protect data in transit through encryption. Additionally, it maps to CWE-829, concerning the inclusion of functionality from untrusted control spheres, as the system trusts code downloaded without proper verification or secure transport guarantees. In terms of adversary tactics, this flaw facilitates techniques associated with MITRE ATT&CK T1071, Application Layer Protocol, where attackers manipulate standard protocols like HTTP to deliver payloads undetected by traditional security controls that may not inspect unencrypted web traffic deeply enough. It also relates to T1195, Supply Chain Compromise, specifically the subcategory of compromise software supply chain, as the integrity of the update mechanism is breached to inject malicious artifacts into the system lifecycle.
Mitigating this vulnerability requires immediate action by administrators and developers alike. The most effective remediation is to upgrade Webmin to version 2.671 or later, where these security defaults have been corrected. For environments that cannot immediately patch, administrators should enforce HTTPS for all update repository connections if the upstream provider supports it. It is also critical to manually enable GnuPG signature verification within the Webmin configuration settings to ensure package authenticity before installation. Network-level controls such as strict firewall rules limiting outbound HTTP traffic from management interfaces and implementing network segmentation can reduce the attack surface available to on-path attackers. Regular audits of update mechanisms and adherence to secure coding practices that prioritize integrity checks and encrypted channels are essential for maintaining the security posture of system administration tools.