
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34824 is an uncontrolled resource consumption vulnerability (CWE-770) in the WebSocket implementation of Mesop, a Python-based UI framework for building web applications. Affecting versions 1.2.3 through before 1.2.5, the flaw allows an unauthenticated attacker to send rapid WebSocket messages that force the server to spawn an unbounded number of OS threads, leading to thread exhaustion and Out of Memory (OOM) errors. The vulnerability was published on April 3, 2026, and patched in version 1.2.5 released March 31, 2026. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Feedly).
The root cause is an architectural flaw in mesop/server/server.py within the handle_websocket function, classified as CWE-770 (Allocation of Resources Without Limits or Throttling). For every successfully parsed ui_request received over a WebSocket connection, the server unconditionally spawns a new threading.Thread with no thread pool, message queue, or rate-limiting mechanism in place. An attacker can exploit this remotely with no authentication or user interaction required by simply opening a WebSocket connection to the /__ui__ endpoint and flooding it with messages — even minimal valid base64-encoded payloads suffice to trigger thread creation. A public proof-of-concept script demonstrating the attack is included in the GitHub Security Advisory (GitHub Advisory, Patch Commit).
Successful exploitation results in complete Denial of Service (DoS) for any application built on the affected Mesop versions, with high availability impact and no confidentiality or integrity impact. A single unauthenticated attacker using minimal bandwidth can crash the server within seconds by exhausting OS-level thread counts and system memory, rendering the service unavailable to all legitimate users. Any developer or organization deploying a publicly accessible Mesop-based web application on versions 1.2.3 or 1.2.4 is at risk (GitHub Advisory).
A functional proof-of-concept exploit script is publicly available in the GitHub Security Advisory, consisting of a standalone Python script that connects to the target WebSocket endpoint and sends 50,000 messages to trigger thread exhaustion. The EPSS score is approximately 0.023% (0.000230), indicating low but non-zero probability of exploitation in the wild. There is currently no evidence of active in-the-wild exploitation, no known threat actor attribution, and the vulnerability is not listed in the CISA KEV catalog (GitHub Advisory, Feedly).
/__ui__ (e.g., ws://target-host:8080/__ui__). Confirm connectivity using a WebSocket client tool.websocket-client Python library (pip install websocket-client) and prepare a flood script that connects to the target WebSocket URL.base64.urlsafe_b64encode(b'').decode('utf-8')) as the message payload — this bypasses base64 decoding and Protobuf parsing without raising exceptions, causing the server to spawn a new thread per message./__ui__ endpoint from a single or small set of source IPs; sustained WebSocket sessions sending thousands of messages in rapid succession."WebSocket server at capacity, dropping message" (present only after patching); OOM-related error messages or Python MemoryError tracebacks in application logs.ps, top, or /proc/<pid>/status); process crash or restart events correlated with high-volume WebSocket traffic.oom_kill) events in kernel logs (/var/log/syslog or dmesg) targeting the Mesop application process (GitHub Advisory).The primary remediation is to upgrade Mesop to version 1.2.5 or later, which replaces unbounded thread spawning with a bounded ThreadPoolExecutor (capped at 100 workers) and a BoundedSemaphore limiting in-flight tasks to 500, dropping excess messages rather than queuing them (Patch Commit, Release Notes). As a temporary workaround for those unable to upgrade immediately, deploy a reverse proxy or API gateway (e.g., nginx, Cloudflare) with WebSocket rate limiting and connection throttling in front of the Mesop application. Additionally, network-level controls such as firewall rules restricting WebSocket access to trusted IP ranges can reduce exposure until patching is feasible (GitHub Advisory).
The vulnerability was reported by researcher tubadeligoz and the advisory was published by Mesop maintainer richard-to on April 2, 2026. A Mastodon post from @thehackerwire noted the disclosure shortly after publication. Community reaction has been limited given the niche scope of the Mesop framework, but the availability of a working PoC in the official advisory drew attention from vulnerability tracking services including VulDB, CIRCL, and ENISA's EUVD (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."