Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege Webmin user
-
DeliverySubmit DN field ending with backslash and newline
-
ExploitInject second root entry with known hash into users file
-
ExecutionWait for miniserv restart
-
ImpactLog in as injected root for full Webmin control
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | Requires a valid, authenticated Webmin account (PR:L) with access to the certificate-issuance ACL feature in acl/cert_issue.cgi, and the ability to supply certificate DN field values. The attacker must craft a DN field ending in a backslash plus newline to break out of the intended line and inject a second root entry with a password hash they already control. Exploitation is NOT immediate: the injected credential only becomes usable after the miniserv daemon restarts and reloads the users file (reflected as AT:P in the CVSS 4.0 vector). Limiting factors: no unauthenticated path (credentials needed), dependence on reaching the cert-issue module, and the restart requirement delay; the fix validates DN input to reject colon, newline, and null bytes. Affected: Webmin through 2.670. |
| Impact | This is a credible but conditional privilege-escalation flaw, not a mass-exploitation emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) confirms a network-reachable issue requiring an already-authenticated Webmin user (PR:L) plus an attack requirement (AT:P) that is grounded in the description: the injected second root entry only takes effect after miniserv restarts - an attacker-influenced-but-not-guaranteed condition. Impact is maximal within the product (VC:H/VI:H/VA:H → full Webmin root), but scope is unchanged (SC/SI/SA:N). No EPSS score, no CISA KEV listing, and no exploit reference were provided, so exploitation likelihood signals are absent rather than low - do not read the missing EPSS as evidence of low real-world activity. The vuln.today decision label is 'this_week', consistent with a patch-available, authenticated, high-impact issue that is serious for exposed Webmin instances but gated behind valid credentials and a restart. Net: a real priority for anyone running multi-user Webmin, but the PR:L gate and restart dependency keep it below drop-everything urgency. |
| Exploit ScenarioDerived | An authenticated Webmin user with access to the certificate-issuance ACL module (acl/cert_issue.cgi) submits a certificate DN field whose value ends with a backslash followed by a newline, injecting an additional line into the Webmin users file that defines a second 'root' account with a password hash the attacker already knows. Once the miniserv daemon restarts and reloads the users file, the attacker authenticates as that injected root account and gains full Webmin administrative control. No public exploit was identified at time of analysis; the available references are vendor patch commits, the vulnerable source lines, and a VulnCheck advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
An authenticated Webmin user who can reach the certificate-issuance module (acl/cert_issue.cgi) can inject a second root-level entry into Webmin's users file by submitting certificate distinguished-name fields containing a trailing backslash plus newline, bypassing the intended single-line format. The injected account uses a password hash the attacker already controls, so once miniserv restarts and reloads the users file the attacker holds Webmin root access. Affected is Webmin through 2.670; the flaw requires valid credentials (PR:L) and the effect is delayed until the daemon restart, making it a credible but conditional privilege escalation rather than a mass-exploitation emergency, with no confirmed active exploitation or KEV listing reported.
RemediationAI
Vendor-released patch: Webmin fixes this in the commits referenced by the advisory - https://github.com/webmin/webmin/commit/0c449e341746d8c445c8c7db223eac1f41755943 (input validation rejecting colon, newline and null bytes in certificate DN fields) and https://github.com/webmin/webmin/commit/8fb194e5fbc30a6664545d48940d03759ace9bf2 - so upgrade Webmin to a build containing those changes rather than remaining on 2.670 or earlier; patch status is 'available from vendor' but no separately tagged release version is given in the available data, so confirm the fixed build in the vendor repository. Until upgraded, the actionable compensating control is to restrict who can reach the certificate-issuance module: revoke or do not grant the certificate ACL to accounts that are not fully trusted, since the flaw requires an authenticated user with access to acl/cert_issue.cgi and its DN fields, and be aware that this removes a legitimate administrative capability from those users. Also treat any Webmin users-file content as potentially tampered - audit for unexpected root entries before and after miniserv restarts, since injected credentials only take effect when the daemon reloads the file - and rotate root credentials if an untrusted account has had certificate-issue access. The vendor position available here is that updating is the complete fix; no other workaround is documented in the supplied references.
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's acl/cert_issue.cgi builds certificate distinguished-name fields from user-supplied form parameters and writes them out in a line-oriented format that the Webmin users/acl file consumer later parses. The root-cause class is CWE-93 (improper neutralization of CRLF sequences, i.e., 'CRLF injection'), generalized here to embedded newlines: the pre-fix code (lines 22-52 of the 2.670 file) placed the submitted values into the output without rejecting line-breaking characters, so a value ending in a backslash followed by a newline escapes the intended line continuation and lets the attacker append an additional entry. That entry can be a second root entry carrying a password hash the attacker knows, which is honored when miniserv restarts and re-reads the users file - the prerequisite reflected as AT:P in the CVSS 4.0 vector and as AC:H/PR:L in the assessed CVSS 3.1 vector. The vendor fix adds validation rejecting ':', newline and null characters in certificate fields together with a new cert_echars error string, closing the injection path. The affected CPE range is cpe:2.3:a:webmin:webmin up to and including 2.670.
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:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable but needs an authenticated user (PR:L) and an attacker-uncontrolled miniserv restart to take effect (AC:H); injected root yields full confidentiality/integrity/availability impact within unchanged scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Webmin through 2.670 contains a users file injection vulnerability in acl/cert_issue.cgi that allows authenticated Webmin users to inject lines by supplying unvalidated certificate DN fields containing newlines. Attackers can end a DN field with a backslash and newline to add a second root entry with a known password hash, gaining Webmin root access after miniserv restarts.
Executive ViewAI
CVE-2026-126781 is a high-severity privilege escalation vulnerability in Webmin (through version 2.670) that allows an authenticated user with access to the certificate issuance module to inject a rogue root-level account into Webmin's user database. Although exploitation requires valid credentials and a daemon restart, successful compromise grants full administrative control of Webmin, which could lead to broader system compromise; however, no active exploitation has been reported, so the immediate risk is conditional and targeted rather than immediate and widespread.
Apply vendor patch.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
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-123775
GHSA-j6x6-jmrf-3xvf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB