{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-75870","id":"CVE-2026-75870","title":"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","description":"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 opti","descriptionLong":"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.","published":"2026-08-22T13:35:58.346Z","updated":"2026-10-14T13:10:00.187Z","reserved":"2026-08-18T11:59:49.642Z","status":"Deferred","rejected":false,"assigner":"CPANSec","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"CISA-ADP"}],"rating":"critical","products":["Punk"],"affectedProducts":[{"vendor":"","product":"Punk","defaultStatus":"unaffected","versions":[{"lessThan":"0.18","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-1394"],"aliases":[],"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":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00495,"epssPercentile":0.43254,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-75870","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75870","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-75870","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-75870","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}