CVE-2026-19565: CWE-341 Predictable from Observable State
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 session keys and potentially bypass authentication by recovering the victim's session cookie.
AI Analysis
Technical Summary
The vulnerability in Apache::AppSamurai::Util (up to version 1.01) involves the CreateSessionAuthKey function generating session authentication keys based on a combination of high-resolution timestamps and the process id. The key generation uses five rounds of SHA-256 hashing over Time::HiRes readings and the process id, resulting in a 64-character hex key. Because the microsecond timing and process id are drawn from limited ranges, an attacker with knowledge of the exact second of session creation and the worker process id can enumerate candidate keys and attempt to recover the session cookie. This enables bypassing authentication for protected resources. The server validates cookies using a key unknown to the attacker, requiring trial against the server for each candidate key.
Potential Impact
An attacker who can determine the precise time a session was created and the process id of the worker process can enumerate possible session authentication keys and recover the victim's session cookie. This allows bypassing authentication controls and gaining unauthorized access to protected resources. The vulnerability compromises session confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider restricting access to session creation timing information and process id exposure to reduce the feasibility of key enumeration attacks.
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 session keys and potentially bypass authentication by recovering the victim's session cookie.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Apache::AppSamurai::Util (up to version 1.01) involves the CreateSessionAuthKey function generating session authentication keys based on a combination of high-resolution timestamps and the process id. The key generation uses five rounds of SHA-256 hashing over Time::HiRes readings and the process id, resulting in a 64-character hex key. Because the microsecond timing and process id are drawn from limited ranges, an attacker with knowledge of the exact second of session creation and the worker process id can enumerate candidate keys and attempt to recover the session cookie. This enables bypassing authentication for protected resources. The server validates cookies using a key unknown to the attacker, requiring trial against the server for each candidate key.
Potential Impact
An attacker who can determine the precise time a session was created and the process id of the worker process can enumerate possible session authentication keys and recover the victim's session cookie. This allows bypassing authentication controls and gaining unauthorized access to protected resources. The vulnerability compromises session confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider restricting access to session creation timing information and process id exposure to reduce the feasibility of key enumeration attacks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-08-11T18:08:03.462Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8b4c02acd9273b494d6ec6
Added to database: 08/23/2026, 19:37:38 UTC
Last enriched: 08/23/2026, 19:52:02 UTC
Last updated: 08/23/2026, 20:30:18 UTC
Views: 6
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.