
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-126781 is a users file injection vulnerability in Webmin's acl/cert_issue.cgi script that allows authenticated users to inject arbitrary lines into Webmin's users file by supplying certificate Distinguished Name (DN) fields containing unvalidated newline characters. Affected versions include Webmin through 2.670. The vulnerability was published on November 11, 2026, with patches committed to the Webmin repository on the same date. It carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 7.7 (High) (Github Advisory, VulnCheck).
The root cause is improper neutralization of CRLF sequences (CWE-93) in acl/cert_issue.cgi. The vulnerable code (lines 22–52 of the 2.670 release) iterates over certificate DN fields — emailAddress, organizationalUnitName, organizationName, stateOrProvinceName, countryName, and commonName — and writes them directly to a temporary file without sanitizing newline or null characters. An attacker can terminate a DN field value with a backslash followed by a newline to break out of the current record and inject a second root-level entry with a known password hash into the Webmin users file; after miniserv restarts (which cert_issue.cgi triggers automatically), the injected account grants full root access to Webmin (Webmin Source, Webmin Patch). The fix adds a validation check rejecting any DN field containing :, \n, or \0 characters.
Successful exploitation allows a low-privileged authenticated Webmin user to escalate privileges to Webmin root, gaining full administrative control over the Webmin interface and the underlying server. This results in high confidentiality, integrity, and availability impact on the vulnerable system, including the ability to read sensitive configuration files, modify system settings, execute arbitrary commands, and disrupt services. The injected account persists across sessions, enabling persistent unauthorized access until discovered and removed (Github Advisory).
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time (Github Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.29% (22nd percentile), indicating a low near-term exploitation probability. Exploitation requires valid Webmin credentials (low privilege), and the attack is not automatable due to the prerequisite of authentication and the need for a miniserv restart to activate the injected account.
acl/cert_issue.cgi.commonName) ends with a backslash followed by a newline character (\\\n), followed by a crafted line representing a new root user entry with a known password hash.cert_issue.cgi script automatically calls restart_miniserv() after processing, which causes the injected root account to be loaded from the modified users file.acl/cert_issue.cgi with DN field values containing encoded newline (%0a, %0d) or backslash-newline sequences; miniserv restart events in system logs (/var/webmin/miniserv.log) shortly after certificate issuance requests./etc/webmin/miniserv.users or similar) with unfamiliar usernames or password hashes; modification timestamps on the users file coinciding with certificate issuance activity.miniserv restart; new administrative sessions from unexpected IP addresses.Upgrade Webmin to a version beyond 2.670 that includes the patch commits 0c449e3 (which adds validation rejecting :, \n, and \0 in DN fields) and 8fb194e (which fixes HTML escaping in certificate issuance responses) (Webmin Patch, Webmin Patch 2). As a workaround, restrict access to acl/cert_issue.cgi to only highly trusted administrators via Webmin's module access control settings. Additionally, monitor the Webmin users file and authentication logs for unauthorized account additions, particularly after any miniserv restart events.
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."