CVE-2026-126781Published Nov 11, 2026 · Nov 11Updated 6d ago
Webmin root access via users file injection in certificate issuance
webmin
High7.7Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| webmin webmin |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck
References
- github.com/webmin/webmin/commit/0c449e341746d8c445c8c7db223eac1f41755943Patch
- github.com/webmin/webmin/commit/8fb194e5fbc30a6664545d48940d03759ace9bf2Patch
- github.com/webmin/webmin/blob/2.670/acl/cert_issue.cgi#L22-L52
- vulncheck.com/advisories/webmin-through-2.670-users-file-injection-via-acl-cert-issue-cgi
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126781.json
- nvd.nist.gov/vuln/detail/CVE-2026-126781
- github.com/webmin/webmin