Security Advisories (1)
CVE-2026-5083 (2026-04-08)

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.

NAME

Ado::Command::generate - Generator command

SYNOPSIS

Usage: APPLICATION generate GENERATOR [OPTIONS]

DESCRIPTION

Ado::Command::generate lists available generators.

This is a core command, that means it is always enabled and its code a good example for learning to build new commands, you're welcome to fork it.

See "COMMANDS" in Mojolicious::Commands for a list of commands that are available by default.

ATTRIBUTES

Ado::Command::generate inherits all attributes from Mojolicious::Command::generate and implements the following new ones.

args

Used for storing arguments from the commandline and then passing them to the template

my $args = $self->args;

namespaces

my $namespaces = $generator->namespaces;
$generator     = $generator->namespaces(['MyApp::Command::generate']);

Namespaces to search for available generator commands, defaults to ['Mojolicious::Command::generate','Ado::Command::generate'].

METHODS

Ado::Command::generate inherits all methods from Mojolicious::Command::generate.

SEE ALSO

Mojolicious, Mojolicious::Guides, http://mojolicio.us.