{"id":"CVE-2026-9692","state":"PUBLISHED","title":"Mojolicious::Sessions::Storable versions through 0.05 for Perl generate session ids insecurely","description":"Mojolicious::Sessions::Storable versions through 0.05 for Perl generate session ids insecurely.\n\nThe 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.\n\nThese are predictable or low-entropy sources that are unsuitable for security purposes.","publishedAt":"2026-06-18T17:53:03.461Z","updatedAt":"2026-06-18T18:47:32.577Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["HAYAJO Mojolicious::Sessions::Storable"],"affected":[{"vendor":"HAYAJO","product":"Mojolicious::Sessions::Storable","packageName":"Mojolicious-Plugin-SessionStore","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.05","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programRoutines":[{"name":"Mojolicious::Sessions::Storable#sid_generator"}],"repo":"https://github.com/hayajo/Mojolicious-Plugin-SessionStore"}],"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"],"weaknesses":["CWE-340","CWE-338"],"ingestedAt":"2026-10-29T20:13:52.441Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/9xxx/CVE-2026-9692.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-9692","state":"PUBLISHED","datePublished":"2026-06-18T17:53:03.461Z","dateUpdated":"2026-06-18T18:47:32.577Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-05-27T10:52:01.931Z"},"containers":{"cna":{"title":"Mojolicious::Sessions::Storable versions through 0.05 for Perl generate session ids insecurely","descriptions":[{"lang":"en","value":"Mojolicious::Sessions::Storable versions through 0.05 for Perl generate session ids insecurely.\n\nThe 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.\n\nThese are predictable or low-entropy sources that are unsuitable for security purposes."}],"affected":[{"vendor":"HAYAJO","product":"Mojolicious::Sessions::Storable","packageName":"Mojolicious-Plugin-SessionStore","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.05","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programRoutines":[{"name":"Mojolicious::Sessions::Storable#sid_generator"}],"repo":"https://github.com/hayajo/Mojolicious-Plugin-SessionStore"}],"references":[{"url":"https://security.metacpan.org/patches/M/Mojolicious-Plugin-SessionStore/0.05/CVE-2026-9692-r1.patch","tags":["patch"]},{"url":"https://metacpan.org/release/HAYAJO/Mojolicious-Plugin-SessionStore-0.05/source/lib/Mojolicious/Sessions/Storable.pm#L11-15"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40923","tags":["vendor-advisory","related","vdb-entry"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["technical-description"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-340","description":"CWE-340 Generation of Predictable Numbers or Identifiers","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-338","description":"CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-06-18T17:53:03.461Z"},"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Apply the patch, which requires an upgrade to Mojolicious 9.46 or later."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-06-18T18:47:24.948872Z","id":"CVE-2026-9692","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-18T18:47:32.577Z"}}]}}}