WEBMIN · CVE-2026-125391 · Runtime
NO FIX YET · SEE WHAT TO DO
Webmin through 2.670 passes unvalidated opts values from samba/save_euser.cgi into a shell command, so shell metacharacters in account option flags run on the host. An authenticated Samba user maintainer can execute commands as root.
first public Nov 10, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Hosts running Webmin up to and including 2.670 with the Samba module in use, where some accounts are allowed to maintain Samba users. Servers without Webmin, or without the Samba module, are not exposed by this flaw. Anyone who only uses Webmin with administrators who already hold root is at lower risk, but the flaw still lets a maintainer escalate to root.
Not affected if no-samba-maintainers, no-webmin, samba-module-disabled
Who cares linux, samba, self-hosted, webmin
webmin --version or the version shown in the Webmin dashboard)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.
This page as .md · .json · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.