{"id":"CVE-2026-126781","summary":"Webmin through 2.670 Users File Injection via acl/cert_issue.cgi","details":"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.","modified":"2026-11-14T02:31:08.884486915Z","published":"2026-11-11T18:41:11.509Z","database_specific":{"cwe_ids":["CWE-93"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126781.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126781.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126781"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/webmin-through-2.670-users-file-injection-via-acl-cert-issue-cgi"},{"type":"FIX","url":"https://github.com/webmin/webmin/commit/0c449e341746d8c445c8c7db223eac1f41755943"},{"type":"FIX","url":"https://github.com/webmin/webmin/commit/8fb194e5fbc30a6664545d48940d03759ace9bf2"},{"type":"PACKAGE","url":"https://github.com/webmin/webmin"},{"type":"ARTICLE","url":"https://github.com/webmin/webmin/blob/2.670/acl/cert_issue.cgi#L22-L52"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/webmin/webmin","events":[{"introduced":"0"},{"fixed":"0c449e341746d8c445c8c7db223eac1f41755943"},{"fixed":"8fb194e5fbc30a6664545d48940d03759ace9bf2"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"2.670"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"0c449e341746d8c445c8c7db223eac1f41755943"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"8fb194e5fbc30a6664545d48940d03759ace9bf2"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["2.660","2.653","2.652","2.651","2.650","2.641","2.640","2.630","2.621","2.620","2.610","2.600","2.520","2.510","2.501","2.402","2.401","2.400","2.302","2.301","2.202","2.201","2.200","2.111","2.110","2.105","2.104","2.103","2.100","2.021","2.020","2.013","2.012","2.011","2.010","2.003","2.001","2.000","1.999","1.998","1.996","1.995","1.994","1.993","1.991","1.990","1.984","1.983","1.982","1.980","1.974","1.973","1.972","1.970","1.962","1.960","1.955","1.954","1.953","1.951","1.950","1.941","1.940","1.930","1.920","1.910","1.900","1.890","1.880","1.870","1.860","1.850","1.840","1.831","1.830","1.820","1.810","1.801","1.800","1.790","1.780","1.770","1.760","1.750","1.740","1.730","1.720","1.710","1.700"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126781.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}