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
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.
CVE-2026-104380
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-104380
Structured affected-version data
Original package identities and version rules from this source.
[
{
"modules": [
"Punk"
],
"versions": [
{
"status": "affected",
"version": "0.48",
"lessThan": "0.55",
"versionType": "custom"
}
],
"packageURL": "pkg:cpan/Punk",
"packageName": "Punk",
"programFiles": [
"include/punk/punk_serve.h"
],
"collectionURL": "https://cpan.org/modules",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "ps_serve_one"
}
]
}
]- Related CVEs
- CVE-2026-104380
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #9234 · Revision 1
- Added to Heist Feed
- Publisher date