high7.2
CVE-2026-125391
Webmin through 2.670 contains an OS command injection vulnerability in samba/save_euser.cgi that allows authenticated Samba user maintainers to inject commands…
Impact
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.
An attacker can exploit this over the network, with an administrator account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · Webmin
| Product | Affected versions |
|---|---|
| Webmin | through 2.670 Version 0 ≤2.670 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/webmin/webmin/commit/18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154
- https://github.com/webmin/webmin
- https://github.com/webmin/webmin/blob/2.670/samba/samba-lib.pl#L658
- https://www.vulncheck.com/advisories/webmin-through-2.670-os-command-injection-via-samba-user-account-options
- https://github.com/advisories/GHSA-wc4p-j42q-3r22
- https://nvd.nist.gov/vuln/detail/CVE-2026-125391