Vulnerability in Bigpresh Dancer::session::abstract
CVE-2026-5080
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.
EPSS: 0.004 (29.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Bigpresh Dancer::session::abstract — versions 0
- Perldancer Dancer\ — versions \
- Perldancer Dancer\:\:session\:\:abstract
Weakness classification (CWE)
References
- 9b29abf9-4ab0-4765-b253-1875cd9b441e (Patch, patch)
- 9b29abf9-4ab0-4765-b253-1875cd9b441e (Product)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2026-5080?
- CVE-2026-5080 is a medium-severity vulnerability in Bigpresh Dancer::session::abstract, classified under Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG). CVSS score: 5.9/10. Published 2026-04-30.
- How severe is CVE-2026-5080?
- Medium severity. CVSS v3 base score is 5.9 out of 10.