BreachSpiderVerified, not vibes

CVE-2026-5081 in Apache products

Critical 9.1

Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure. Apache::Session::Generate::ModUniqueId (added in version 1.54) uses the value of the UNIQUE_ID environment variable for the session id. The UNIQUE_ID variable is set by the Apache mod_unique_id plugin, which ge...

Affects 1 product from 4 vendors. Facts below cite their sources.

CVSS 3.19.1
EPSS0.5%
EPSS percentile35th
FixUnknown

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

Affected products and versions

VendorProductAffected versions
Apache — —
Chorny Apache\ ≥ 1.54, ≤ 1.94
Epoch — —
Plugin — —

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

Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure. Apache::Session::Generate::ModUniqueId (added in version 1.54) uses the value of the UNIQUE_ID environment variable for the session id. The UNIQUE_ID variable is set by the Apache mod_unique_id plugin, which generates unique ids for the request. The id is based on the IPv4 address, the process id, the epoch time, a 16-bit counter and a thread index, with no obfuscation. The server IP is often available to the public, and if not available, can be guessed from previous session ids being issued. The process ids may also be guessed from previous session ids. The timestamp is easily guessed (and leaked in the HTTP Date response header). The purpose of mod_unique_id is to assign a unique id to requests so that events can be correlated in different logs. The id is not designed, nor is it suitable for security purposes.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-5081
BreachSpider IDBS-2026-GLOBAL-154011-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published2026-05-06
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-340: CWE-340

CWE-341: CWE-341

Analysis AI-written, not human-reviewed

Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 are vulnerable due to the use of the UNIQUE_ID environment variable for session IDs, which can be predictable and insecure.

An attacker can predict or guess session IDs by analyzing the UNIQUE_ID environment variable, which is based on the IPv4 address and process ID. This can lead to session hijacking and unauthorized access.

Questions

What is CVE-2026-5081?

Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 are vulnerable due to the use of the UNIQUE_ID environment variable for session IDs, which can be predictable and insecure.

What is the CVSS score for CVE-2026-5081?

CVE-2026-5081 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.5%.

Is CVE-2026-5081 actively exploited?

No confirmed active exploitation of CVE-2026-5081 as of 2026-11-03.

How do I remediate CVE-2026-5081?

Priority: IMMEDIATE.

What systems are affected by CVE-2026-5081?

CVE-2026-5081 affects Apache; Chorny Apache\; Epoch; Plugin.

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":"Apache","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-10-26.