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.
History

Fri, 06 Nov 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Fri, 30 Oct 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Perl
Perl callbackery
Vendors & Products Perl
Perl callbackery

Fri, 30 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Title CallBackery versions before 0.62.0 for Perl allow session cookie forgery via a signing secret generated with rand()
Weaknesses CWE-338
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2026-10-30T13:13:32.845Z

Updated: 2026-11-06T16:46:47.131Z

Reserved: 2026-10-29T10:48:23.002Z

Link: CVE-2026-118986

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-30T14:16:41.543

Modified: 2026-11-06T17:17:16.760

Link: CVE-2026-118986

cve-icon Redhat

No data.