{"id":"CVE-2026-104380","state":"PUBLISHED","title":"Punk versions from 0.48 before 0.55 for Perl route Extended CONNECT requests to any GET route without an Origin check in ps_serve_one","description":"Punk versions from 0.48 before 0.55 for Perl route Extended CONNECT requests to any GET route without an Origin check in ps_serve_one.\n\nOn HTTP/2 and HTTP/3 a WebSocket handshake arrives as an Extended CONNECT, which is matched as a GET and so reaches every GET route, API operation and mount. The Origin check runs only when a websocket route matches. On this transport the handler's status is the handshake response, and a 2xx accepts it.\n\nA cross-origin page can open a WebSocket to any path and learn from its open or error event whether that path returns 2xx.","publishedAt":"2026-10-06T01:13:14.558Z","updatedAt":"2026-10-06T13:14:39.875Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["Punk"],"affected":[{"packageName":"Punk","packageURL":"pkg:cpan/Punk","defaultStatus":"unaffected","versions":[{"version":"0.48","status":"affected","lessThan":"0.55","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Punk"],"programFiles":["include/punk/punk_serve.h"],"programRoutines":[{"name":"ps_serve_one"}]}],"references":["https://metacpan.org/release/LNATION/Punk-0.55/diff/LNATION/Punk-0.54","https://metacpan.org/release/LNATION/Punk-0.55/changes","http://www.openwall.com/lists/oss-security/2026/10/06/1"],"weaknesses":["CWE-1385"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/104xxx/CVE-2026-104380.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-104380","state":"PUBLISHED","datePublished":"2026-10-06T01:13:14.558Z","dateUpdated":"2026-10-06T13:14:39.875Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-10-01T22:29:10.271Z"},"containers":{"cna":{"title":"Punk versions from 0.48 before 0.55 for Perl route Extended CONNECT requests to any GET route without an Origin check in ps_serve_one","descriptions":[{"lang":"en","value":"Punk versions from 0.48 before 0.55 for Perl route Extended CONNECT requests to any GET route without an Origin check in ps_serve_one.\n\nOn HTTP/2 and HTTP/3 a WebSocket handshake arrives as an Extended CONNECT, which is matched as a GET and so reaches every GET route, API operation and mount. The Origin check runs only when a websocket route matches. On this transport the handler's status is the handshake response, and a 2xx accepts it.\n\nA cross-origin page can open a WebSocket to any path and learn from its open or error event whether that path returns 2xx."}],"affected":[{"packageName":"Punk","packageURL":"pkg:cpan/Punk","defaultStatus":"unaffected","versions":[{"version":"0.48","status":"affected","lessThan":"0.55","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Punk"],"programFiles":["include/punk/punk_serve.h"],"programRoutines":[{"name":"ps_serve_one"}]}],"references":[{"url":"https://metacpan.org/release/LNATION/Punk-0.55/diff/LNATION/Punk-0.54","tags":["patch"]},{"url":"https://metacpan.org/release/LNATION/Punk-0.55/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1385","description":"CWE-1385 Missing Origin Validation in WebSockets","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-10-06T01:13:14.558Z"},"solutions":[{"lang":"en","value":"Upgrade to Punk 0.55 or later."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/06/1"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-06T05:07:59.987Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-06T13:14:06.093601Z","id":"CVE-2026-104380","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-06T13:14:39.875Z"}}]}}}