CVE-2026-125391
Webmin through 2.670 contains an OS command injection vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/webmin/webmin
- github.com/webmin/webmin/blob/2.670/samba/samba-lib.pl#L658
- github.com/webmin/webmin/commit/18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154
- www.vulncheck.com/advisories/webmin-through-2.670-os-command-injection-via-samba-user-acco
- nvd.nist.gov/vuln/detail/CVE-2026-125391
- cve.org/CVERecord?id=CVE-2026-125391
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.