Webmin
CVE-2025-67738
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Webmin with Cache Manager (cms) permission
-
DeliverySubmit crafted Cache Manager arguments with shell metacharacters
-
ExploitUnquoted @ARGV injected into open() pipe
-
ExecutionArbitrary OS command executed as Webmin (root)
-
ImpactFull host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that Webmin's Squid module is installed and the Cache Manager feature is available (a non-default deployment choice), AND that the attacker can authenticate to Webmin with an account granted the Squid Cache Manager 'cms' security option. The affected code path is squid/cachemgr.cgi in Webmin before 2.600. Limiting factors: valid Webmin authentication is required (PR:L per CVSS), the specific Squid Cache Manager permission must be assigned, and the Squid module must be deployed - so the realistic attacker is a semi-trusted/low-privilege Webmin user, not an anonymous remote party. Impact is amplified because Webmin generally runs as root, so successful injection yields full host control. |
| Impact | The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C, C:H/I:H/A:H, base 8.5 High) describes a network-reachable but privilege-gated flaw: an attacker must already authenticate to Webmin and hold the Squid Cache Manager 'cms' permission (PR:L), after which OS command injection via unquoted arguments yields a scope change (S:C) to full host compromise - consistent with Webmin typically running as root. Real-world risk signals are mixed and point to LOW immediate urgency: EPSS is only 0.36% (28th percentile), there is no CISA KEV listing, and no public exploit code was identified (the GitHub link is the vendor's own patch commit, not a POC). No SSVC decision data was provided. The authentication-plus-specific-permission precondition means this is a privilege-escalation primitive for semi-trusted Webmin users rather than a mass-exploitable perimeter bug, which aligns with the low EPSS. Note one tension to verify: the official vector rates AC:H, yet the root cause is a classic failure to quote shell arguments ('does not properly quote arguments'), which is normally low-complexity to exploit once the permission is held - the AC:H rating may overstate exploitation difficulty. Overall this is a legitimately serious post-authentication local-privilege-escalation issue but not a drop-everything perimeter emergency; prioritize for environments where untrusted or semi-trusted users have Webmin accounts with Squid Cache Manager access. |
| Exploit ScenarioDerived | A low-privilege Webmin user who has been granted the Squid module's Cache Manager ('cms') permission submits a crafted Cache Manager request whose argument values contain shell metacharacters. Because squid/cachemgr.cgi passes @ARGV unquoted into an open() pipe, the injected command executes on the host - typically as root, since Webmin runs with elevated privileges. No public exploit code was identified at time of analysis; only the vendor patch commit is available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Command injection in Webmin before 2.600 allows an authenticated Webmin user who holds the Squid Cache Manager 'cms' permission to execute arbitrary OS commands through squid/cachemgr.cgi. The flaw only applies when the Squid module and Cache Manager feature are deployed and the account has the required cms security option, so the realistic attacker is a low-privilege Webmin user rather than an anonymous remote party. Successful exploitation can escalate to full host compromise because Webmin commonly runs as root, although no public exploit identified at time of analysis and EPSS is low at 0.36%.
RemediationAI
Vendor-released patch: Webmin 2.600. Upgrade Webmin to 2.600 or later, which includes the quotemeta fix for @ARGV in squid/cachemgr.cgi (commit 1a52bf4d72f9da6d79250c66e51f41c6f5b880ee). If immediate upgrade is not possible, remove or disable the Webmin Squid module or the Cache Manager feature, and revoke the Squid Cache Manager 'cms' permission from non-administrative Webmin accounts; the trade-off is loss of Squid cache management functionality. Restrict Webmin access to trusted management networks and audit which accounts have cms permission, because Webmin often runs as root and this injection can lead to full host compromise. The vendor advisory is https://webmin.com/security/#privilige-escalation-using-squid-module-cve-2025-67738.
Affected ProductsAI
Webmin versions before 2.600 are affected, specifically the squid/cachemgr.cgi script when Webmin's Squid module and Cache Manager feature are available and the authenticating user has the 'cms' security option. No CPE strings were provided in the input data; the vendor advisory is at https://webmin.com/security/#privilige-escalation-using-squid-module-cve-2025-67738, the fix commit is https://github.com/webmin/webmin/commit/1a52bf4d72f9da6d79250c66e51f41c6f5b880ee, and the 2.520 to 2.600 comparison is https://github.com/webmin/webmin/compare/2.520...2.600.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is CWE-78 OS command injection in the Perl CGI script squid/cachemgr.cgi. The script builds a shell command for Perl's open function using unquoted @ARGV, historically open(MGR, "$mgr ".join(" ", @ARGV)." ... |"), so shell metacharacters in arguments are interpreted by the command shell. The upstream fix in commit 1a52bf4d72f9da6d79250c66e51f41c6f5b880ee applies quotemeta to each argument before joining, preventing shell interpretation. Affected deployments are Webmin before 2.600 specifically with the Squid module and Cache Manager feature available, and the user must authenticate and hold the Squid Cache Manager 'cms' permission. Webmin typically runs as root, so the injection yields a scope change to full host control; no CPE strings were supplied in the input data, but the vulnerable component is clearly Webmin's Squid module Cache Manager.
Know when Webmin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Network-facing web CGI (AV:N); unquoted argument injection is straightforward once access is held (AC:L); requires an authenticated user with the Squid 'cms' permission (PR:L); escapes Webmin to execute OS commands as root (S:C, C/I/A:H).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
squid/cachemgr.cgi in Webmin before 2.600 does not properly quote arguments. This is relevant if Webmin's Squid module and its Cache Manager feature are available, and an untrusted party is able to authenticate to Webmin and has certain Cache Manager permissions (the "cms" security option).
Executive ViewAI
Webmin installations running versions before 2.600 are exposed to a command injection flaw in the Squid Cache Manager interface, allowing an existing low-privilege Webmin account holding the 'cms' permission to execute arbitrary operating-system commands on the host. Because Webmin commonly runs with root privileges, a single compromised or malicious administrative account could escalate to full server compromise, which makes this a meaningful insider and credential-theft risk rather than a mass internet-facing attack. Leadership should prioritize only where the Squid module and Cache Manager feature are actually deployed and the 'cms' option is granted, since no vendor-released patch was identified at time of analysis and no public exploit has been identified.
No vendor-released patch identified at time of analysis. Interim mitigations: disable the Squid module or the Cache Manager feature in Webmin where it is not operationally required; remove the 'cms' permission from all Webmin accounts lacking a documented business need; restrict Webmin console access to trusted management networks or VPN; enforce strong unique credentials and multi-factor authentication for Webmin accounts; monitor and alert on Webmin-spawned processes and cachemgr.cgi activity; and plan upgrade to Webmin 2.600 or later once the vendor confirms availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid
file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited
software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi
Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity
In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr
SSRF exists in Webmin 1.850 via the PATH_INFO to tunnel/link.cgi, as demonstrated by a GET request for tunnel/link.cgi/h
Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow
Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t
Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru
CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati
Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for
NVD
CVE.org
EPSS
GitHub
Exploit-DB