Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-56016: CWE-340 Generation of Predictable Numbers or Identifiers in MARKSTOS CGI::Session::ID::md5

0
High
VulnerabilityCVE-2026-56016cvecve-2026-56016cwe-340cwe-338
Published: 07/01/2026 (07/01/2026, 06:46:23 UTC)
Source: CVE Database V5
Vendor/Project: MARKSTOS
Product: CGI::Session::ID::md5

Description

CGI::Session::ID::md5 versions before 4.49 for Perl generate session IDs using predictable, low-entropy sources including process ID, epoch time, and Perl's rand() function. This weak randomness allows attackers to predict session IDs, potentially enabling session impersonation and authentication bypass.

Affected software

GitHub Actionsmore threats →cve
CGI-Session
pkg:github/CGI-Session
Affected versions
<4.49

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 08:21:56 UTC

Technical Analysis

The vulnerability in CGI::Session::ID::md5 prior to version 4.49 arises from its generate_id method, which creates session identifiers by hashing a combination of the process ID, epoch time, and Perl's built-in rand() function using MD5. Each of these inputs is predictable or has low entropy: the process ID is from a small range, the epoch time can be guessed or obtained from HTTP headers, and Perl's rand() is predictable and reversible. This predictability allows an attacker to guess valid session IDs, leading to possible session hijacking and unauthorized access.

Potential Impact

An attacker who can predict session IDs may impersonate legitimate users by hijacking their sessions, thereby bypassing authentication controls. This compromises the confidentiality and integrity of user sessions managed by the affected CGI::Session::ID::md5 versions.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade to version 4.49 or later once available or apply any official fixes provided by the vendor. Until then, consider using alternative session ID generators with cryptographically secure randomness.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-06-18T11:27:09.117Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a44ca9927e9c797192fad00

Added to database: 07/01/2026, 08:06:49 UTC

Last enriched: 07/01/2026, 08:21:56 UTC

Last updated: 07/01/2026, 09:36:46 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses