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

High 8.6 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-125391?

CVE-2026-125391 is a high-severity vulnerability in webmin, published on 9 Nov 2026.

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

Weakness: CWE-78

Which versions are affected by CVE-2026-125391?

How do I fix CVE-2026-125391?

No fix has been published for CVE-2026-125391 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-125391 being exploited?

There is no known exploitation of CVE-2026-125391 in the wild and no public exploit code.

Sources

Also known as GHSA-wc4p-j42q-3r22.

Is CVE-2026-125391 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free