Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessProfile target request timing and PID range
-
DeliveryCollect sample session IDs from low-privilege account
-
ExploitCompute candidate SHA-1 values offline using epoch/PID/heap permutations
-
ExecutionSubmit candidate tokens to session validation endpoint
-
PersistMatch valid token to active privileged session
-
ImpactAccess authenticated application as victim user
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires that the target Mojolicious application uses Mojolicious::Sessions::Storable as its session backend and has not overridden the default session ID generator - the insecure behavior is in the default, so any application relying on out-of-the-box configuration is affected. The attacker must be able to send HTTP requests to the application to test candidate session IDs (i.e., network reachability). Exploitation is limited by the attacker's ability to estimate epoch time (within a plausible window), PID range, and heap address entropy for the target process; requests processed at low-traffic times with predictable server startup sequences narrow the search space most severely. Authentication is not required by the attacker (CVSS PR:N). No special platform constraint is documented, but ASLR on modern Linux systems marginally increases heap address entropy, slightly hardening exploitation compared to older or ASLR-disabled environments. |
| Impact | The vendor CVSS assigns AV:N/AC:L, implying trivial network exploitation, but this overstates ease of attack: predicting SHA-1 output from partially observable inputs (epoch, PID, heap address) requires offline computation and timing correlation, making AC:H more accurate. The EPSS score of 0.27% at the 19th percentile confirms low observed exploitation interest, consistent with SSVC's 'exploitation: none' designation. CISA KEV absence and no known public PoC further reduce urgency. The real-world risk is constrained to applications that (a) rely on Mojolicious::Sessions::Storable as their session backend, (b) use the default (insecure) session ID generator without overriding it, and (c) handle sensitive authenticated sessions. Technical impact is partial per SSVC - session hijacking is realistic but does not automatically escalate to full system compromise. The automatable SSVC flag is notable: once an attacker profiles a target's timing and PID range, the attack can be scripted. For applications handling sensitive personal data or financial sessions this warrants prompt patching despite the low EPSS. |
| Exploit ScenarioDerived | An attacker targeting a Mojolicious application using the default session store samples several valid session IDs by logging in with a test account and recording the SHA-1 outputs alongside precise request timestamps. Using the observed epoch time window (within seconds of the request), the known PID range of typical web server processes (1-65535), and a brute-force loop over plausible heap address offsets, the attacker generates candidate SHA-1 values offline and tests them against the target application's session validation endpoint to hijack an active authenticated user session. No public proof-of-concept code has been identified at time of analysis, but the attack is mechanically straightforward for anyone familiar with Perl internals. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Predictable session ID generation in Mojolicious::Sessions::Storable through version 0.05 for Perl exposes applications to session hijacking. The default session ID generator computes a SHA-1 hash seeded exclusively with low-entropy, attacker-observable sources - Perl's built-in rand function, Unix epoch time, a heap address, and the process ID - none of which meet cryptographic unpredictability requirements for session tokens. No public exploit or active exploitation has been identified (EPSS 0.27%, 19th percentile; not in CISA KEV), but the flaw is automatable per CISA SSVC, meaning a scripted attacker can systematically enumerate candidate session IDs without complex per-target tuning.
RemediationAI
A vendor-supplied patch is available from CPANSec at https://security.metacpan.org/patches/M/Mojolicious-Plugin-SessionStore/0.05/CVE-2026-9692-r1.patch; this is a patch file against version 0.05, and a fully released post-0.05 package version on CPAN has not been independently confirmed from the available data - check metacpan.org/dist/Mojolicious-Plugin-SessionStore for the latest published release before applying the raw patch. As an immediate compensating control, override the default session ID generator with a cryptographically secure alternative: replace the SHA-1/rand-based generator with one sourced from Perl's Crypt::URandom or equivalent OS-level CSPRNG (/dev/urandom). Disabling session persistence entirely is an extreme but effective fallback if the module cannot be patched and an alternative session backend (e.g., Mojolicious::Plugin::Session with a secure generator) can be substituted. Invalidating all current sessions after patching is advisable, as previously issued IDs were generated insecurely. The CPANSec guidance at https://security.metacpan.org/docs/guides/random-data-for-security.html provides Perl-specific remediation patterns.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is Mojolicious::Sessions::Storable (CPE: cpe:2.3:a:hayajo:mojolicious::sessions::storable:*:*:*:*:*:*:*:*), a CPAN plugin for the Mojolicious Perl web framework that serializes and stores session data. The root cause is CWE-340 (Generation of Predictable Numbers or Identifiers): SHA-1 is used as a hash function, not a CSPRNG, and its output is only as random as its inputs. Perl's rand() is a deterministic PRNG seeded from the system clock; epoch time and PID are both low-cardinality values guessable within narrow windows; and heap addresses, while partially randomized by ASLR, provide far less entropy than a true random source. An attacker who can observe or approximate request timing can dramatically reduce the search space for valid session tokens. The CPANSec advisory cross-references their own guidance on secure random data for Perl at security.metacpan.org, and a companion CVE (CVE-2025-40923) appears related, suggesting a broader pattern in this library family.
Know when Mojolicious gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
Sources disagree (Medium–Critical)AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Predicting SHA-1 from epoch, PID, and heap address requires offline computation and timing correlation, raising AC to H; session forgery enables both read and limited write of session state.
vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.
CVSS VectorVendor: CPANSec
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Mojolicious
View allMojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC sessio
Mojolicious versions from 7.28 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by defaul
CSRF session hijacking in Mojolicious::Plugin::Web::Auth::OAuth2 through version 0.17 for Perl stems from a predictable
CSRF token disclosure in the Perl Mojolicious web framework (versions 4.59 up to but not including 9.48) allows a networ
EUVD-2026-37926
GHSA-3m67-fq74-f4qg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB