Skip to main content
VulnerabilityPublished Updated

CVE-2026-13577: Libdancer2 perl · Dancer2 versions before 2.2.0 for Perl generate insecure session ids when required

Affects libdancer2-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-13577· High 8.2

Not known to be exploited · CVSS 8.2 High.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libdancer2-perlpkg:deb/ubuntu/libdancer2-perl?arch=source&distro=stonkingOther threatsAffected
  • =1.1.2+dfsg-1
  • =2.1.0-1
Fixed in–
Ubuntu 26.04 LTSlibdancer2-perlpkg:deb/ubuntu/libdancer2-perl?arch=source&distro=resoluteOther threatsAffected
  • =1.1.2+dfsg-1
Fixed in–
Ubuntu 24.04 LTSlibdancer2-perlpkg:deb/ubuntu/libdancer2-perl?arch=source&distro=nobleOther threatsAffected
  • =0.400001+dfsg-1
  • =1.0.0+dfsg-1
  • =1.1.0+dfsg-1
Fixed in–
Ubuntu 22.04 LTSlibdancer2-perlpkg:deb/ubuntu/libdancer2-perl?arch=source&distro=jammyOther threatsAffected
  • =0.300005+dfsg-1
  • =0.301004+dfsg-1
Fixed in–
Ubuntu 20.04 LTSlibdancer2-perlpkg:deb/ubuntu/libdancer2-perl?arch=source&distro=focalOther threatsAffected
  • =0.208001+dfsg-1
  • =0.208002+dfsg-1
  • =0.300000+dfsg-1
Fixed in–
Ubuntu 18.04 LTSlibdancer2-perlpkg:deb/ubuntu/libdancer2-perl?arch=source&distro=bionicOther threatsAffected
  • =0.205000+dfsg-1
  • =0.205002+dfsg-1
  • =0.205002+dfsg-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Dancer2 versions before 2.2.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.

References

Community reviews

Loading reviews…