CVE-2026-9692
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| HAYAJO | Mojolicious::Sessions::Storable | 0 <= 0.05 | affected |
Weaknesses
- CWE-340: CWE-340 Generation of Predictable Numbers or Identifiers
- CWE-338: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator
Workarounds
Apply the patch, which requires an upgrade to Mojolicious 9.46 or later.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
References
- https://security.metacpan.org/patches/M/Mojolicious-Plugin-SessionStore/0.05/CVE-2026-9692-r1.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
- https://security.metacpan.org/docs/guides/random-data-for-security.html
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.