CVE-2026-134638 in Webmin
Summary
by MITRE • 11/25/2026
Webmin through 2.670 contains a missing integrity verification vulnerability in usermin/upgrade.cgi that downloads Usermin upgrade packages over plaintext HTTP without signature or digest checks. On-path network attackers or DNS spoofers can supply a malicious RPM, Debian, or tar.gz package whose maintainer scripts or setup.sh execute as root during upgrade.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified in Webmin versions through 2.670 represents a critical failure in the integrity verification mechanisms of the Usermin component, specifically within the usermin/upgrade.cgi script. This flaw allows for the injection of malicious code into system administration workflows by exploiting the lack of cryptographic validation during software updates. The core technical deficiency lies in the method used to retrieve upgrade packages; rather than employing secure protocols such as HTTPS or verifying digital signatures and message digests, the application downloads files over plaintext HTTP connections. This architectural decision leaves the update process entirely exposed to interception and modification by any entity capable of manipulating network traffic between the client and the package repository.
From a technical perspective, this vulnerability is classified under CWE-345, which denotes Insufficient Verification of Data Authenticity, and aligns with MITRE ATT&CK technique T1190, Exploit Public-Facing Application. The absence of integrity checks means that an attacker positioned on the network path or capable of performing DNS spoofing can intercept the request for a Usermin upgrade package. By substituting the legitimate RPM, Debian, or tar.gz archive with a maliciously crafted alternative, the attacker ensures that when the administrator initiates the update process, the system executes code controlled by the adversary rather than the intended software vendor. This bypasses standard security controls because the application trusts the source implicitly without validating its authenticity.
The operational impact of this vulnerability is severe due to the privilege level at which Usermin operates and how upgrade scripts are processed. When a malicious package is installed, it typically contains maintainer scripts or setup.sh files that run with root privileges during the installation phase. Consequently, an on-path attacker can achieve arbitrary code execution as the superuser, effectively gaining full control over the underlying operating system. This level of access allows for comprehensive data exfiltration, persistence mechanisms to be established, lateral movement across internal networks, and complete compromise of any services managed through Webmin or Usermin. The risk is exacerbated by the fact that administrators often trust upgrade prompts as legitimate administrative actions, lowering their vigilance against potential threats embedded in routine maintenance tasks.
Mitigation strategies must address both immediate remediation and long-term architectural improvements. Administrators should immediately update to a version of Webmin later than 2.670 where this vulnerability has been patched with proper integrity verification mechanisms. In environments where upgrading is not immediately feasible, network-level controls such as strict firewall rules restricting outbound connections to only verified package repositories can reduce the attack surface. Additionally, implementing DNSSEC and ensuring that all administrative interfaces are accessed over encrypted channels like HTTPS helps mitigate the risk of on-path attacks. Long-term solutions should involve enforcing code signing requirements for all software updates and conducting regular security audits of third-party components integrated into system administration tools to ensure they adhere to secure coding standards regarding data authenticity verification.