CVE-2026-5080
published medium CVSS 3.1 · 5.9Dancer::Session::Abstract versions through 1.3522 for Perl generates session ids insecurely
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| BIGPRESH | — | DancerDancer::Session::Abstract · 0 through 1.3522 · Other versions: unaffected | Affected | Not stated | CPANSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| BIGPRESH | Dancer::Session::Abstract | 0 through 1.3522 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-340 CWE-340 Generation of Predictable Numbers or Identifiers
- CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator
References
3Provider assertions
3CPANSec · cna
Dancer::Session::Abstract versions through 1.3522 for Perl generates session ids insecurely
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 71a7a190ed137373b4d0122bc8904051293e659c7abedc048d977699d41d7064
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record