CVE-2026-134636
Webmin through 2.670 Predictable TOTP Secret Generation via generate_base32_secret()
CVSS Score
4.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-338 |
| Vendor | webmin |
| Product | webmin |
| Published | Nov 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for webmin webmin
Be the first to know when new medium vulnerabilities affecting webmin webmin are published — delivered to Slack, Telegram or Discord.
Get Free Alerts →
Free · No credit card · 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
webmin / webmin
0 ≤ 2.670
References
github.com: https://github.com/webmin/webmin github.com: https://github.com/webmin/webmin/blob/2.670/webmin/twofactor-funcs-lib.pl#L206 github.com: https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736 github.com: https://github.com/webmin/webmin/issues/2941 doi.org: https://doi.org/10.5281/zenodo.24396540 vulncheck.com: https://www.vulncheck.com/advisories/webmin-through-2.670-predictable-totp-secret-generation-via-generate-base32-secret
Credits
Armin Šupuk