Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain on-path network position between host and CPAN mirror
-
DeliveryWait for administrator to install a CPAN module
-
ExploitAnswer plaintext HTTP fetch with malicious archive
-
Executioncpan/download.cgi runs attacker Makefile.PL as root
-
ImpactFull root compromise of the Webmin host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Code integrity verification
|
| Exploitation Conditions | Exploitation requires three concrete conditions drawn from the description: (1) the attacker must hold an on-path/man-in-the-middle network position able to answer Webmin's outbound CPAN fetch (reflected as AT:P); (2) an administrator must actively install a Perl module through the Perl Modules (cpan) module, i.e. invoke cpan/download.cgi, during the attacker's window (UI:P); and (3) the fetch must occur over the module's default plaintext HTTP transport with no checksum or signature verification. No Webmin authentication is required of the attacker (PR:N). The limiting factors that reduce realistic risk are the need for a privileged network position and the dependence on an operator-initiated CPAN install - the flaw is not remotely triggerable against a passive, default Webmin instance without both an admin action and MITM capability. |
| Impact | This is a genuine but conditional risk, not a drop-everything emergency. The CVSS 4.0 base score of 7.7 (High) is tempered by two attacker-unfavorable metrics the vendor vector makes explicit: AC:H and AT:P mean the attacker must already hold an on-path (man-in-the-middle) network position between the Webmin host and the CPAN mirror, and UI:P means the attack only fires when an administrator independently chooses to install a CPAN module. PR:N confirms no authentication against Webmin is needed, but the MITM-plus-admin-action prerequisite sharply narrows real-world opportunity. The impact side is maximal (VC:H/VI:H/VA:H) because the malicious Makefile.PL runs as root. No EPSS probability was provided in the input, so likelihood cannot be quantified numerically; there is no CISA KEV listing and no input marker confirming working public exploit code, so exploitation status is unconfirmed. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a high-impact flaw whose exploitation is gated by position and timing rather than mass-scannable. Bottom line: prioritize patching for internet-exposed or hostile-network Webmin instances where operators perform CPAN installs, but it is less universally weaponizable than a PR:N/UI:N network RCE. |
| Exploit ScenarioDerived | An attacker who controls a network path between a Webmin server and the CPAN mirrors (e.g. rogue Wi-Fi, ARP/DNS spoofing, or a compromised upstream) waits for an administrator to install a Perl module through the Perl Modules (cpan) feature. Because cpan/download.cgi fetches indexes and archives over plaintext HTTP with no checksum or signature check, the attacker answers the request with a malicious archive whose Makefile.PL is executed as root before the admin confirms, yielding remote root code execution. No confirmed working public exploit is identified in the input, though a VulnCheck advisory and a Zenodo research record are referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Remote code execution in Webmin through 2.670 occurs when the Perl Modules (cpan) module fetches CPAN indexes and module archives over plaintext HTTP without checksum or signature verification. An unauthenticated on-path network attacker who can answer that outbound fetch during an administrator-initiated CPAN module install can supply a malicious Makefile.PL that cpan/download.cgi executes as root before any confirmation. The CVSS:4.0 vector (7.7) requires attack prerequisites (AT:P) and passive user interaction (UI:P) but no Webmin authentication (PR:N); no public exploit identified at time of analysis and no CISA KEV entry is present in the supplied intelligence, and the this_week priority reflects a genuine but conditional risk rather than an emergency.
RemediationAI
No vendor-released patch is identified in the supplied intelligence at time of analysis; the references point to the Webmin repository and issue #2941 rather than a fixed release. Until a patched version is available, restrict the exposure: force CPAN downloads over HTTPS or block plaintext HTTP egress from the Webmin host, and point Webmin at a trusted internal CPAN mirror that enforces checksum or signature validation. Because the flaw executes Makefile.PL as root before confirmation, avoid installing CPAN modules through the Webmin interface while on an untrusted network, and monitor outbound HTTP requests from Webmin for unexpected CPAN index or archive fetches. These controls trade convenience for safety: blocking HTTP egress can break CPAN installs that lack an HTTPS mirror, and disabling the Perl Modules feature removes administrative functionality. See the VulnCheck advisory and Webmin issue #2941 for updates.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is Webmin's Perl Modules (cpan) module, specifically cpan/download.cgi, which retrieves CPAN indexes and module archives over plain HTTP. CWE-494 (Download of Code Without Integrity Check) is the root cause: the download path at lines 190 and 267 of the 2.670 source does not validate checksums or signatures before processing the fetched content. Because the module runs as root and executes Makefile.PL during installation before presenting a confirmation prompt, a man-in-the-middle who can intercept the outbound fetch can deliver a malicious Makefile.PL that executes with root privileges. The CPE cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:* confirms that all Webmin versions through 2.670 are in scope; the CVSS:4.0 vector's AT:P reflects the required on-path position, and UI:P reflects the administrator's CPAN install action. The independent assessment maps this to CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H, consistent with a conditional, privilege-gated attack rather than a remotely triggerable flaw against a passive default instance.
Know when Webmin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network reachable but gated by an on-path position (AC:H) and an admin-initiated install (UI:R); no Webmin auth needed (PR:N); code runs as root giving full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
A high-severity vulnerability in Webmin versions through 2.670 allows an unauthenticated network attacker to achieve remote code execution as root when an administrator performs a CPAN module installation. The attack requires the adversary to be positioned on the network path and to intercept Webmin's outbound HTTP fetch, making exploitation conditional but impactful. If triggered, this could lead to full compromise of the Webmin server and potential lateral movement, though no public exploit is currently identified.
No vendor-released patch identified at time of analysis. Interim mitigations include disabling the CPAN module in Webmin (rename or remove the cpan directory), restricting network access to Webmin servers to trusted administrators and networks, enforcing outbound HTTP traffic filtering to prevent man-in-the-middle attacks, and implementing HTTPS-only requirements for all outbound package fetches. Additionally, monitor for suspicious outbound connections from Webmin servers and review logs for unauthorized CPAN installs.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in Webmin Multiple Security Vulnerabilities
View all 34An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid
file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited
software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi
Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity
In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr
SSRF exists in Webmin 1.850 via the PATH_INFO to tunnel/link.cgi, as demonstrated by a GET request for tunnel/link.cgi/h
Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow
Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t
Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru
CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati
Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for
EUVD-2026-134911
GHSA-5vxx-7hp9-42g3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB