{"id":"CVE-2026-125391","summary":"Webmin through 2.670 OS Command Injection via Samba User Account Options","details":"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.","modified":"2026-11-12T02:31:02.839069652Z","published":"2026-11-09T23:27:56.566Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125391.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125391.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125391"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/webmin-through-2.670-os-command-injection-via-samba-user-account-options"},{"type":"FIX","url":"https://github.com/webmin/webmin/commit/18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154"},{"type":"PACKAGE","url":"https://github.com/webmin/webmin"},{"type":"ARTICLE","url":"https://github.com/webmin/webmin/blob/2.670/samba/samba-lib.pl#L658"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/webmin/webmin","events":[{"introduced":"0"},{"fixed":"18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"2.670"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["2.660","2.653","2.652","2.651","2.650","2.641","2.640","2.630","2.621","2.620","2.610","2.600","2.520","2.510","2.501","2.402","2.401","2.400","2.302","2.301","2.202","2.201","2.200","2.111","2.110","2.105","2.104","2.103","2.100","2.021","2.020","2.013","2.012","2.011","2.010","2.003","2.001","2.000","1.999","1.998","1.996","1.995","1.994","1.993","1.991","1.990","1.984","1.983","1.982","1.980","1.974","1.973","1.972","1.970","1.962","1.960","1.955","1.954","1.953","1.951","1.950","1.941","1.940","1.930","1.920","1.910","1.900","1.890","1.880","1.870","1.860","1.850","1.840","1.831","1.830","1.820","1.810","1.801","1.800","1.790","1.780","1.770","1.760","1.750","1.740","1.730","1.720","1.710","1.700"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125391.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}