GHSA-3jr7-6hqp-x679: Mesop: Unbounded Thread Creation in WebSocket Handler Leads to Denial of Service
- Identifiers
- CVE-2026-34824GHSA-3jr7-6hqp-x679
- Published
- Record updated
- Affected
- mesop >= 1.2.3, < 1.2.5
- Fixed in
- 1.2.5
- released March 30, 2026, 3 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.8%
Summary
The Mesop framework's WebSocket handler, `handle_websocket` in `mesop/server/server.py`, starts a new `threading.Thread` for every parsed `ui_request` with no thread pool, message queue or rate limit. An unauthenticated attacker can send a rapid stream of messages over one connection to exhaust threads and memory, causing a denial of service for applications built on the framework.
Mitigation
Use a bounded thread pool (e.g., ThreadPoolExecutor with max_workers), introduce per-connection rate limiting, implement a message queue with backpressure, or consider migrating to an async event loop model instead of spawning OS threads.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- mesopPyPINo LLM dependency detected
Related items
- LowToken fraud is here and it’s BAD (YouTube)Similar attack · Simon Willison's Weblog
- HighCVE-2026-133161: Pydantic AI Harness ToolOutputLimits ANSI stripping slowed by quadratic regexSimilar attack · NVD/CVE Database
- HighCVE-2026-130686: vLLM resource exhaustion through many remote image URLs in one requestSimilar attack · NVD/CVE Database
- HighCVE-2026-130685: vLLM denial of service through out-of-range prompt token ids in /v1/completionsSimilar attack · NVD/CVE Database
- LowRented Oscillations: Multi-Tenant Data Center Workload Synchronization Attacks and MitigationSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)