Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Webmin account credentials
-
DeliveryCraft HTTP basic auth request with User-Agent: webmin
-
ExploitSubmit request to Webmin HTTPS port
-
ExecutionServer skips MFA second-factor check
-
PersistGain full Webmin administrative session
-
ImpactExecute OS-level commands on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Multi-factor authentication
|
| Exploitation Conditions | Exploitation requires two concrete preconditions: first, the attacker must possess valid Webmin credentials (username and password) for an account on the target instance - the vulnerability bypasses MFA only, not the initial credential check; second, MFA must be enabled on the Webmin instance, as the bypass specifically circumvents the second-factor enforcement path. The triggering condition is the HTTP header 'User-Agent: webmin' in a basic authentication request. Exploitation is limited by: the need for prior credential knowledge (phishing, breach, or insider access); the requirement that the target Webmin port be network-reachable; and the assumption that MFA was the sole compensating control layered on top of those credentials. Instances behind a VPN or IP allowlist with no internet-exposed Webmin port face significantly reduced exposure. |
| Impact | The official NVD CVSS score of 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) substantially understates real-world risk. The PR:N assignment conflicts with the description: basic authentication credentials (username and password) are still required to exploit this bypass - the bypass is specifically of the MFA second factor, not of the credential check itself. This makes PR:L a more accurate representation. Furthermore, C:N/I:L/A:N ignores what authenticated Webmin access actually enables: full OS-level command execution, file management, user administration, and service control. The EPSS score is not available in the provided data. No CISA KEV listing exists, and no public POC has been identified, making widespread opportunistic exploitation less likely at this time. The SSVC technical impact, however, is total once a threat actor with valid credentials successfully exploits this - CISA-CG involvement as the reporter suggests the agency assessed this as a meaningful risk to managed infrastructure. The more accurate risk framing is: any attacker who has compromised or phished a Webmin account but is stopped by MFA can now bypass that control, fully negating the MFA deployment investment. |
| Exploit ScenarioDerived | An attacker who has obtained valid Webmin credentials through phishing, credential stuffing, or a prior breach attempts login but is stopped by the MFA prompt. The attacker replaces their browser's User-Agent with 'webmin' - trivially done via any HTTP client such as curl - and resubmits the basic auth request, which Webmin accepts without invoking the MFA challenge, granting full administrative access to the server. No public POC has been identified at time of analysis, but the technique requires only standard HTTP tooling and knowledge of the header value. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
MFA bypass in Webmin prior to 2.641 enables remote attackers holding valid credentials to circumvent multi-factor authentication entirely by supplying the literal string 'webmin' as the HTTP User-Agent header, causing the server to accept basic authentication without requiring a session cookie or a second factor. The affected CPE covers all Webmin releases before 2.641, and the impact extends well beyond the low integrity score assigned by the official CVSS - Webmin is a full server administration panel, meaning successful authentication grants control over the underlying host. No public exploit code or CISA KEV listing has been identified at time of analysis; the issue was reported by CISA-CG and patched in the 2.641 release.
RemediationAI
Upgrade to Webmin 2.641 or later, which is the vendor-released patch per the GitHub release at https://github.com/webmin/webmin/releases/tag/2.641 and the security advisory at https://webmin.com/security/#webmin-prior-to-2641. If immediate upgrade is not possible, restrict access to the Webmin port (default TCP 10000) at the network perimeter to trusted IP ranges only - this limits exposure to attackers who already hold credentials but prevents external exploitation entirely. Additionally, audit all Webmin accounts for signs of credential compromise, since this bypass is only useful to an attacker who already possesses a valid username and password. Blocking or rewriting the 'User-Agent: webmin' header at a reverse proxy or WAF in front of Webmin is a viable short-term compensating control, though it introduces a maintenance dependency on the proxy configuration and may break legitimate Webmin CLI or API tooling that sets this header intentionally.
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:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*) is a browser-based Unix/Linux system administration interface that exposes privileged OS operations over HTTPS. The root cause is classified as CWE-308 (Use of Single-factor Authentication), specifically an authentication downgrade path: the server contains a hard-coded logic branch that, when it detects the 'User-Agent: webmin' string, shifts from its normal session-cookie-plus-MFA flow to plain HTTP Basic Authentication, skipping the second factor entirely. This is effectively a legacy or internal compatibility backdoor in the authentication stack. The vulnerability requires that MFA be enabled on the instance - installations without MFA configured are unaffected by the bypass specifically, though they have no second factor to protect them regardless.
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:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Basic auth credentials required so PR:L not PR:N; Webmin grants full host OS control so C/I/A all high.
Primary rating from Vendor (cisa-cg).
CVSS VectorVendor: cisa-cg
Lifecycle Timeline
2DescriptionCVE.org
Webmin accepts basic authentication without session cookies when an attacker provides the 'User-Agent: webmin' header, allowing bypass of additional MFA requirements. Fixed in 2.641.
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-37907
GHSA-9848-6qgw-2748
NVD
CVE.org
EPSS
VulDB
Exploit-DB