{"id":"CVE-2026-134636","aliases":["CVE-2026-134636"],"related":[],"kind":"vulnerability","state":"published","title":"Webmin through 2.670 Predictable TOTP Secret Generation via generate_base32_secret()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T03:21:00.385Z","modified":"2026-11-30T19:17:46.177Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-338"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"2.670","status":"affected"}],"vendor":"webmin","product":"webmin","repo":"https://github.com/webmin/webmin","source":"cvelist"}],"references":[{"url":"https://github.com/webmin/webmin","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/webmin/webmin/blob/2.670/webmin/twofactor-funcs-lib.pl#L206","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/webmin/webmin/issues/2941","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://doi.org/10.5281/zenodo.24396540","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/webmin-through-2.670-predictable-totp-secret-generation-via-generate-base32-secret","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Armin Šupuk"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-30T18:37:20.721Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-134636","url":"https://www.cve.org/CVERecord?id=CVE-2026-134636","licence":"CVE Terms of Use","modified":"2026-11-30T18:37:40.037Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-134636","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134636","licence":"Public domain","modified":"2026-11-30T19:17:46.177Z"}],"updatedAt":"2026-11-30T19:32:14.334Z","epss":{"score":0.00462,"percentile":0.41731,"date":"2026-12-01T12:00:22.000Z"}}