Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the…
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-321.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| SRI | Mojolicious | 0.999922 and later | — | No fix listed | CNA |
- Mojolicious VendorSRI Affected 0.999922 and later Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mojolicious:mojolicious:*:*:*:*:*:perl:*:* | 0.999922 – 9.40 | Vulnerable | Mojolicious |
- cpe:2.3:a:mojolicious:mojolicious:*:*:*:*:*:perl:*:* Versions 0.999922 – 9.40 Vulnerable ·Mojolicious
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-58134
- 2026-10-03 Alias added: GHSA-3g23-7g3r-898j
References
Exploit 2
Other 6
- https://metacpan.org/release/SRI/Mojolicious-9.39/source/lib/Mojolicious.pm#L51
- https://lists.debian.org/debian-perl/2025/05/msg00016.html
- https://lists.debian.org/debian-perl/2025/05/msg00017.html
- https://lists.debian.org/debian-perl/2025/05/msg00018.html
- https://github.com/mojolicious/mojo/pull/2252
- https://docs.mojolicious.org/Mojolicious/Guides/FAQ#What-does-Your-secret-passphrase-needs-to-be-changed-mean
More SRI vulnerabilities
- TI-2026-13247 Cross-site request forgery in SRI Mojolicious CVSS 3.1CRITICAL 9.1
- TI-2026-12479 Uncontrolled recursion in SRI Mojo::JSON CVSS 3.1MEDIUM 6.5
Sources
- CVE-2024-58134 · CVE Program
- CVE-2024-58134 · NVD
- FIRST EPSS
- GHSA-3g23-7g3r-898j · GitHub Advisory Database · CC BY 4.0
- CVE-2024-58134 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences