CVE-2026-125391: Webmin through 2.670 OS Command Injection via Samba User Account Options

Published Nov 9, 2026
·
Updated

Webmin through 2.670 contains an OS command injection vulnerability in samba/saveeuser.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 createuser and modifyuser to backquotelogged, executing commands as root.

Affected Software

1 affected component
Webmin Webmin<=2.670

Event History

Nov 9, 2026
CVE Published
via MITRE·11:27 PM
Data Sourced
via MITRE·11:27 PM
DescriptionSeverityWeakness
Nov 10, 2026
Data Sourced
via NVD·12:17 AM
DescriptionSeverityWeakness
Event
via NVD·12:17 AM

Frequently Asked Questions

1

What level of access does an attacker need to exploit this issue?

The attacker must be authenticated and have Samba user maintainer privileges in Webmin. Exploitation occurs through Samba account-management operations that invoke create_user or modify_user.

2

What input is used to trigger command execution?

The vulnerable input is the unvalidated opts parameter containing account option flags. An attacker can place shell metacharacters in those flags so they reach backquote_logged and execute commands as root.

3

What is the impact if exploitation succeeds?

Successful exploitation executes attacker-controlled operating-system commands as root. This can compromise confidentiality, integrity, and availability of the affected host.

4

Which versions are affected?

The available information identifies Webmin through version 2.670 as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203