CVE-2026-134636
CVE-2026-134636 · Webmin through 2.670 Predictable TOTP Secret Generation via generate_base32_secret()
CVSS 6.3 · Medium · EPSS 0.5%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- webminNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
webmin
- Versions
- ≥ 0, ≤ 2.670: Affected (custom)
No fix published
Original sources
- https://github.com/webmin/webmin
- https://github.com/webmin/webmin/blob/2.670/webmin/twofactor-funcs-lib.pl#L206
- https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736
- https://github.com/webmin/webmin/issues/2941
- https://doi.org/10.5281/zenodo.24396540
- https://www.vulncheck.com/advisories/webmin-through-2.670-predictable-totp-secret-generation-via-generate-base32-secret
- https://nvd.nist.gov/vuln/detail/CVE-2026-134636