—
GO-2026-6278
Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket
Quick fix
GO-2026-6278 — github.com/gorilla/websocket: upgrade to the fixed version with the command below.
go get github.com/gorilla/websocket@v1.5.3 Details
Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket
Are you affected?
Enter the version of the package you're using.
Affected packages
Go / github.com/gorilla/websocket
Introduced in:
0 Fixed in: 1.5.3 Fix
go get github.com/gorilla/websocket@v1.5.3