Skip to main content

Webmin EUVDEUVD-2026-120554

| CVE-2026-125391 HIGH
OS Command Injection (CWE-78)
2026-11-10 disclosure@vulncheck.com GHSA-wc4p-j42q-3r22
8.6
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as Samba user maintainer in Webmin
  2. Delivery
    Submit crafted opts flag with shell metacharacters
  3. Exploit
    Options concatenated into command via create_user/modify_user
  4. Execution
    Reach backquote_logged unescaped
  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

Requires an authenticated Webmin account that has been delegated Samba user-maintainer access to the Samba module (save_euser.cgi) - i.e., rights to create or modify Samba user accounts; this is the PR:H limiting factor and the primary barrier to exploitation. Given that access, the attacker supplies shell metacharacters in the account option flags (the opts parameter), which create_user/modify_user pass unescaped to backquote_logged, so commands run as root. Affected: Webmin through 2.670. Limiting factors: exploitation is impossible for unauthenticated users or for authenticated users without the Samba user-management delegation, and no user interaction by a victim is needed (UI:N). The fix commit wraps the option string with quotemeta(); per the available evidence, applying the fixed code is the remediation.

Impact

This is a genuine but access-gated priority rather than a drop-everything emergency, and the signals are internally consistent. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) and the description agree: exploitation is network-reachable and low-complexity once the attacker already holds a privileged role, but it requires PR:H - specifically an authenticated Webmin user granted Samba user-maintainer rights, not an anonymous attacker. The vuln.today decision label is 'this_week', not 'act_now' or 'emergency', which aligns with the privilege prerequisite. The payoff is severe: the injected commands run as root (VC:H/VI:H/VA:H), so a lower-trust Samba module operator achieves full OS compromise - a meaningful privilege-escalation path. No EPSS score, no CISA KEV entry, and no exploitation-probability signal were supplied, so widespread automated exploitation cannot be asserted; absence of these is not evidence of safety but should not be read as active exploitation either. The provided references are the Webmin repo, the vulnerable source line, the fix commit, and a VulnCheck advisory - i.e., vendor/analyst confirmation of the flaw and its fix, not a weaponized exploit. Net: a real, root-level issue worth prompt patching, but its blast radius is limited to environments that delegate Samba user management to semi-trusted accounts.

Exploit ScenarioDerived

An attacker who holds a Webmin account with Samba user-maintainer rights uses the Samba module's user create/modify function (save_euser.cgi) and embeds shell metacharacters in an account option flag (the opts parameter). Those options are concatenated into a command string passed to backquote_logged by create_user/modify_user, so the injected commands execute as root on the host. No public exploit identified at time of analysis; a fix commit exists but no verified working exploit code was supplied.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 10, 2026

Webmin 2.670 and earlier allows an authenticated user who has been delegated Samba user-maintainer access to run arbitrary commands as root by placing shell metacharacters in Samba account option flags handled by samba/save_euser.cgi. The opts value flows through create_user/modify_user into backquote_logged without escaping, so the command executes with the privileges of the Webmin process; the high-privilege Samba delegation is the main barrier and no victim interaction is required. No public exploit has been identified at time of analysis, and the upstream commit wraps the option string with quotemeta(); the available data does not name a released fixed version.

RemediationAI

The supplied evidence identifies applying the upstream fix as remediation: deploy the change in commit https://github.com/webmin/webmin/commit/18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154, which replaces the hand-built quoted option string with quotemeta() around the bracketed @opts value, or move to a Webmin release that contains this commit; the data does not name an exact released fix version, so released patched version status is not independently confirmed. Until that code is deployed, restrict the Samba user-maintainer delegation to trusted accounts and limit access to samba/save_euser.cgi to administrators who require it, understanding that this reduces exposure but does not fix the command-injection path. No other workaround is specified in the supplied advisory references.

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 Samba administration module exposes samba/save_euser.cgi for creating and modifying Samba user accounts. In affected versions, create_user and modify_user in samba/samba-lib.pl concatenate the account option flags into the @opts string, embed that string in a shell command, and pass it to backquote_logged; because the option content is not escaped, shell metacharacters break out of the intended argument and are interpreted by the shell running as root. This is CWE-78 OS command injection, and the upstream diff replaces the hand-built single-quoted argument with quotemeta() around the bracketed option string, indicating that escaping all shell metacharacters before execution is the intended fix. The trigger requires an authenticated Webmin session whose user has Samba user-maintainer delegation and can reach the create or modify paths in save_euser.cgi; the supplied sources do not describe another trigger path.

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 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.2 HIGH

Network-reachable (AV:N) and low-complexity (AC:L) but needs the privileged Samba user-maintainer role (PR:H); unescaped injection yields root command execution, so C:H/I:H/A:H.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/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
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
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 samba/save_euser.cgi that allows authenticated Samba user maintainers to inject commands via unvalidated opts parameter. Attackers can embed shell metacharacters in account option flags passed by create_user and modify_user to backquote_logged, executing commands as root.

Executive ViewAI

Why It Matters

A high-severity vulnerability in Webmin 2.670 and earlier enables authenticated users with delegated Samba user-maintainer access to execute arbitrary commands as root. This poses a significant risk to organizations using Webmin for Samba administration, as a delegated insider or compromised account could gain full control of the underlying system, leading to data breaches, service disruptions, or further network compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting Samba user-maintainer delegation to trusted administrators, monitoring for anomalous command execution, and network segmentation to limit Webmin exposure.

Threat Intelligence Overview

EPSS Score
1.4%
Top 27% exploitable
Prevalence
Medium
popular web-based Linux server admin tool, common but not universal
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 No
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
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.

Related Vulnerabilities in Webmin Command Injection and Stored XSS

View all 2

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