CVE-2026-125391
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.
- Score
- 8.6 high
- Published
- 2026-11-09
- Links
- NVD · cve.org · Report wrong data
Matched ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| sysutils/webmin | webmin | 2.670 | unaddressed | olgeni@FreeBSD.org |
Template for a VuXML entry
Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.
Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>webmin -- FIXME</topic>
<affects>
<package>
<name>webmin</name>
<range><le>2.670</le></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>CVE-2026-125391: 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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-125391</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-125391</url>
</references>
<dates>
<discovery>2026-11-09</discovery>
<entry>2026-11-10</entry>
</dates>
</vuln>