
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-42210 is a two-factor authentication (2FA) bypass vulnerability in Webmin, a web-based system administration tool for Unix-like servers. Affecting all versions prior to 2.640, the flaw allows an attacker who already possesses a valid username and password to bypass the TOTP-based 2FA requirement by authenticating via HTTP Basic authentication instead of the standard login flow. The vulnerability was published on July 20, 2026, and assigned a CVSS v4.0 base score of 5.3 (Medium) (GitHub Advisory, Feedly).
The root cause is improper authentication (CWE-287): Webmin's RPC/Basic authentication code path did not enforce the 2FA requirement that is applied during the standard interactive login. When a user account has a twofactor_provider configured, the standard login flow prompts for a TOTP code, but the HTTP Basic authentication handler in miniserv.pl previously validated only the username and password, granting access without checking for or requiring the second factor. The fix (commit da18a16) adds an explicit check in the Basic auth handler: if the validated user has a twofactor_provider set, the authentication is rejected with an X-Webmin-Auth-Error: twofactor-required response header and a descriptive error message (GitHub Commit, GitHub Advisory). Exploitation requires network access to the Webmin interface and prior knowledge of valid credentials, but no interaction from the target user.
Successful exploitation allows an attacker with stolen or guessed credentials to fully bypass the 2FA control and gain authenticated access to the Webmin administrative interface, effectively rendering the second factor useless. Since Webmin provides broad Unix server administration capabilities — including file management, user administration, and service control — unauthorized access can lead to full server compromise, privilege escalation, and lateral movement within the environment. The integrity impact is the primary concern, as an attacker can modify system configurations, create backdoor accounts, or deploy web shells (GitHub Advisory, VPNCentral).
No public proof-of-concept exploit code or active in-the-wild exploitation has been reported as of the available data. The NVD SSVC assessment classifies exploitation as "none" and the vulnerability as not automatable, reflecting the requirement for valid credentials as a precondition (Feedly). The EPSS score is approximately 0.0042 (0.42%), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
product:"Webmin") or Censys.curl -u username:password https://<webmin-host>:10000/twofactor_provider, the server authenticates the request using only the username and password, granting full administrative access without prompting for a TOTP code.Authorization: Basic ... header) for accounts that are expected to use 2FA; absence of TOTP challenge/response in the authentication flow.Login as <user> from <host> rejected because two-factor authentication is enabled./var/webmin/miniserv.log) containing handle_request: doing basic auth check followed by successful access for accounts with twofactor_provider configured./etc/webmin/miniserv.users or /etc/webmin/*.acl files.Upgrade Webmin to version 2.640 or later, which includes the fix that enforces 2FA checks during HTTP Basic authentication (GitHub Advisory). For administrators unable to upgrade immediately, the official workaround is to manually apply the patch from commit da18a16c84ae5c0b78cad79609cb0efb174000ec to miniserv.pl (GitHub Commit). As an additional defensive measure, restrict network access to the Webmin port (default 10000) using firewall rules to limit exposure to trusted IP ranges only.
Coverage of this vulnerability appeared across several security news outlets, including Heise, CyberPress, CyberSecurityNews, and The Hacker News weekly recap, which highlighted the 2FA bypass alongside a related stored XSS vulnerability in Webmin (Heise, CyberSecurityNews, The Hacker News). VPNCentral noted that Webmin 2.641 addressed both the 2FA bypass and user impersonation issues (VPNCentral). Community reaction focused on the risk to administrators who rely on 2FA as a compensating control for exposed Webmin instances.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."