CVE-2024-58134

published 3 May 2025 · updated 20 Oct 2025

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default

9.1CriticalCVSS 8.1EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default. These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
SRI=0.999922

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58134 severity on Zeptric[![CVE-2024-58134](https://zeptric.io/badge/cve/CVE-2024-58134.svg)](https://zeptric.io/cve/CVE-2024-58134)