CVE-2026-134636
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| webmin | webmin | {"endIncluding":"2.670"} | |
References
- https://doi.org/10.5281/zenodo.24396540
- https://github.com/webmin/webmin
- https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736
- https://github.com/webmin/webmin/blob/2.670/webmin/twofactor-funcs-lib.pl#L206
- https://github.com/webmin/webmin/issues/2941
- https://www.vulncheck.com/advisories/webmin-through-2.670-predictable-totp-secret-generation-via-generate-base32-secret
CWEs
CWE-338
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.