PT-2026-29290 · Jjnapiork+1 · Pagi::Middleware::Session::Store::Cookie+1

·

CVE-2026-5087

·

Published

2026-03-31

·

Updated

2026-07-24

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions PAGI::Middleware::Session::Store::Cookie versions prior to 0.001003
Description The software generates random bytes insecurely when it cannot read from the /dev/urandom device, which occurs on systems like Windows. In such cases, it uses the built-in rand function to generate an initialisation vector (IV)—a random block of data used to start the encryption process—which is unsuitable for cryptographic purposes. A predictable IV may allow malicious users to decrypt and tamper with session data stored in the cookie.
Recommendations Update PAGI::Middleware::Session::Store::Cookie to a version newer than 0.001003.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-5087

Affected Products

Pagi::Middleware::Session::Store::Cookie
Pagi