{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-13577","id":"CVE-2026-13577","title":"Dancer2 versions before 2.2.0 for Perl generate insecure session ids when required CSPRNG modules are unavailable","description":"Dancer2 versions before 2.2.0 for Perl generate insecure session ids when required CSPRNG modules are unavailable.\n\nDancer2::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.\n\nThe fallback session id is generated from a SHA-1 hash of a call to the built-in rand function, the absolu","descriptionLong":"Dancer2 versions before 2.2.0 for Perl generate insecure session ids when required CSPRNG modules are unavailable.\n\nDancer2::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.\n\nThe 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).\n\nThese are all low-entropy and easily guessed sources.\n\nThe built-in rand() function is seeded with 32-bits and considered unsuitable for security applications.\n\nPredictable session ids could allow an attacker to gain access to systems.","published":"2026-07-20T07:11:10.403Z","updated":"2026-10-28T02:30:52.942763282Z","reserved":"2026-06-28T20:59:07.978Z","status":"Deferred","rejected":false,"assigner":"CPANSec","metric":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Dancer2"],"affectedProducts":[{"vendor":"","product":"Dancer2","defaultStatus":"unaffected","versions":[{"lessThan":"2.2.0","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-340","CWE-338"],"aliases":[],"references":[{"url":"https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes","tags":["release-notes","advisory"]},{"url":"https://github.com/PerlDancer/Dancer2/issues/1807","tags":["issue-tracking","report"]},{"url":"https://github.com/PerlDancer/Dancer2/pull/1804","tags":["issue-tracking","report"]},{"url":"https://github.com/PerlDancer/Dancer2/blob/v2.1.0/lib/Dancer2/Core/Role/SessionFactory.pm#L142","tags":["web"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-5080","tags":["related","web"]},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13577.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13577","tags":["advisory"]},{"url":"https://github.com/PerlDancer/Dancer2","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0057,"epssPercentile":0.47947,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-13577","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13577","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-13577","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-13577","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}