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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HAYAJO | Mojolicious::Sessions::Storable | ≤ 0.05 | — |
References
- https://security.metacpan.org/patches/M/Mojolicious-Plugin-SessionStore/0.05/CVE-2026-9692-r1.patch patch
- https://metacpan.org/release/HAYAJO/Mojolicious-Plugin-SessionStore-0.05/source/lib/Mojolicious/Sessions/Storable.pm#L11-15
- https://www.cve.org/CVERecord?id=CVE-2025-40923 vendor-advisory related vdb-entry
- https://security.metacpan.org/docs/guides/random-data-for-security.html technical-description