Skip to main content

Webmin EUVDEUVD-2026-134906

| CVE-2026-134635 HIGH
OS Command Injection (CWE-78)
2026-11-25 VulnCheck GHSA-7w4p-8h2w-3c76
7.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain LDAP directory write access
  2. Delivery
    Create posixAccount with malicious uid
  3. Exploit
    Administrator runs Check Configuration
  4. Execution
    Unquoted uid injected into shell command
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Webmin 0 ≤2.670

Affected Packages

euvd webmin no fix

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

Vendor (VulnCheck) PRIMARY 7.3 HIGH
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
vuln.today AI 7.1 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.4%
Top 28% exploitable
Prevalence
Medium
popular web-based server admin panel, widely but not universally deployed
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Webmin

View all
CVE-2019-15107 CRITICAL POC
9.8 Aug 16

An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2012-2982 MEDIUM POC
6.5 Sep 11

file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid

CVE-2012-2983 MEDIUM POC
5.0 Sep 11

file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited

CVE-2022-36446 CRITICAL POC
9.8 Jul 25

software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi

CVE-2022-0824 HIGH POC
8.8 Mar 02

Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity

CVE-2019-12840 HIGH POC
8.8 Jun 15

In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr

CVE-2017-15644 HIGH POC
8.6 Oct 19

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

CVE-2019-9624 HIGH POC
7.8 Mar 07

Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow

CVE-2015-2079 CRITICAL POC
9.9 Apr 28

Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t

CVE-2021-31761 CRITICAL POC
9.6 Apr 25

Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru

CVE-2017-15645 HIGH POC
8.8 Oct 19

CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati

CVE-2022-35132 HIGH POC
8.8 Oct 25

Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy