Skip to content

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

HighCVSS 7.5 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
cpan CallBackery < 0.62.0 0.62.0 Fixed

Affected products

ProductAffected versionsFixed in
cpan CallBackery < 0.62.0 0.62.0

References