{
  "id": "CVE-2026-13577",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-13577",
  "published_at": "2026-07-20T07:11:10.403Z",
  "title": "Dancer2 versions before 2.2.0 for Perl generate insecure session ids when required CSPRNG modules are unavailable",
  "cvss": {
    "score": 8.2,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 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.",
  "cwe": "CWE-340",
  "cvss_by_source": {
    "cisa-adp": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003c 2.2.0"
        ],
        "fixed_in": [
          "2.2.0"
        ]
      }
    ],
    "solutions": [
      "Upgrade to Davcer2 2.2.0 or later."
    ],
    "upgrade": [
      "Upgrade the affected product to 2.2.0 or later."
    ],
    "workarounds": [
      "For deployments that cannot upgrade, ensure Crypt::URandom and Math::Random::ISAAC::XS modules are installed in the application PERL5LIB path."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/PerlDancer/Dancer2/pull/1804"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
