CVE-2026-125391
Deferred Deferred - Pending Action

OS Command Injection in Webmin via Samba User Management

Vulnerability report for CVE-2026-125391, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-10

Last updated on: 2026-11-10

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-10
Last Modified
2026-11-10
Generated
2026-11-10
AI Q&A
2026-11-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
webmin webmin From 0 (inc) to 2.670 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Webmin versions up to 2.670 have an OS command injection flaw in the Samba user management module. Authenticated Samba maintainers can exploit the unvalidated 'opts' parameter in samba/save_euser.cgi to inject shell commands via backticks. This allows attackers to execute arbitrary commands as the root user.

Detection Guidance

Check Webmin versions below 2.670 for the vulnerable samba/save_euser.cgi file. Look for suspicious command execution logs or unauthorized root-level commands in system logs. Inspect Samba user maintainer accounts for unexpected modifications or new accounts.

Impact Analysis

If exploited, this vulnerability enables attackers to gain full root access on the affected system. This could lead to complete system compromise, data theft, unauthorized modifications, or disruption of services. The impact depends on the system's role and data sensitivity.

Compliance Impact

This vulnerability allows authenticated attackers to execute arbitrary commands as root via Samba user account management. For GDPR, this could lead to unauthorized access to personal data, violating confidentiality and integrity requirements. Under HIPAA, root-level command execution could expose protected health information, breaching security and access controls.

Mitigation Strategies

Upgrade Webmin to version 2.670 or later immediately. Disable or restrict access to Samba user maintainer functions if not required. Monitor for unauthorized account changes or command executions. Apply network-level restrictions to limit access to Webmin interfaces.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125391. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...