CVE-2026-125391: Webmin OS command injection in samba/save_euser.cgi

CVE-2026-125391 · Severity: high · CVSS 7.2 · Published 2026-11-10

Webmin is a web-based server management console used to administer Linux and Unix systems. An authenticated Samba administrator can inject operating system commands through unvalidated input fields, allowing them to execute arbitrary commands with root privileges on the server.

Technologies: Webmin. Vendors: Webmin.

Quick answers

Is CVE-2026-125391 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-125391 being exploited in the wild.
How severe is CVE-2026-125391?
High severity, with a CVSS score of 7.2, published 10 November 2026.
Which products and versions are affected?
Webmin through 2.670.
Is there a fix for CVE-2026-125391?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-125391 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-125391?
Check whether you run Webmin at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is an OS command injection in samba/save_euser.cgi where the opts parameter is passed unsafely to backquote_logged without proper validation. An authenticated Samba user maintainer can embed shell metacharacters in account option flags to achieve remote code execution as root. This requires prior authentication and knowledge of the Samba management interface.

Affected products

  • Webmin Webmin through 2.670

Timeline

  • 2026-11-10: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.