← Vulnerability feed

Vulnerability record · CVE-2019-12840 · published 15 June 2019

CVE-2019-12840: Webmin Package Updates module OS command injection

Webmin · Webmin

Webmin through 1.910 lets any user authorized for the "Package Updates" module execute arbitrary commands with root privileges via the data parameter to update.cgi. The flaw is OS command injection (CWE-78) in a privileged administrative component, so a low-privileged authenticated user can gain full root control of the host.

8.8 CVSS 3.0 High EPSS 78% · top 0.4% CWE-78 · OS command injection
8.8CVSS 3.0 base score, v2 9.0
78%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root privileges via the data parameter to update.cgi.

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityRoot-level command execution with public exploit code and very high EPSS, but it requires an authenticated account with Package Updates access, which limits reach compared with an unauthenticated flaw.

What it is

Webmin through 1.910 lets any user authorized for the "Package Updates" module execute arbitrary commands with root privileges via the data parameter to update.cgi. The flaw is OS command injection (CWE-78) in a privileged administrative component, so a low-privileged authenticated user can gain full root control of the host.

Impact

An attacker with Package Updates access runs arbitrary commands as root, leading to complete compromise of the Webmin server and any data or services it manages.

Attack surface

Reachable over the network through the Webmin web interface (AV:N); it requires a valid account authorized to the Package Updates module (PR:L) and no user interaction (UI:N).

Exploitation

Public exploit code exists (Exploit-DB 46984 and a pentest.com.tr advisory tagged Exploit), and EPSS is very high at 0.778 (99.5th percentile), though CISA KEV does not list it.

What to do

  • Upgrade Webmin past 1.910 to a fixed release immediately.
  • Restrict the Package Updates module to trusted administrators and remove it from non-admin roles.
  • Limit network exposure of the Webmin interface to trusted management networks or a VPN.
  • Audit Webmin accounts and revoke unused or over-privileged credentials.
  • Monitor Webmin logs for unexpected update.cgi requests and child processes spawned by the Webmin service.

Detection

  • Alert on POST requests to update.cgi containing shell metacharacters or command separators in the data parameter.
  • Monitor for processes spawned by the Webmin service (miniserv.pl) that are not expected package-management binaries.
  • Review Webmin access logs for Package Updates module use by accounts that do not normally administer packages.
  • Watch for outbound connections or file writes originating from the Webmin process outside normal update activity.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2019-12840 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-15107Webmin password_change.cgi command injectionWebmin through 1.920 passes the 'old' parameter in password_change.cgi into a shell command without sanitization, allowing OS command injection. The …KEVEPSS 100%analysed10.0CVE-2005-1177Usermin vulnerabilityUnknown vulnerability in (1) Webmin and (2) Usermin before 1.200 causes Webmin to change permissions and ownership of configuration files, with unkno…EPSS 1.8%10.0CVE-2003-0101Engardelinux guardian digital webtool vulnerabilityminiserv.pl in (1) Webmin before 1.070 and (2) Usermin before 1.000 does not properly handle metacharacters such as line feeds and carriage returns (…EPSS 15%10.0CVE-2002-2201Webmin vulnerabilityThe Printer Administration module for Webmin 0.990 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in the …EPSS 3.3%10.0CVE-2001-1196Webmin vulnerabilityDirectory traversal vulnerability in edit_action.cgi of Webmin Directory 0.91 allows attackers to gain privileges via a '..' (dot dot) in the argumen…EPSS 9.8%9.8CVE-2022-36446Webmin apt-lib.pl command injection via unescaped UI commandWebmin before 1.997 fails to HTML-escape a UI command in software/apt-lib.pl, allowing injection of commands through that interface. The flaw is remo…EPSS 96%analysed9.8CVE-2020-35769Webmin vulnerabilityminiserv.pl in Webmin 1.962 on Windows mishandles special characters in query arguments to the CGI program.EPSS 1.8%9.8CVE-2018-8712Webmin path traversal vulnerabilityAn issue was discovered in Webmin 1.840 and 1.880 when the default Yes setting of "Can view any file as a log file" is enabled. As a result of weak d…EPSS 1.8%

Source: NIST National Vulnerability Database (record CVE-2019-12840), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.