{"id":"CVE-2026-75870","published":"2026-08-22T13:35:58Z","modified":"2026-08-25T19:28:36Z","title":"Punk versions before 0.18 for Perl allow session cookie forgery via an empty default HMAC key when a session is…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\n\nThe 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.\n\nAn 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00495,"percentile":0.43395,"provenance":"source"},"cwes":[{"id":"CWE-1394","name":"Use of Default Cryptographic Key"}],"references":[{"url":"https://metacpan.org/release/LNATION/Punk-0.17/source/include/punk/punk_session.h","tags":["technical-description"]},{"url":"https://metacpan.org/release/LNATION/Punk-0.17/view/lib/Punk.pm","tags":["technical-description"]},{"url":"https://metacpan.org/release/LNATION/Punk-0.18/source/Changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/22/5","tags":[]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":8.68},{"name":"CVSS severity","points":6.37}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["< 0.18"]}],"solutions":{"items":["Upgrade to Punk 0.18 or later."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["For deployments that cannot upgrade to 0.18, declare the session keyword with a non-empty secret. The secret keyword fails closed, so sourcing the key through it turns a missing configuration path or an unset environment variable into a startup error."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-25T19:27:34.454527Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-64294","exploited":false,"provenance":"source"}}