Skip to main content

Webmin CVE-2026-42210

| EUVDEUVD-2026-46035 MEDIUM
Improper Authentication (CWE-287)
2026-07-20 GitHub_M
5.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid Webmin username and password
  2. Delivery
    Craft HTTP request with Basic Authorization header
  3. Exploit
    Submit to Webmin network endpoint
  4. Execution
    2FA enforcement skipped in WebminCore.pm Basic auth path
  5. Persist
    Receive authenticated admin session
  6. Impact
    Execute OS commands or modify server configuration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

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 the attacker already possess a valid Webmin username and password for an account that has 2FA enabled - the bypass circumvents only the second factor, not the first. Accounts without 2FA configured are not affected by this specific flaw (though they have no second-factor protection regardless). The Webmin web interface must be network-accessible from the attacker's position on the standard port (typically TCP 10000). No non-default configuration is required beyond the presence of a 2FA-enabled account, meaning any default Webmin deployment that has enabled 2FA for one or more users is vulnerable. The key limiting factor is the hard prerequisite of valid first-factor credentials - this vulnerability cannot be used to bypass authentication entirely from a zero-knowledge starting point, and cannot be combined with brute force alone without first compromising credentials through another channel.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) correctly captures that valid credentials are required (PR:L) and no user interaction is needed, but the impact metrics (VC:N/VI:L/VA:N) significantly understate real-world consequence: successful 2FA bypass in Webmin yields unrestricted access to a server administration panel capable of remote command execution, file system modification, and user management on the underlying OS. The attack is automatable (AT:N confirmed) and requires no special technical conditions beyond network access and valid credentials, meaning credential-stuffing campaigns could exploit this at scale against internet-exposed instances. No EPSS score was provided in the input data. The absence of a CISA KEV entry and public exploit code suggests exploitation has not yet been observed at scale, but the trivial attack complexity makes this a high-priority patch target for any organization that has deployed Webmin with 2FA as a security boundary. The disconnect between the stated CVSS 4.0 impact and actual post-exploitation capability should be noted by defenders.

Exploit ScenarioDerived

An attacker who obtained Webmin credentials through phishing, prior breach, or credential stuffing sends an HTTP GET or POST request to the target Webmin interface (e.g., https://target:10000/session_login.cgi) with an Authorization: Basic header encoding the compromised username and password, skipping the web form login flow entirely. WebminCore.pm grants a fully authenticated administrative session without prompting for the TOTP second factor. The attacker then has unrestricted access to execute shell commands, read arbitrary files, and modify system configuration on the underlying server. No public proof-of-concept code was identified in the provided data, but the technique is a straightforward HTTP header manipulation requiring no specialized tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 20, 2026

Two-factor authentication bypass in Webmin prior to version 2.640 allows a network attacker holding valid username and password credentials to gain full administrative access by sending requests via the HTTP Basic authentication code path, which skips TOTP enforcement entirely. All Unix-like systems running Webmin with 2FA enabled on any account are affected, making this particularly dangerous in environments where 2FA was deployed as the primary compensating control against credential exposure. No active exploitation has been confirmed via CISA KEV, and no public exploit code was identified in the provided data at time of analysis.

RemediationAI

Upgrade Webmin to version 2.640 or later, which incorporates the fix from commit da18a16c84ae5c0b78cad79609cb0efb174000ec (https://github.com/webmin/webmin/commit/da18a16c84ae5c0b78cad79609cb0efb174000ec). If an immediate upgrade is not possible, the vendor advisory at https://github.com/webmin/webmin/security/advisories/GHSA-qpww-fff2-6fgv explicitly documents applying that patch commit manually as a supported workaround. As a network-level compensating control, restrict access to the Webmin port (typically TCP 10000) via firewall rules to allow only trusted IP ranges - this does not eliminate the vulnerability but eliminates internet-facing exposure, the primary attack surface. If Webmin's configuration allows disabling HTTP Basic authentication as an accepted login method, doing so would directly neutralize the bypass vector, though this may break automated integrations or scripts that rely on Basic auth and should be tested before deployment.

Affected VersionsENISA

Webmin < 2.640

Affected Packages

euvd webmin fix: 2.640

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Webmin (CPE: cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*) is a Perl-based web administration interface for Unix-like systems, exposing server management functions - file editing, user administration, service control, and shell execution - through a browser on TCP port 10000. The root cause is CWE-287 (Improper Authentication): the HTTP Basic authentication handler in WebminCore.pm validates only the first factor (username and password) without checking whether the account requires a second factor (TOTP). The fix commit da18a16c84ae5c0b78cad79609cb0efb174000ec modifies WebminCore.pm to enforce 2FA even when Basic auth is used, confirming the bypass exists in the authentication dispatch logic rather than in any cryptographic component. This is a logic flaw - the 2FA gate is simply never reached on the Basic auth code path.

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 (GitHub_M) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 9.9 CRITICAL

PR:L because valid credentials are required; S:C and C/I/A:H because Webmin admin access yields full OS-level command execution.

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

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 20, 2026 - 18:18 EUVD

DescriptionCVE.org

Webmin is a web-based system administration tool for Unix-like servers. Prior to version 2.640, for Webmin accounts that require a second authentication factor (typically TOTP), an attacker with knowledge of the username and password can bypass the 2FA requirement by using Basic authentication. Webmin is a web-based system administration tool for Unix-like servers. As a workaround, apply the patch from commit da18a16c84ae5c0b78cad79609cb0efb174000ec manually.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
widely used web admin panel for self-hosted Linux/Unix servers
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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