BreachSpiderVerified, not vibes

CVE-2025-40923 in Epoch products

High 7.3

Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked fro...

Affects 0 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.3
EPSS0.7%
EPSS percentile47th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component.

Affected products and versions

VendorProductAffected versions
Epoch — —
Plack — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage. Predicable session ids could allow an attacker to gain access to systems.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-40923
BreachSpider IDBS-2025-GLOBAL-259421-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Published2025-07-16
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-338: CWE-338

CWE-340: CWE-340

Analysis AI-written, not human-reviewed

Plack-Middleware-Session before version 0.35 for Perl generates session IDs insecurely, using a predictable method that can be exploited to hijack user sessions.

The default session ID generator uses SHA-1 hashing with a seed that includes the built-in rand function, epoch time, and PID. These elements can be predicted or guessed, especially if the epoch time is leaked via the HTTP Date header. The use of the built-in rand function, which is not suitable for cryptographic purposes, further exacerbates the vulnerability.

Questions

What is CVE-2025-40923?

Plack-Middleware-Session before version 0.35 for Perl generates session IDs insecurely, using a predictable method that can be exploited to hijack user sessions.

What is the CVSS score for CVE-2025-40923?

CVE-2025-40923 has CVSS 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.7%.

Is CVE-2025-40923 actively exploited?

No confirmed active exploitation of CVE-2025-40923 as of 2026-09-25.

How do I remediate CVE-2025-40923?

Priority: HIGH.

What systems are affected by CVE-2025-40923?

CVE-2025-40923 affects Epoch; Plack.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Epoch","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.