Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 62%

CVE-2026-13577: CWE-340 Generation of Predictable Numbers or Identifiers in CROMEDOME Dancer2

0
High
VulnerabilityCVE-2026-13577cvecve-2026-13577cwe-340cwe-338
Published: 07/20/2026 (07/20/2026, 07:11:10 UTC)
Source: CVE Database V5
Vendor/Project: CROMEDOME
Product: Dancer2

Description

Dancer2 versions up to 2.1.0 for Perl generate insecure, predictable session IDs when required cryptographically secure random number generator (CSPRNG) modules are unavailable. The fallback mechanism uses low-entropy sources including the built-in rand() function, which is seeded with only 32 bits and is unsuitable for security purposes. This vulnerability could allow attackers to predict session IDs and potentially gain unauthorized access.

CVSS v3.1

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Affected software

GitHub Actionsmore threats →cve
Dancer2
pkg:github/Dancer2
Affected versions
<=2.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 13:25:16 UTC

Technical Analysis

CVE-2026-13577 affects Dancer2 versions up to 2.1.0. When the required CSPRNG modules Math::Random::ISAAC::XS and Crypt::URandom are not available, the Dancer2::Core::Role::SessionFactory::generate_id function silently falls back to generating session IDs using a SHA-1 hash of low-entropy inputs such as the built-in rand() output, module path, process ID, internal counters, and a shuffled character string. The built-in rand() function is seeded with only 32 bits and is not suitable for cryptographic use, resulting in predictable session identifiers. This weakness in session ID generation can lead to session prediction attacks.

Potential Impact

The vulnerability allows attackers to predict session IDs due to the use of weak entropy sources in the fallback session ID generation. This can lead to unauthorized access to user sessions, compromising confidentiality and availability of affected systems. The CVSS 3.1 base score is 8.2 (high), reflecting network attack vector, low attack complexity, no privileges or user interaction required, with limited confidentiality impact but high availability impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, ensure that the required CSPRNG modules Math::Random::ISAAC::XS and Crypt::URandom are installed and available to Dancer2 to avoid fallback to insecure session ID generation. Avoid running affected versions without these modules.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-06-28T20:59:07.978Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5dd8612a4a8d5989a80609

Added to database: 07/20/2026, 08:12:17 UTC

Last enriched: 07/30/2026, 13:25:16 UTC

Last updated: 09/03/2026, 22:52:09 UTC

Views: 148

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses