CVE-2026-9692 Details
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.
A vulnerability exists in Mojolicious::Sessions::Storable versions through 0.05 for Perl, where session IDs are generated insecurely. The default generator creates a SHA-1 hash using low-entropy and predictable sources, including the built-in rand function, epoch time, the heap address of an anonymous hash, and the process ID. These factors can lead to predictable session IDs, potentially allowing unauthorized access to systems.
Users can update to Mojolicious::Sessions::Storable version 0.06 or later, where this vulnerability has been addressed. Instructions for updating can be found on the module's MetaCPAN page.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 18, 2026CISA-ADP
Assessed Jun 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/HAYAJO/Mojolicious-Plugin-SessionStore-0.05/source/lib/Mojolicious/Sessions/Storable.pm#L11-15 | CPANSec | Source CodeVendor |
| https://security.metacpan.org/docs/guides/random-data-for-security.html | CPANSec | |
| https://security.metacpan.org/patches/M/Mojolicious-Plugin-SessionStore/0.05/CVE-2026-9692-r1.patch | CPANSec | Broken LinkVendor |
| https://www.cve.org/CVERecord?id=CVE-2025-40923 | CPANSec | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | CPANSec |
| CWE-340 | Generation of Predictable Numbers or Identifiers | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Mojolicious::Sessions::Storable | <= 0.05 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 18, 2026 | CVE Modified | CISA-ADP |
| Jun 18, 2026 | New CVE Received | CPANSec |
Volerion