CVE-2026-13577
Last modified
CVE-2026-13577 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. Dancer2 versions through 2.1.0 for Perl generate insecure session ids when required CSPRNG modules are unavailable. Dancer2::Core::Role::SessionFactory::generate_id silently falls back to a built-in rand-derived session id unless both Math::Random::ISAAC::XS and Crypt::URandom are available. 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). These are all low-entropy and easily guessed sources. The built-in rand() function is seeded with 32-bits and considered unsuitable for security applications. Predictable session ids could allow an attacker to gain access to systems.. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
Dancer2 versions through 2.1.0 for Perl generate insecure session ids when required CSPRNG modules are unavailable. Dancer2::Core::Role::SessionFactory::generate_id silently falls back to a built-in rand-derived session id unless both Math::Random::ISAAC::XS and Crypt::URandom are available. 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). These are all low-entropy and easily guessed sources. The built-in rand() function is seeded with 32-bits and considered unsuitable for security applications. Predictable session ids could allow an attacker to gain access to systems.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| CROMEDOME | Dancer2 | <= 2.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-13577?
How severe is CVE-2026-13577?
How do I fix CVE-2026-13577?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-1357The Migration, Backup, Staging – WPvivid Backup & Migration …9.8
- CVE-2026-13570A vulnerability was detected in SourceCodester Inventory Man…3.5
- CVE-2026-13571A flaw has been found in SourceCodester Simple Food Ordering…5.5
- CVE-2026-13572A vulnerability has been found in itsourcecode Hospital Mana…6.3
- CVE-2026-13573A vulnerability was found in llvm llvm-project up to 22.1.6.…3.3
- CVE-2026-13574A vulnerability was determined in llvm llvm-project up to 22…3.3
- CVE-2026-13578A security flaw has been discovered in itsourcecode Hospital…6.3
- CVE-2026-13579A weakness has been identified in itsourcecode Hospital Mana…6.3
- CVE-2026-1358Airleader Master versions 6.381 and prior allow for file upl…9.8
- CVE-2026-13580A security vulnerability has been detected in Edimax EW-7478…8.8
- CVE-2026-13581A vulnerability was detected in Edimax EW-7478APC 1.04. This…6.3
- CVE-2026-13582A flaw has been found in Edimax EW-7478APC 1.04. This issue …8.8
Are you affected by CVE-2026-13577?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
