CVE-2026-126781
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 un…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · Webmin
| Product | Affected versions |
|---|---|
| Webmin | through 2.670 Version 0 ≤2.670 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/webmin/webmin/commit/0c449e341746d8c445c8c7db223eac1f41755943
- https://github.com/webmin/webmin/commit/8fb194e5fbc30a6664545d48940d03759ace9bf2
- https://github.com/webmin/webmin/blob/2.670/acl/cert_issue.cgi#L22-L52
- https://www.vulncheck.com/advisories/webmin-through-2.670-users-file-injection-via-acl-cert-issue-cgi
- https://github.com/advisories/GHSA-j6x6-jmrf-3xvf
- https://nvd.nist.gov/vuln/detail/CVE-2026-126781