CVE-2026-125391Published Nov 9, 2026 · Nov 9Updated Nov 12
Webmin root command execution in Samba user options
webmin
High8.6Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| webmin webmin |
| No fix yet |
Original 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.
From the CVE record · VulnCheck
References
- github.com/webmin/webmin/commit/18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154Patch
- github.com/webmin/webmin
- github.com/webmin/webmin/blob/2.670/samba/samba-lib.pl#L658
- vulncheck.com/advisories/webmin-through-2.670-os-command-injection-via-samba-user-account-options
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125391.json
- nvd.nist.gov/vuln/detail/CVE-2026-125391