CVE-2026-134636: Webmin through 2.670 Predictable TOTP Secret Generation via generate_base32_secret()
Vulnerability summary
CVE-2026-134636 is a medium (CVSS 6.3) vulnerability in webmin. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 41.7% of scored vulnerabilities.
Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 25-11-2026PublishedVulnerability first disclosed.
- 30-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 2 sources · 2 versions- NVDNIST6.3MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Webmin1 product
- webmin≤ 2.670
1 vendor · 1 product
References
6 links- github.com/webmin/webminProduct
- github.com/webmin/webmin/blob/2.670/webmin/twofactor-funcs-lib.plTechnical Description
- github.com/webmin/webmin/blob/2.670/web-lib-funcs.plTechnical Description
- github.com/webmin/webmin/issues/2941Issue Tracking
- doi.org/10.5281/zenodo.24396540Technical Description
- www.vulncheck.com/advisories/…Third Party Advisory