{"schema_version":"1.3.1","id":"GO-2026-6278","modified":"2026-08-25T15:00:08Z","published":"2026-08-25T15:00:08Z","aliases":["GHSA-w67g-5rqw-f597"],"summary":"Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket","details":"Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket","affected":[{"package":{"name":"github.com/gorilla/websocket","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.3"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/gorilla/websocket","symbols":["Conn.Close","Conn.NextReader","Conn.NextWriter","Conn.ReadJSON","Conn.ReadMessage","Conn.WriteControl","Conn.WriteJSON","Conn.WriteMessage","Conn.WritePreparedMessage","Dialer.Dial","Dialer.DialContext","NewClient","NewPreparedMessage","ReadJSON","Subprotocols","Upgrade","Upgrader.Upgrade","WriteJSON","flateReadWrapper.Read","flateWriteWrapper.Close","flateWriteWrapper.Write","httpProxyDialer.Dial","joinReader.Read","messageReader.Read","messageWriter.Close","messageWriter.ReadFrom","messageWriter.Write","messageWriter.WriteString","netDialerFunc.Dial","newMaskKey","proxy_direct.Dial","proxy_envOnce.Get","proxy_socks5.Dial","truncWriter.Write"]}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/canolgun-commits/websocket/security/advisories/GHSA-w67g-5rqw-f597"},{"type":"FIX","url":"https://github.com/gorilla/websocket/commit/d67f41855da42d7bccd9ef050c49f7e54e783b95"},{"type":"WEB","url":"https://github.com/gorilla/websocket/releases/tag/v1.5.3"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-6278","review_status":"UNREVIEWED"}}