Skip to main content
EPSS 0.5%top 60%

CVE-2026-75870: CWE-1394 Use of Default Cryptographic Key

0
Critical
Published: 08/22/2026 (08/22/2026, 13:35:58 UTC)
Source: CVE Database V5

Description

CVE-2026-75870 affects Punk versions before 0.18 for Perl, where session cookies can be forged due to the use of an empty default HMAC key when no secret is provided. The session mechanism does not enforce or warn about the absence of a secret, resulting in signing and verification with a zero-length HMAC-SHA256 key. This allows an attacker who understands the cookie format to create valid session cookies with arbitrary contents such as user identifiers or roles without detection.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 14:49:25 UTC

Technical Analysis

This vulnerability arises because the Punk session keyword does not require a secret key and defaults to an empty string for the HMAC key if none is provided. Consequently, session cookies are signed and verified using a zero-length HMAC-SHA256 key, enabling an attacker to forge session cookies offline. The forged cookies appear valid and are accepted by the application, potentially allowing unauthorized access or privilege escalation.

Potential Impact

An attacker can create forged session cookies that the application will accept as valid, potentially impersonating users or escalating privileges. This compromises confidentiality and integrity of session data but does not affect availability. The vulnerability has a CVSS score of 9.1 (critical), indicating a high impact on confidentiality and integrity without requiring privileges or user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, ensure that a non-empty secret is explicitly configured for sessions to avoid defaulting to an empty HMAC key. Avoid deploying Punk versions before 0.18 without proper secret configuration.

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-08-18T11:59:49.642Z
State
PUBLISHED

Threat ID: 6a89a9b5acd9273b491a2938

Added to database: 08/22/2026, 13:52:53 UTC

Last enriched: 09/10/2026, 14:49:25 UTC

Last updated: 10/04/2026, 18:53:18 UTC

Views: 70

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