Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain root on one managed host
-
DeliveryCraft user home path containing single quote and Perl
-
ExploitAdministrator runs cluster-useradmin Sync
-
ExecutionPayload breaks out of remote_eval string literal
-
ImpactExecute arbitrary Perl as root on other hosts
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a specific deployment: Webmin's cluster-useradmin module configured to manage multiple hosts (a Webmin cluster/Servers Index group). The attacker must already possess root on at least one managed host so they can set a user's home-directory path to a value containing a single quote plus Perl code. The payload only fires when an administrator performs a user Sync, during which sync.cgi passes the attacker-controlled home path into remote_eval() inside a single-quoted Perl literal (sync.cgi#L107/L111) without escaping. Limiting factors that lower real-world risk: the attacker needs pre-existing root on a managed host (PR:H), the attack is not self-triggering but depends on admin-initiated Sync (UI:P / AT:P), and the installation must actually use the clustered useradmin feature - standalone single-host Webmin installs are not exposed. Standard single-host Webmin without cluster-useradmin and multiple managed hosts is unaffected. |
| Impact | This is a moderate, conditional-risk flaw rather than a drop-everything emergency, and the signals are internally consistent. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:H/UI:P) tells the real story: although the attack is network-delivered, it requires high privileges (PR:H - the attacker must already hold root on one cluster-managed host), a present attack requirement (AT:P), passive user interaction (UI:P - an administrator must run the Sync operation), and high attack complexity (AC:H). That combination caps the base score at 7.3 (HIGH) and firmly characterizes this as a privilege-propagation / lateral-movement vulnerability inside an already-partially-compromised Webmin cluster, not an unauthenticated remote RCE. On the exploitation-likelihood side, the CVE is NOT in CISA KEV, no EPSS probability was supplied, and the input contains no confirmed public exploit code - so there is no public exploit identified at time of analysis (a VulnCheck advisory and a Zenodo DOI are referenced, but neither is marked as verified working exploit code). The vuln.today decision label is 'this_week', consistent with a patched, credibly-reported but not actively-exploited issue. No signals conflict: a vendor patch exists, the mechanism is confirmed by the source diff, and the gating preconditions (prior root + admin-triggered Sync) explain why real-world risk is lower than the HIGH label alone would suggest. The main caveat is that EPSS and PoC status are simply absent from the input rather than confirmed negative. |
| Exploit ScenarioDerived | An attacker who already holds root on one host in a Webmin cluster-useradmin group creates or modifies a local user whose home-directory path contains a single quote followed by Perl code. When an administrator later runs the cluster Sync operation, the crafted home path breaks out of the single-quoted string literal passed to remote_eval(), and the injected Perl runs as root on every other managed host. No public exploit is identified at time of analysis, and execution depends on the admin actually triggering a Sync. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Perl code injection in Webmin's cluster-useradmin module (versions through 2.670) allows an attacker who already holds root on one managed host to set a user's home-directory path to a value containing a single quote and embedded Perl, which breaks out of the single-quoted string literal that sync.cgi passes into remote_eval(); when an administrator later runs a user Sync, that code executes as root on the other managed hosts. The flaw is remote in vector but highly conditional: it requires the cluster-useradmin feature to be configured across multiple hosts, pre-existing root on at least one of them (CVSS PR:H), and an administrator-initiated Sync (AT:P/UI:P/UI:R), so standalone single-host Webmin installations are not exposed. The vendor has published a fix commit that introduces a remote_perl_string() quoting helper, and no public exploit code or confirmed active exploitation was identified at time of analysis; the assessed severity is moderate and conditional rather than an emergency.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. The vendor fix is commit adc4fb5bba03ef3d786be3be8725c657970704fe (https://github.com/webmin/webmin/commit/adc4fb5bba03ef3d786be3be8725c657970704fe), which adds the remote_perl_string() escaping helper in cluster-useradmin/cluster-useradmin-lib.pl and applies it at the sync.cgi and create_user.cgi call sites; administrators should upgrade to a Webmin build that contains this commit, confirming the release contains it rather than assuming a specific version number. Where immediate upgrade is not possible, exposure can be removed by not using the clustered useradmin feature: disable or remove the cluster-useradmin module and drop managed hosts from any Webmin cluster / Servers Index group, which eliminates the vulnerable sync.cgi remote_eval() code path entirely - at the cost of losing centralized user synchronization, and requiring the affected hosts to be administered individually. Because the injection depends on an attacker-controlled home path originating from a host where the attacker already has root, limiting which accounts can modify user home directories on managed hosts reduces reachability but is not a substitute for the patch. Consult the upstream issue https://github.com/webmin/webmin/issues/2941 and the VulnCheck advisory https://www.vulncheck.com/advisories/webmin-through-2.670-perl-code-injection-via-cluster-useradmin-sync-cgi for additional detail.
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
Webmin is a Perl-based web administration tool, and its cluster-useradmin module lets one Webmin instance act on users across a group of managed hosts. That cross-host action is implemented by shipping Perl snippets to the remote host's useradmin helper and evaluating them there through remote_eval(). In sync.cgi (lines 107 and 111 in the 2.670 tree) and in create_user.cgi, values taken from the user record - notably the home directory - were interpolated directly into those snippets inside single-quoted Perl literals without escaping backslashes or quotes. This is CWE-95 (improper neutralization of directives in dynamically evaluated code, i.e. eval injection): a home path containing a single quote terminates the literal and lets the remainder be parsed as Perl, so arbitrary code runs with the privileges of the remote useradmin call (root) on every host reached by the Sync. The upstream fix (commit adc4fb5bba03ef3d786be3be8725c657970704fe) adds a remote_perl_string() helper in cluster-useradmin-lib.pl that escapes backslashes and single quotes and returns a properly quoted literal, and rewrites the call sites in sync.cgi and create_user.cgi to use it - including casting uid/gid to integers so they are no longer interpolated inside quotes. The CPE cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:* reflects that the whole Webmin product line up to and including 2.670 is affected; the vulnerable component is specifically the cluster-useradmin code path, which is only exercised in multi-host cluster deployments.
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:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
PR:H because the attacker needs prior root on a managed host; UI:R and AC:H because an admin must trigger Sync and the quote-breakout is conditional; S:C and C/I/A:H because injected Perl runs as root on other managed hosts.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Webmin through 2.670 contains a Perl code injection vulnerability in cluster-useradmin/sync.cgi that allows attackers to run code by placing single quotes in home directory paths. Attackers with root on one managed host can craft a home path that breaks out of remote_eval() string literals during Sync, executing Perl as root on other managed hosts.
Executive ViewAI
CVE-2026-134440 is a high-severity Perl code injection vulnerability in Webmin's cluster-useradmin module, allowing an attacker with existing root access on one managed host to execute arbitrary code as root on other hosts during a user sync. This risk is limited to organizations using Webmin's multi-host cluster feature, where it could lead to lateral movement and full compromise of additional systems.
Apply vendor patch.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
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-134923
GHSA-pvcc-vghc-hqqj
NVD
CVE.org
EPSS
Exploit-DB