CVE-2026-104380 Details
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. On 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. A cross-origin page can open a WebSocket to any path and learn from its open or error event whether that path returns 2xx.
A vulnerability exists in the Punk web framework, specifically in versions 0.48 prior to 0.55. The issue arises from the handling of Extended CONNECT requests in HTTP/2 and HTTP/3, which are treated as WebSocket handshakes. These requests are incorrectly routed as GET requests to all available GET routes, API operations, and mounts, bypassing the necessary Origin check. As a result, a cross-origin page can initiate a WebSocket connection to any path and determine its status based on the response, potentially exploiting the absence of proper validation.
Upgrade to Punk version 0.55 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 6, 2026CISA-ADP
Assessed Oct 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/LNATION/Punk-0.55/changes | CPANSec | Release NotesVendor |
| https://metacpan.org/release/LNATION/Punk-0.55/diff/LNATION/Punk-0.54 | CPANSec | Source CodeVendor |
| http://www.openwall.com/lists/oss-security/2026/10/06/1 | CVE | Mailing ListRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1385 | Missing Origin Validation in WebSockets | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Punk | >= 0.48, < 0.55 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 6, 2026 | CVE Modified | CISA-ADP |
| Oct 6, 2026 | CVE Modified | CVE |
| Oct 6, 2026 | New CVE Received | CPANSec |
Volerion