Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain LDAP directory write access
-
DeliveryCreate posixAccount with malicious uid
-
ExploitAdministrator runs Check Configuration
-
ExecutionUnquoted uid injected into shell command
-
ImpactExecute arbitrary commands as root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques 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 all of the following: (1) the attacker can write to the LDAP directory used by Webmin and create a posixAccount entry; (2) the uid value of that entry carries shell metacharacters; (3) a Webmin administrator subsequently runs 'Check Configuration' in the ldap-client module, which invokes the vulnerable ldap-client/check.cgi path (lines ~98 and 103-104); and (4) Webmin is at or below version 2.670 and running with root privileges (its default). The limiting factors that reduce real-world risk are significant: the attacker must already hold LDAP directory write privileges (not remote-unauthenticated), and the command only fires when a privileged administrator manually triggers the Check Configuration action - the trigger is operator-dependent and outside the attacker's direct control. This is reflected by UI:P/PR:H/AT:P in the supplied vector. |
| Impact | The input CVSS 4.0 score is 7.3 (High), but the vector itself tells a more nuanced story: AC:H, AT:P, PR:H and UI:P together stack four separate barriers in front of an attacker. Exploitation is not a single network action - it requires an attacker who can already write to the LDAP directory, AND requires a Webmin administrator to independently run 'Check Configuration' before the injected uid is passed to a shell. The technical impact is severe once triggered (code execution as root, VC:H/VI:H/VA:H), which is why the score stays High despite the preconditions. No EPSS score is provided, so exploitation probability cannot be quantified from this data. There is no CISA KEV listing, so this is not confirmed as actively exploited. The vuln.today decision label is 'this_week' and a patch is available, which positions this as a prompt-but-not-emergency fix rather than a drop-everything event. Net: this is a genuine root-code-execution bug, but the chained prerequisites (directory write privilege plus privileged admin interaction) make it far more a targeted/insider or compromised-LDAP scenario than a broadly automatable one - which is consistent with the AC:H/AT:P/PR:H/UI:P metrics rather than contradicting them. |
| Exploit ScenarioDerived | An attacker who holds write access to the LDAP directory creates a posixAccount entry whose uid field contains shell metacharacters (for example a value like 'x; id'). When a Webmin administrator later opens the ldap-client module and runs 'Check Configuration', check.cgi passes that uid unquoted into a shell 'id -a' command, executing the attacker's injected commands as root on the Webmin host. No confirmed working public exploit code is identified in the input, though a VulnCheck advisory and a Zenodo research record document the issue. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
OS command injection in Webmin through 2.670 (ldap-client/check.cgi) lets anyone who can write to the LDAP directory Webmin is bound to plant a posixAccount entry whose uid field carries shell metacharacters, causing arbitrary commands to run as root (Webmin's default privilege) when an administrator runs Check Configuration in the ldap-client module. The 7.3 High score sits alongside a CVSS 4.0 vector that stacks four barriers - AC:H, AT:P, PR:H and UI:P - because the attacker must already hold directory write privileges and must wait for a privileged operator to trigger the check manually. No public exploit code has been identified at time of analysis, there is no KEV listing, and an upstream vendor fix is available.
RemediationAI
Patch available per vendor advisory, delivered as the upstream commit https://github.com/webmin/webmin/commit/ada632465f6290ca4ebfe9e3407f1963ce7b5862, which replaces the raw interpolation of the uid value with quotemeta() escaping plus a -- option terminator in ldap-client/check.cgi; no released patched version number is stated in the supplied data, so confirm the fixed release on https://github.com/webmin/webmin and the upstream issue https://github.com/webmin/webmin/issues/2941 before relying on a specific version string, and update any Webmin installation at or below 2.670. Until the update is applied, the practical exposure reduction is to restrict LDAP directory write access so that only fully trusted administrators can create or modify posixAccount entries in any directory Webmin's ldap-client module queries - this removes the injection vector for the ldap-client path but does not fix the underlying command construction, so it must be paired with the update. As an additional operational measure, avoid running the Check Configuration action in the ldap-client module against directories whose contents are not under your control, since that manual administrator action is the trigger; note the trade-off that this leaves the module's validation feature unusable for those directories. Running Webmin as a non-root user would cap the injected command's privileges, but that materially breaks modules that expect root, so it is not a substitute for the vendor fix.
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's ldap-client module ships a Perl CGI, check.cgi, that validates the LDAP configuration bound to the server. Around line 98 the script reads the uid attribute of the first posixAccount entry returned by the directory, and at lines 103-104 it passes that value into a shell invocation of the form id -a <uid> 2>/dev/null without quoting or escaping. Because the value is interpolated into a shell command line, a uid containing metacharacters (spaces, semicolons, substitution characters, etc.) breaks out of the id argument list and executes attacker-chosen commands in the context of the Webmin process, which runs as root by default. This is classic CWE-78 OS command injection: untrusted data from a secondary data store (the LDAP directory) is concatenated into an OS command instead of being escaped or passed as a discrete argument. The upstream fix makes the value safe in two ways - it wraps the uid in Perl's quotemeta() and inserts -- before it so the value cannot be parsed as an option - showing both metacharacter escaping and option-boundary hardening were needed. The supplied CPE (cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*) is a wildcard entry rather than an explicit version range, so the applicable upper bound of 2.670 comes from the description and vendor report rather than from the CPE itself. The trigger path is documented in the references and the commit diff; the exact LDAP schema/setup preconditions beyond the ability to create a posixAccount entry are not further detailed in the available sources.
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
Attacker needs LDAP directory write access (PR:L, not Webmin admin), the injection depends on a crafted uid and an admin manually running Check Configuration (AC:H, UI:R), yielding root-level C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Webmin through 2.670 contains an OS command injection vulnerability in ldap-client/check.cgi that allows LDAP directory writers to execute commands via unquoted uid values. Attackers can create a posixAccount entry with shell metacharacters in its uid, executing commands as root when an administrator runs Check Configuration.
Executive ViewAI
CVE-2026-134635 is a high-severity command injection vulnerability in Webmin's LDAP client module that allows an attacker with directory write privileges to execute arbitrary commands as root when an administrator triggers a configuration check. While the attack requires specific conditions-directory access and a privileged user action-the potential for full system compromise makes this a critical concern for organizations using Webmin with LDAP integration. Leadership should prioritize patching to prevent unauthorized root-level access.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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-134906
GHSA-7w4p-8h2w-3c76
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB