Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.

Ado::Sessions Perl Module Generates Predictable Session IDs

CVE-2026-5083
Summary

Ado::Sessions versions up to 0.935 generate session IDs that can be guessed by attackers, allowing them to access systems. This is due to the use of a weak random number generator and predictable inputs. If you're using Ado::Sessions, you should consider replacing it with a different module or upgrading to a maintained version.

Original title
Ado::Sessions versions through 0.935 for Perl generates insecure session ids. The session id is generated from a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The...
Original description
Ado::Sessions versions through 0.935 for Perl generates insecure session ids.

The session id is generated from a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage.

Predicable session ids could allow an attacker to gain access to systems.

Note that Ado is no longer maintained, and has been removed from the CPAN index. It is still available on BackPAN.
Vulnerability type
CWE-338
CWE-340
Published: 8 Apr 2026 · Updated: 8 Apr 2026 · First seen: 8 Apr 2026