CVE-2026-9692 PUBLISHED

Mojolicious::Sessions::Storable versions through 0.05 for Perl generate session ids insecurely

Assigner: CPANSec
Reserved: 27.05.2026 Published: 18.06.2026 Updated: 18.06.2026

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.

Product Status

Vendor HAYAJO
Product Mojolicious::Sessions::Storable
Versions Default: unaffected
  • affected from 0 to 0.05 (incl.)

Workarounds

Apply the patch, which requires an upgrade to Mojolicious 9.46 or later.

References

Problem Types

  • CWE-340 Generation of Predictable Numbers or Identifiers CWE
  • CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator CWE