Skip to main content

Webmin CVE-2025-67738

HIGH
OS Command Injection (CWE-78)
2025-12-11 cve@mitre.org
8.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Webmin with Cache Manager (cms) permission
  2. Delivery
    Submit crafted Cache Manager arguments with shell metacharacters
  3. Exploit
    Unquoted @ARGV injected into open() pipe
  4. Execution
    Arbitrary OS command executed as Webmin (root)
  5. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 8.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

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

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Medium
popular Linux/Unix server admin panel, but Squid module narrows footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Webmin

View all
CVE-2019-15107 CRITICAL POC
9.8 Aug 16

An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2012-2982 MEDIUM POC
6.5 Sep 11

file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid

CVE-2012-2983 MEDIUM POC
5.0 Sep 11

file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited

CVE-2022-36446 CRITICAL POC
9.8 Jul 25

software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi

CVE-2022-0824 HIGH POC
8.8 Mar 02

Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity

CVE-2019-12840 HIGH POC
8.8 Jun 15

In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr

CVE-2017-15644 HIGH POC
8.6 Oct 19

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

CVE-2019-9624 HIGH POC
7.8 Mar 07

Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow

CVE-2015-2079 CRITICAL POC
9.9 Apr 28

Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t

CVE-2021-31761 CRITICAL POC
9.6 Apr 25

Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru

CVE-2017-15645 HIGH POC
8.8 Oct 19

CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati

CVE-2022-35132 HIGH POC
8.8 Oct 25

Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy