# CVE-2026-5080: libdancer-perl: Dancer::Session::Abstract versions through 1.3522 for Perl generates session ids insecurely

CVE-2026-5080 is fixed in libdancer-perl on 1 platform by DEBIAN-CVE-2026-5080 (version 1.3522-2), released May 27, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-5080
- Priority: Routine
- CVSS: 5.9 (medium)
- EPSS: 0.0036
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 30, 2026

## Description

Dancer::Session::Abstract versions through 1.3522 for Perl generates session ids insecurely.  The session id is generated from summing the character codepoints of the absolute pathname with the process id, the epoch time and calls to the built-in rand() function to return a number between 0 and 999-billion, and concatenating that result three times.  The path name might be known or guessed by an attacker, especially for applications known to be written using Dancer with standard installation locations.  The epoch time can be guessed by an attacker, and may be leaked in the HTTP header.  The process id comes from a small set of numbers, and workers may have sequential process ids.  The built-in rand() function is seeded with 32-bits and is considered unsuitable for security applications.  Predictable session ids could allow an attacker to gain access to systems.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libdancer-perl Debian 14 | 1.3522-2 | [DEBIAN-CVE-2026-5080](https://patchblox.com/security/data/fix/linux/debian-cve-2026-5080.md) | May 27, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
