{"id":"CVE-2026-125391","state":"PUBLISHED","title":"Webmin through 2.670 OS Command Injection via Samba User Account Options","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.","publishedAt":"2026-11-09T23:27:56.566Z","updatedAt":"2026-11-09T23:27:56.566Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["webmin webmin"],"affected":[{"vendor":"webmin","product":"webmin","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.670","versionType":"custom"}]}],"references":["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"],"weaknesses":["CWE-78"],"ingestedAt":"2026-11-09T23:36:06.628Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/125xxx/CVE-2026-125391.json","commit":"b5e35fd13cceb3fc2d7ace24f43c95cd80e7dc5f","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-125391","state":"PUBLISHED","datePublished":"2026-11-09T23:27:56.566Z","dateUpdated":"2026-11-09T23:27:56.566Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-09T22:03:11.807Z"},"containers":{"cna":{"title":"Webmin through 2.670 OS Command Injection via Samba User Account Options","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"webmin","product":"webmin","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.670","versionType":"custom"}]}],"references":[{"url":"https://github.com/webmin/webmin/commit/18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154","tags":["patch"],"name":"Patch Commit"},{"url":"https://github.com/webmin/webmin","tags":["product"]},{"url":"https://github.com/webmin/webmin/blob/2.670/samba/samba-lib.pl#L658","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/webmin-through-2.670-os-command-injection-via-samba-user-account-options","name":"VulnCheck Advisory: Webmin through 2.670 OS Command Injection via Samba User Account Options","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-09T23:27:56.566Z"},"datePublic":"2026-11-08T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*","versionEndIncluding":"2.670"}]}]}],"credits":[{"lang":"en","value":"Sakil Ahamed Gayen","type":"finder"},{"lang":"en","value":"Ilia Ross","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}