CVE-2026-19565: CWE-341 Predictable from Observable State
Description
Apache::AppSamurai::Util versions through 1.01 for Perl generate session authentication keys in a predictable manner using the system clock and process ID. This predictability allows an attacker who knows the session creation time and process ID to enumerate possible keys and potentially bypass authentication by recovering the victim's session cookie. The vulnerability has a low CVSS score and does not affect confidentiality, integrity, or availability beyond limited information disclosure.
CVSS v3.1
Score 3.7low
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Apache::AppSamurai::Util (<=1.01) involves the CreateSessionAuthKey function generating session authentication keys based on the current time with microsecond precision and the process ID. The key is produced by running five rounds of SHA-256 over fresh Time::HiRes readings and the process ID, resulting in a 64-character hex string used as a session cookie. Because the microsecond timestamp and process ID are drawn from small, predictable ranges, an attacker who knows the exact second of session creation and the process ID can enumerate candidate keys to recover the session cookie and bypass authentication. The server validates the cookie with a key unknown to the attacker, requiring trial attempts against the server to confirm guesses.
Potential Impact
An attacker with knowledge of the session creation time and process ID can enumerate possible session authentication keys and recover the victim's session cookie. This enables bypassing authentication to access protected resources. The impact is limited to confidentiality (session cookie exposure) and does not affect integrity or availability. The CVSS score is 3.7 (low), reflecting the difficulty of exploitation due to the need for precise timing and process ID knowledge and the requirement to test candidates against the server.
Mitigation Recommendations
No official patch or fix is currently documented. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider restricting access to trusted users and monitoring for suspicious authentication attempts. Avoid relying on predictable values such as process ID and timestamps for session key generation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-08-11T18:08:03.462Z
- State
- PUBLISHED
Threat ID: 6a8b4c02acd9273b494d6ec6
Added to database: 08/23/2026, 19:37:38 UTC
Last enriched: 09/10/2026, 23:18:48 UTC
Last updated: 10/07/2026, 06:48:15 UTC
Views: 91
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.