Home / SRI / Mojolicious / CVE-2024-58134
CVE-2024-58134: is it exploited, and which versions of SRI Mojolicious are affected and fixed?
CVE-2024-58134 is a hard-coded cryptographic key vulnerability in SRI Mojolicious. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: Mojolicious 0.999922 and later (CVE record by CPANSec). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2024-58134?
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.
From the CVE record by CPANSec, last updated October 20, 2025, 20:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| SRI | Mojolicious | 0.999922 and later |
As the CVE record by CPANSec states it, last updated October 20, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mojolicious | mojolicious | from 0.999922 through 9.40 | application |
NVD analysis (status Modified), last modified June 17, 2026, 08:14 UTC.
How severe is CVE-2024-58134?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-58134 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 12, 2025)
- EPSS
- 0.57% probability of exploitation activity in the next 30 days, percentile 48.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Is there a workaround? (from the CVE record)
Ensure that your Mojolicious application uses a unique secret of at least 128 bit of cryptographically secure random data. For example, to generate a 256 bit secret, one could use the output generated by the "openssl rand -base64 32" command.
Where are the vendor advisories and references?
- https://github.com/mojolicious/mojo/pull/1791 issue-tracking
- https://github.com/mojolicious/mojo/pull/2200 issue-tracking
- https://www.synacktiv.com/publications/baking-mojolicious-cookies technical-description
- https://medium.com/securing/baking-mojolicious-cookies-revisited-a-case-study-of-solving-security-problems-through-security-by-13da7c225802 technical-description
- https://metacpan.org/release/SRI/Mojolicious-9.39/source/lib/Mojolicious.pm#L51 related
- https://github.com/hashcat/hashcat/pull/4090 exploit
- https://lists.debian.org/debian-perl/2025/05/msg00016.html mailing-list
- https://lists.debian.org/debian-perl/2025/05/msg00017.html mailing-list
- https://lists.debian.org/debian-perl/2025/05/msg00018.html mailing-list
- https://github.com/mojolicious/mojo/pull/2252 issue-tracking
- https://docs.mojolicious.org/Mojolicious/Guides/FAQ#What-does-Your-secret-passphrase-needs-to-be-changed-mean technical-description
Who found and reported it?
- Antoine Cervoise from Synacktiv (analyst)
- Jakub Kramarz (analyst)
- Lukas Atkinson (analyst)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 7, 2025
- Published
- May 3, 2025, 16:08 UTC
- CVE record updated
- October 20, 2025, 20:09 UTC by CPANSec
- NVD
- Modified, last modified June 17, 2026, 08:14 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mojolicious?
- Jul 14, 2026CVE-2026-15747 SRI Mojolicious: observable Response Discrepancy
- May 3, 2025CVE-2024-58135 SRI Mojolicious: weak random number generator
Questions about CVE-2024-58134
Is CVE-2024-58134 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.57% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of SRI Mojolicious are affected by CVE-2024-58134?
Mojolicious 0.999922 and later, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2024-58134?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-58134?
High (8.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-58134?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.