CVE-2026-134630: Webmin through 2.670 RCE via Plaintext CPAN Downloads in Perl Modules
Webmin through 2.670 contains a remote code execution vulnerability in the Perl Modules (cpan) module, which downloads CPAN indexes and module archives over plaintext HTTP without checksum or signature verification. On-path network attackers can answer the outbound fetch while an administrator installs a CPAN module, supplying a malicious Makefile.PL that cpan/download.cgi runs as root before confirmation.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Webmin installations through version 2.670 are exposed when an administrator uses the Perl Modules (cpan) module to install a CPAN module and an attacker can intercept or manipulate the outbound network fetch.
What does an attacker need to exploit it?
The attacker must be positioned on the network path for the plaintext HTTP downloads and must act while an administrator installs a CPAN module. No prior Webmin authentication is required by the attacker, but administrator interaction is required.
What happens if exploitation succeeds?
A malicious CPAN archive can provide a Makefile.PL that cpan/download.cgi executes as root before confirmation, allowing remote code execution with root privileges.
What can be done if patching is not immediately possible?
Do not use the Webmin Perl Modules (cpan) module to install CPAN modules while the installation downloads indexes or archives over HTTP. Avoid performing these outbound CPAN fetches on networks where on-path interception is possible.