Punk versions before 0.18 for Perl allow session cookie forgery via an empty default HMAC…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
Punk versions before 0.18 for Perl allow session cookie forgery via an empty default HMAC key when a session is declared without a secret. The session keyword freezes its options onto the application as given: it does not require a secret, warn, or refuse to start when one is absent. The cookie read and the write-back both default that key to the empty string, so a declaration with no secret option, or with an undefined or empty one, signs and verifies with a zero-length HMAC-SHA256 key. An attacker who knows the cookie format can then mint one offline carrying any contents the session holds, such as a user identifier or a role. Nothing marks the misconfiguration at runtime: cookies are well formed and sessions round-trip as expected.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Punk | before 0.18 | 0.18 | Patch available | CNA |
- Punk Vendor— Affected before 0.18 Fixed in 0.18 Patch available CNA
Remediation
- Fix · CNA Punk Fixed in 0.18
Timeline
- 2026-10-02 Threatist record created from CVE-2026-75870
- 2026-10-03 Alias added: GHSA-3679-xr9w-9625
References
Sources
- CVE-2026-75870 · CVE Program
- CVE-2026-75870 · NVD
- FIRST EPSS
- GHSA-3679-xr9w-9625 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences