CVE-2026-126781 Webmin through 2.670 Users File Injection via acl/cert_issue.cgi

High 7.7 Published Updated

Authenticated Webmin users can inject newlines into certificate DN fields to gain root access after restart.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-126781?

CVE-2026-126781 is a high-severity code injection vulnerability in webmin, published on 11 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-93

Which versions are affected by CVE-2026-126781?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-126781?

No fix has been published for CVE-2026-126781 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-126781 being exploited?

There is no known exploitation of CVE-2026-126781 in the wild and no public exploit code.

Sources

Also known as GHSA-j6x6-jmrf-3xvf.

Is CVE-2026-126781 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free