---
id: GO-2026-6278
aliases:
  - GHSA-w67g-5rqw-f597
title: >-
  Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in
  github.com/gorilla/websocket
summary: >-
  Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in
  github.com/gorilla/websocket
severity: none
vendor: gorilla
product: github.com/gorilla/websocket
ecosystem: go
affected:
  - github.com/gorilla/websocket < 1.5.3
patched:
  - github.com/gorilla/websocket 1.5.3
published: '2026-08-25'
updated: '2026-08-26'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GO-2026-6278'
references:
  - url: >-
      https://github.com/canolgun-commits/websocket/security/advisories/GHSA-w67g-5rqw-f597
  - url: >-
      https://github.com/gorilla/websocket/commit/d67f41855da42d7bccd9ef050c49f7e54e783b95
  - url: 'https://github.com/gorilla/websocket/releases/tag/v1.5.3'
tags:
  - osv
  - go
ingestedAt: '2026-08-26T19:27:03.481Z'
---

## Overview

Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket

## Affected packages

- `github.com/gorilla/websocket < 1.5.3`

## Remediation

Upgrade to a patched release:

- `github.com/gorilla/websocket 1.5.3`
