# CVE-2026-125391: Webmin through 2.670 OS Command Injection via Samba User Account Options

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.70%, higher than 77% of CVEs (2026-12-01)
- Published: 2026-11-09T23:27:56.566Z
- Modified: 2026-11-10T19:21:12.523Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- webmin webmin: up to 2.670

## Every score

- VulnCheck: CVSS:4.0 8.6 High `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`
- VulnCheck: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/webmin/webmin/commit/18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154> (patch)
- <https://github.com/webmin/webmin> (product)
- <https://github.com/webmin/webmin/blob/2.670/samba/samba-lib.pl#L658> (technical-description)
- <https://www.vulncheck.com/advisories/webmin-through-2.670-os-command-injection-via-samba-user-account-options> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-125391](https://www.cve.org/CVERecord?id=CVE-2026-125391), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-125391](https://nvd.nist.gov/vuln/detail/CVE-2026-125391), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-125391 · Whole record: https://cve.day/CVE-2026-125391.json · Rebuilt by cve.day 2026-11-25T22:59:49.699Z
