Skip to content
OpenAdvisories
High · 7.5 CVE-2026-118986 EUVD-2026-113922GHSA-fr5m-676f-94fg

CallBackery versions before 0.62.0 for Perl allow session cookie forgery via a signing secret generated with rand()

Published Oct 30, 2026 · Updated Nov 6, 2026 · Assigned by CPANSec

Description

CallBackery versions before 0.62.0 for Perl allow session cookie forgery via a signing secret generated with rand().

The secret that signs session cookies is built from two calls to the built-in rand(), which is seeded with 32 bits. The secret therefore has at most 2**32 possible values, and one signed cookie is enough to test each candidate offline.

An attacker who obtains a single session cookie can recover the secret and sign cookies for any user, including an administrator.

Affected products

VendorProductAffectedFixed
— CallBackery < 0.62.0 0.62.0

References