A high-severity vulnerability, CVE-2026-13577, was disclosed in Dancer2 for Perl that can cause applications to generate predictable session IDs when cryptographically secure random number generator modules are unavailable. The issue affects Dancer2 versions through 2.1.0 and stems from Dancer2::Core::Role::SessionFactory::generate_id silently falling back to a session identifier derived from Perl’s built-in rand() and other low-entropy values instead of a secure source of randomness.
Because Perl’s rand() is not suitable for security-sensitive use and may be seeded with only 32 bits, attackers could guess valid session identifiers and gain unauthorized access to user sessions. The flaw is rated CVSS 8.2 and mapped to CWE-338 and CWE-340. Maintainers recommend upgrading to Dancer2 2.1.1 or later and ensuring Math::Random::ISAAC::XS or Crypt::URandom is installed and available in the application’s PERL5LIB path to prevent the insecure fallback.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
1 event from the most recent confirmed update back to the earliest known activity.
A security notice disclosed CVE-2026-13577 affecting Dancer2 for Perl versions through 2.1.0. The flaw allows predictable session IDs when CSPRNG modules are unavailable, causing a fallback to low-entropy rand()-derived values that could enable unauthorized access.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
3 references tracked. Mallory keeps watching after this page renders.
cvefeed.io
Open sourceseclists.org
Open sourcegithub.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.