Webmin through 2.670 OS Command Injection via Samba User Account Options
- Exploited
- No known exploitation
- Fix
- Fix or patch referenced
- Who is exposed
- Specific setups only
Do first: Check whether your setup matches what the bug needs. Webmin version 2.670 and earlier (Samba module). Samba user account options are passed by create_user and modify_user to backquote_logged.
- Last modified
- A 0-100 score for how much a CVE matters across the industry: exploitation, exposure, how widely the software is used, severity and whether a fix exists.What do these mean? →
- 17/100 · provisional
- How many real-world setups can hit the bug, from the vendor's advisory and CISA data. It does not know your setup.What do these mean? →
- Specific setups only
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure8/25Specific setups only, reachable over the network
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.6/10CVSS 8.6
- No patch0/5No signal
What would change the score
- Would score about 67 if added to CISA KEV
- Would score about 62 if CISA's SSVC rates exploitation active
- Would score about 24 if CISA's SSVC rates it automatable
What to do
Check whether your setup matches what the bug needs.
Webmin version 2.670 and earlier (Samba module). Samba user account options are passed by create_user and modify_user to backquote_logged.Apply the patch listed under Evidence.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- webmin webmin
through 2.670
Evidence 4
- Patch
- Repository
- Repository
- Link
Corrections
None so far.
Something wrong on this page? Report an error. Every fix is listed here.
Questions about CVE-2026-125391
Is CVE-2026-125391 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data
What does this mean?
Webmin's Samba module passes user account option values into a shell command without cleaning them first. A user who can maintain Samba user accounts in Webmin can therefore inject shell commands, which run as root.Source: vulncheck.com
Which versions are affected by CVE-2026-125391?
webmin: through 2.670.Source: cve.now feed data
Am I affected, and how do I check?
Webmin 2.670 and earlier are affected when the Samba module is used, since account option flags passed to create_user and modify_user reach backquote_logged. To check, run the Webmin version command or look at the version shown in the Webmin interface, and see whether the Samba module is in use.Source: vulncheck.com
How do I fix CVE-2026-125391?
No fixed version is listed in the checked facts, so the sources do not name an upgrade target. Check the Webmin project for a release newer than 2.670 that addresses this issue.Source: vulncheck.com