Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Webmin username and password
-
DeliveryCraft HTTP request with Basic Authorization header
-
ExploitSubmit to Webmin network endpoint
-
Execution2FA enforcement skipped in WebminCore.pm Basic auth path
-
PersistReceive authenticated admin session
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
PR:L because valid credentials are required; S:C and C/I/A:H because Webmin admin access yields full OS-level command execution.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
EUVD-2026-46035
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB