CVE-2026-134636 Webmin through 2.670 Predictable TOTP Secret Generation via generate_base32_secret()

Published Updated

Attackers knowing a Webmin user's password can predict TOTP secrets and bypass two-factor authentication.

CVSS score

Medium

6.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, no user action

What is CVE-2026-134636?

CVE-2026-134636 is a medium-severity weak cryptography vulnerability in webmin, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Webmin through 2.670 contains a weak randomness vulnerability that allows attackers to predict TOTP two-factor secrets generated by generate_base32_secret() using a time and PID seeded rand(). Attackers who know a user's password and estimate enrollment time can enumerate candidate seeds, reproduce the secret, and bypass the second authentication factor.

Weakness: CWE-338

How severe is CVE-2026-134636?

CVE-2026-134636 scores 6.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134636?

1 open source package ship an affected version, including webmin/webmin.

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

PackageAffectedFixed in
webmin/webmin GitHub
pkg:github/webmin/webmin
All versions to 2.670None

How do I fix CVE-2026-134636?

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

Upgrade, and use current algorithms from a well-maintained library. More about Weak cryptography.

Is CVE-2026-134636 being exploited?

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

Sources

Also known as GHSA-5rgp-pr3q-qqfp.

Is CVE-2026-134636 in your software?

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

Check your SBOMs for free