Description
Mojolicious::Sessions::Storable versions through 0.05 for Perl generate session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, the heap address of an anonymous hash, and the PID. These are predictable or low-entropy sources that are unsuitable for security purposes.
Problem types
CWE-340 Generation of Predictable Numbers or Identifiers
CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator
Product status
Any version
References
security.metacpan.org/...onStore/0.05/CVE-2026-9692-r1.patch
metacpan.org/.../source/lib/Mojolicious/Sessions/Storable.pm
www.cve.org/CVERecord?id=CVE-2025-40923
security.metacpan.org/...uides/random-data-for-security.html