Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134636: medium-severity vulnerability (CVSS 6.3) in webmin webmin.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.3.
Affected products and versions
webmin webmin <= 2.670
| Product | Versions | Fixed in |
|---|---|---|
| webmin webmin | <= 2.670 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/webmin/webmin — CVE Program
- https://github.com/webmin/webmin/blob/2.670/webmin/twofactor-funcs-lib.pl#L206 — CVE Program
- https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736 — CVE Program
- https://github.com/webmin/webmin/issues/2941 — CVE Program
- https://doi.org/10.5281/zenodo.24396540 — CVE Program
- https://www.vulncheck.com/advisories/webmin-through-2.670-predictable-totp-secret-generation-via-generate-base32-secret — CVE Program
Weaknesses (CWE): CWE-338
Relevant change history
Published
Preliminary advisory published.