CVE-2026-125391
published high CVSS 4.0 · 8.6Webmin through 2.670 OS Command Injection via Samba User Account Options
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| webmin | — | webmin0 through 2.670 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.2 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| webmin | webmin | 0 through 2.670 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4- https://github.com/webmin/webmin
- https://github.com/webmin/webmin/blob/2.670/samba/samba-lib.pl#L658
- Patch Commit https://github.com/webmin/webmin/commit/18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154
- VulnCheck Advisory: Webmin through 2.670 OS Command Injection via Samba User Account Options https://www.vulncheck.com/advisories/webmin-through-2.670-os-command-injection-via-samba-user-account-options
Provider assertions
2VulnCheck · cna
Webmin through 2.670 OS Command Injection via Samba User Account Options
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1ac9b0a70c5f7bd2afa38876265476a26714d158f99a7b3e98c9d2cc1eac7370
- Ingested
- 10 Nov 2026, 19:10:48 UTC
- Source record
- Official CVE record