CVE-2026-5080
Last modified
CVE-2026-5080 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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 estimates a 0.37% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Perldancer | Dancer\ | <= 1.3522 | Session\ |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-5080?
How severe is CVE-2026-5080?
How do I fix CVE-2026-5080?
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-50766A stored cross-site scripting (XSS) vulnerability in the OPA…5.4
- CVE-2026-50767A stored cross-site scripting (XSS) vulnerability in the ite…5.4
- CVE-2026-5077The Total theme for WordPress is vulnerable to Stored Cross-…5.4
- CVE-2026-5078Impact: The morgan logging middleware's :remote-user token e…5.3
- CVE-2026-50782Jinher OA C6 contains an XML External Entity (XXE) injection…7.5
- CVE-2026-5079Impact: multer versions 1.0.0 through 2.1.1 and 3.0.0-alpha.…7.5
- CVE-2026-5081Apache::Session::Generate::ModUniqueId versions from 1.54 th…9.1
- CVE-2026-50810A NULL pointer dereference in smooth_parse_stream_index() in…5.5
- CVE-2026-50811An out-of-bounds read vulnerability exists in FreeType 2.14.…6.5
- CVE-2026-50812A NULL pointer dereference in the SQLite Session Extension i…5.5
- CVE-2026-50813An issue in SQLite before Fossil check-in 869a51ae84df allow…6.1
- CVE-2026-5082Amon2::Plugin::Web::CSRFDefender versions from 7.00 through …5.3
Are you affected by CVE-2026-5080?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
