Vulnerability DatabaseCVE-2026-126780

CVE-2026-126780: 
Webmin vulnerability analysis and mitigation

Overview

CVE-2026-126780 is a privilege escalation vulnerability in Webmin through version 2.670, located in the acl/save_group.cgi endpoint. It allows delegated administrators with access to the Webmin Users module to submit arbitrary module lists via the mod parameter, bypassing authorization controls. By creating or editing groups to include privileged modules such as Command Shell and assigning themselves membership, attackers can execute arbitrary OS commands as root. The vulnerability was published on November 11, 2026, and carries a CVSS v3.1 base score of 7.2 (High) and a CVSS v4.0 base score of 8.6 (High) (Github Advisory, Feedly).

Technical details

The root cause is CWE-269 (Improper Privilege Management): the acl/save_group.cgi script in Webmin 2.670 and earlier did not validate whether the modules submitted in the mod POST parameter were within the set of modules the requesting administrator was authorized to grant. Unlike the analogous acl/save_user.cgi, which performed a module allowlist check against the logged-in user's permitted modules, save_group.cgi accepted arbitrary module names without restriction (Webmin Source). An attacker with delegated access to the Webmin Users module can craft a POST request to acl/save_group.cgi including restricted modules (e.g., cmd for Command Shell) in the mod parameter, create or modify a group with those modules, and add themselves as a member — ultimately gaining root-level command execution through the Command Shell module (Github Advisory, Webmin Commit).

Impact

Successful exploitation grants the attacker full root-level command execution on the underlying server hosting Webmin, resulting in complete compromise of confidentiality, integrity, and availability of the affected system. An attacker can read sensitive system files, modify configurations, install backdoors, or pivot to other systems on the network. Because Webmin is commonly used to administer Linux/Unix servers, exploitation could expose credentials, hosted services, and data managed by the server (Github Advisory, Feedly).

Exploitability

No public proof-of-concept exploit code has been identified, and there is no evidence of in-the-wild exploitation at the time of disclosure (Feedly). The vulnerability requires the attacker to already hold a delegated Webmin administrator account with access to the Webmin Users module, limiting the attack surface. The EPSS score is approximately 0.589%, placing it in the 49th percentile for exploitation likelihood within 30 days (Github Advisory). The CVE status is listed as "Deferred" and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.

Exploitation steps

  1. Gain delegated access: Obtain or compromise a Webmin account that has been delegated access to the "Webmin Users" module (but not necessarily the Command Shell or other privileged modules).
  2. Identify the target endpoint: Navigate to or directly target the acl/save_group.cgi CGI script on the Webmin instance (typically accessible at https://<host>:10000/acl/save_group.cgi).
  3. Craft a malicious POST request: Submit a POST request to acl/save_group.cgi with parameters to create or edit a group, including the mod parameter set to an unauthorized module such as cmd (Command Shell), e.g.: name=evilgroup&mod=cmd&group=.
  4. Assign self to the group: Add the attacker's own Webmin username as a member of the newly created or modified group, either via the same request or a follow-up request to the group membership endpoint.
  5. Access Command Shell: Log out and back in (or reload session), then navigate to the Command Shell module now available in the attacker's session.
  6. Execute commands as root: Use the Command Shell module to run arbitrary OS commands, which execute with root privileges on the server (Webmin Source, Github Advisory).

Indicators of compromise

  • Network: Unexpected POST requests to /acl/save_group.cgi from delegated (non-superadmin) Webmin accounts, particularly including mod=cmd or other sensitive module names in the request body; access to /cmd/index.cgi (Command Shell) by accounts not previously authorized for it.
  • Logs: Webmin access logs (/var/webmin/miniserv.log) showing save_group.cgi calls from low-privilege users followed by cmd/ module access; log entries for group creation or modification by delegated users with unusual module assignments.
  • File System: New or modified group configuration files in /etc/webmin/ (e.g., .gacl files) reflecting unexpected module grants; presence of new scripts or binaries in system directories created around the time of suspicious Webmin activity.
  • Process: Unexpected child processes spawned by the Webmin Perl process (e.g., /bin/bash, curl, wget, nc) indicating command execution via the Command Shell module.

Mitigation and workarounds

Webmin has released patches addressing this vulnerability via two commits: c861e30 and be54ba3, which apply the same module allowlist validation to save_group.cgi that was already present in save_user.cgi. Users should update Webmin to a version incorporating these commits as soon as possible (Webmin Commit). As an interim workaround, restrict assignment of the Webmin Users module to fully trusted superadministrators only, and audit existing delegated accounts for unnecessary module access. Monitor acl/save_group.cgi for suspicious POST requests and consider blocking access to this endpoint for non-superadmin accounts at the network or application level (Github Advisory).

Additional resources


Source: This report was generated using AI

Related Webmin vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-126780HIGH8.6
  • Webmin logoWebmin
  • cpe:2.3:a:webmin:webmin
NoNoNov 11, 2026
CVE-2026-125391HIGH8.6
  • Webmin logoWebmin
  • cpe:2.3:a:webmin:webmin
NoNoNov 10, 2026
CVE-2026-126781HIGH7.7
  • Webmin logoWebmin
  • cpe:2.3:a:webmin:webmin
NoNoNov 11, 2026
CVE-2026-125392MEDIUM5.1
  • Webmin logoWebmin
  • cpe:2.3:a:webmin:webmin
NoNoNov 10, 2026
CVE-2026-124552MEDIUM4.8
  • Webmin logoWebmin
  • cpe:2.3:a:webmin:webmin
NoNoNov 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management