Predictable Secret Generation Vulnerability in Authen::TOTP by Tchatzi
CVE-2026-46473
7.5HIGH
What is CVE-2026-46473?
Earlier versions of the Authen::TOTP Perl library, specifically prior to 0.1.1, have a significant vulnerability due to the use of Perl's built-in rand function for secret generation. This method of generating secrets is predictable, making it highly unsuitable for secure cryptographic purposes. By exploiting this flaw, attackers could potentially derive the generated secrets, undermining the security of applications that rely on this library for time-based one-time passwords (TOTP). It is recommended that users upgrade to version 0.1.1 or later to mitigate this risk.
Affected Version(s)
Authen::TOTP 0 < 0.1.1
