{"id":82282,"date":"2026-07-20T11:46:28","date_gmt":"2026-07-20T08:16:28","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-13577-dancer2-versions-through-2-1-0-for-perl-generate-insecure-session-ids-when-csprng-modules-are-unavailable\/"},"modified":"2026-07-20T11:46:28","modified_gmt":"2026-07-20T08:16:28","slug":"cve-2026-13577-dancer2-versions-through-2-1-0-for-perl-generate-insecure-session-ids-when-csprng-modules-are-unavailable","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-13577-dancer2-versions-through-2-1-0-for-perl-generate-insecure-session-ids-when-csprng-modules-are-unavailable\/","title":{"rendered":"CVE-2026-13577 &#8211; Dancer2 versions through 2.1.0 for Perl generate insecure session ids when CSPRNG modules are unavailable"},"content":{"rendered":"<p>CVE ID :CVE-2026-13577<\/p>\n<p>  Published : July 20, 2026, 8:16 a.m. | 1\u00a0hour, 26\u00a0minutes ago<\/p>\n<p>  Description :Dancer2 versions through 2.1.0 for Perl generate insecure session ids when CSPRNG modules are unavailable.<\/p>\n<p>Dancer2::Core::Role::SessionFactory::generate_id silently falls back to a built-in rand-derived session id when both Math::Random::ISAAC::XS and Crypt::URandom are unavailable.<\/p>\n<p>The fallback session id is generated from a SHA-1 hash of a call to the built-in rand function, the absolute path of the Dancer2::Core::Role::SessionFactory module, an internal counter, the process id, the module instance memory address, and a shuffled string of characters (using the List::Util::shuffle function, which also uses the built-in rand function).<\/p>\n<p>These are all low-entropy and easily guessed sources.<\/p>\n<p>The built-in rand() function is seeded with 32-bits and considered unsuitable for security applications.<\/p>\n<p>Predictable session ids could allow an attacker to gain access to systems.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-13577 Published : July 20, 2026, 8:16 a.m. | 1\u00a0hour, 26\u00a0minutes ago Description :Dancer2 versions through 2.1.0 for Perl generate insecure session ids when CSPRNG modules are unavailable. Dancer2::Core::Role::SessionFactory::generate_id silently falls back to a built-in rand-derived session id when both Math::Random::ISAAC::XS and Crypt::URandom are unavailable. The fallback session id is generated from a &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82282","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82282"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82282\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}