Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.3CVE-2026-134636

CVE-2026-134636: Webmin through 2.670 Predictable TOTP Secret Generation via generate_base32_secret()

webmin webmin

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

ProductVersionsFixed in
webmin webmin<= 2.670—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-338

Relevant change history

  1. Published

    Preliminary advisory published.