CVE-2026-134446: Webmin through 2.670 Predictable Password Generation in Users and Groups Module
Webmin through 2.670 contains a weak random password generation vulnerability in generaterandompassword() that allows attackers to predict generated account passwords because seedrandom() effectively seeds Perl rand() with only time XOR process ID. When the non-default randompassword option is enabled and administrators keep the pre-filled password in edituser.cgi, attackers can enumerate time and PID seeds to recover passwords and authenticate as new accounts.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to password prediction?
Exposure requires the non-default random_password option to be enabled in the Users and Groups module and administrators to retain the pre-filled generated password in edit_user.cgi when creating accounts. Deployments not using that option, or where administrators replace the generated password, are not described as affected by this attack path.
What does an attacker need to exploit this issue?
An attacker needs to enumerate the time and process-ID values used to seed Perl rand() and recover a generated password for a newly created account. The described attack does not require prior privileges or user interaction.
What can be done if updating is not immediately possible?
Disable the non-default random_password option or ensure administrators replace the pre-filled generated password with a password chosen independently of the weak generator. This prevents reliance on the predictable generated value described in the issue.
How can administrators assess whether generated account passwords may be at risk?
Review whether random_password is enabled in the Users and Groups module and whether account-creation workflows retain the password pre-filled by edit_user.cgi. Accounts created under both conditions may have passwords susceptible to seed enumeration.