Install
websockets
An implementation of the WebSocket Protocol (RFC 6455 & 7692)
17.4Latest, 30 Oct 2026
563MDownloads, last month
0Advisories on the latest
4Advisories, all versions
BSD-3-ClauseLicence
5.7KStars
5.5/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | Observable Timing Discrepancy in aaugustin websockets library CVE-2021-33880 | Fixed in 9.1 | 11 Jun 2021 |
| PYSEC-2021-95 CVE-2021-33880 | Fixed in 9.1 | 6 Jun 2021 | |
| High | websockets is vulnerable to denial of service by memory exhaustion CVE-2018-1000518 | Fixed in 5.0 | 17 Sep 2018 |
| PYSEC-2018-79 CVE-2018-1000518 | Fixed in 5.0 | 26 Jun 2018 |
In the news
- Polymarket API Explained for Developers: CLOB, Gamma, Data & WebSockets dev.to, 2 Dec 2026
- Build a Serverless Streaming LLM Chat App on AWS with Bedrock, WebSockets & Lambda dev.to, 2 Dec 2026
- Apache Camel WebSocket Exposure Is a Route Problem dev.to, 1 Dec 2026
- Sec-WebSocket-Accept by hand: SHA-1, a fixed GUID, and the RFC example that ends in the wrong letter dev.to, 1 Dec 2026
- CODESYS WebSocket cleanup needs connection-lifetime ownership dev.to, 30 Nov 2026
On Hacker News
- Pornhub Bypasses Ad Blockers with WebSockets 873 points, 575 comments, 2 Nov 2016
- Server-Sent Events: an alternative to WebSockets 540 points, 263 comments, 12 Feb 2022
- WebSockets vs. Server-Sent-Events vs. Long-Polling vs. WebRTC vs. WebTransport 518 points, 228 comments, 18 Mar 2024
- The future of web software is HTML over WebSockets 517 points, 325 comments, 25 Feb 2021
Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.