Znapzend: Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via
Affects znapzendSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 9.46 : update znapzend when convenient.
Data as of 31 Oct 2026, 16:22 UTC
- Patch
- Available – fixed in 9.46
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewznapzendpkg:brew/znapzendOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Mojolicious to version 9.46 or later, which fixes the weak randomness issue by using high-quality random generation. Additionally, manually replace any session secrets generated by versions 7.28 through 9.45 to ensure the application uses strong secrets. No other mitigation is indicated.
Description
Mojolicious versions 7.28 through 9.45 for Perl generate weak HMAC session cookie secrets by default when using the "mojo generate app" tool. This occurs because the tool uses the insecure rand() function to create the secret, which is used for session authentication and integrity. The weakness may allow attackers to brute force session keys. Version 9.46 fixes this by using high-quality randomness. Users must manually replace any previously generated weak secrets to ensure security.
References
- cpan.org/modules (opens in a new tab)
- metacpan.org/release/SRI/Mojolicious-7.28/source/lib/Mojolicious/Command/generate/app.pm (opens in a new tab)
- metacpan.org/release/SRI/Mojolicious-9.38/source/lib/Mojolicious/Command/Author/generate/app.pm (opens in a new tab)
- metacpan.org/release/SRI/Mojolicious-9.39/source/lib/Mojo/Util.pm (opens in a new tab)
- perldoc.perl.org/functions/rand (opens in a new tab)
- github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58135.json (opens in a new tab)
- metacpan.org/release/SRI/Mojolicious-9.46/source/Changes (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-58135 (opens in a new tab)
- github.com/mojolicious/mojo/pull/2200 (opens in a new tab)
- github.com/mojolicious/mojo/commit/789cfa43f9118852b38cbd1fd0a2596bcb9821ea.patch (opens in a new tab)
- github.com/mojolicious/mojo/commit/fb3733f92cc8a3344e6d615b3c7dac9d538eeab0.patch (opens in a new tab)
- github.com/mojolicious/mojo (opens in a new tab)
- lists.debian.org/debian-perl/2025/05/msg00016.html (opens in a new tab)
- lists.debian.org/debian-perl/2025/05/msg00017.html (opens in a new tab)
- lists.debian.org/debian-perl/2025/05/msg00018.html (opens in a new tab)
- security.metacpan.org/docs/guides/random-data-for-security.html (opens in a new tab)
- github.com/hashcat/hashcat/pull/4090 (opens in a new tab)