{"id":"CVE-2026-134636","aliases":[],"title":"Webmin through 2.670 Predictable TOTP Secret Generation via generate_base32_secret()","originalDescription":"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.","severity":{"cvss":6.3,"vector":"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","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00462,"percentile":0.32096},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/webmin/webmin","type":"product"},{"url":"https://github.com/webmin/webmin/blob/2.670/webmin/twofactor-funcs-lib.pl#L206","type":"technical-description"},{"url":"https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736","type":"technical-description"},{"url":"https://github.com/webmin/webmin/issues/2941","type":"issue-tracking"},{"url":"https://doi.org/10.5281/zenodo.24396540","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/webmin-through-2.670-predictable-totp-secret-generation-via-generate-base32-secret","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134636.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134636","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-25T04:21:08.731Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134636","license":"NVD terms of use","firstSeenAt":"2026-11-25T04:21:08.731Z"},{"name":"osv","at":"2026-11-25T06:00:50.245Z","url":"https://osv.dev/vulnerability/CVE-2026-134636","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T05:27:47.474Z"},{"name":"cvelistV5","at":"2026-11-29T01:26:24.104Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134636","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T03:45:45.290Z"}],"firstSeenAt":"2026-11-25T03:45:45.290Z","publishedAt":"2026-11-25T03:21:00.385Z","modifiedAt":"2026-11-25T05:00:18.319Z"}