{"id":"CVE-2026-9692","summary":"Mojolicious::Sessions::Storable versions through 0.05 for Perl generate session ids insecurely","details":"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.","modified":"2026-07-15T01:48:57.801223268Z","published":"2026-06-18T17:53:03.461Z","database_specific":{"cna_assigner":"CPANSec","cwe_ids":["CWE-338","CWE-340"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9692.json"},"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"WEB","url":"https://metacpan.org/release/HAYAJO/Mojolicious-Plugin-SessionStore-0.05/source/lib/Mojolicious/Sessions/Storable.pm#L11-15"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9692.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9692"},{"type":"ADVISORY","url":"https://www.cve.org/CVERecord?id=CVE-2025-40923"},{"type":"FIX","url":"https://security.metacpan.org/patches/M/Mojolicious-Plugin-SessionStore/0.05/CVE-2026-9692-r1.patch"},{"type":"PACKAGE","url":"https://github.com/hayajo/Mojolicious-Plugin-SessionStore"},{"type":"ARTICLE","url":"https://security.metacpan.org/docs/guides/random-data-for-security.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hayajo/mojolicious-plugin-sessionstore","events":[{"introduced":"0"},{"last_affected":"c20c4aa819df4bbca483954f64c9ad0f013b730f"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"0.05"}]}}],"versions":["0.05","0.04","0.03","0.02","0.01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9692.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}