CVE-2025-30358
HighCVSS 8.1Exploitation Probability (EPSS)
Elevated risk55th percentile - higher than 55% of all known CVEs
Summary
Mesop prior to version 0.14.1 has a class pollution vulnerability that allows attackers to overwrite global variables and class attributes in certain Mesop modules at runtime. This can lead to denial of service and to impersonation of assistant or system roles in LLM conversations.
Risk Assessment
An attacker can cause server denial of service and manipulate the application's data-flow or control-flow. When gadgets are available, this could lead to remote code execution.
Recommendation
Upgrade Mesop to version 0.14.1. Review the application for potential gadgets that could escalate the vulnerability.
Other vulnerabilities in Mesop
See all- CVE-2026-145571High
Mesop before version 1.3.5 contains a class-level attribute pollution vulnerability in _recursive_update_dataclass_from_json_obj(). Unauthenticated attackers can modify shared class attributes via crafted state JSON sent to /__ui__ UserEvent, tampering with configuration or role data and breaking rendering across all sessions.
- CVE-2026-93421Medium
Mesop is a Python-based UI framework for building web applications. Prior to 1.3.4, the unauthenticated /__csp__ endpoint passes attacker-controlled document-uri, blocked-uri, and violated-directive values to the csp_report handler in mesop/server/static_file_serving.py, which prints them to standard output without neutralizing terminal control sequences. When an operator views the resulting logs in an ANSI-capable terminal, injected ANSI or VT100 sequences can clear or reposition the display, hide text, or present forged messages, reducing the integrity of monitoring and incident-response output. This issue is fixed in version 1.3.4.
- CVE-2026-77357High
Mesop prior to version 1.3.3, when running in debug mode, exposes a GET /hot-reload endpoint whose unbounded loop depends on the user-supplied counter parameter. An unauthenticated attacker can send requests with high counter values, exhausting the worker pool and making the server unavailable. The attack requires minimal effort and leaves the server unresponsive until manually restarted.
- CVE-2026-34824High
Mesop, a Python-based UI framework, from version 1.2.3 to before version 1.2.5 contains an uncontrolled resource consumption vulnerability in the WebSocket implementation. An unauthenticated attacker can send a rapid succession of WebSocket messages, forcing the server to spawn an unbounded number of OS threads, leading to thread exhaustion and Out of Memory (OOM) errors, causing a complete Denial of Service (DoS).
Original NVD description (English source)
Mesop is a Python-based UI framework that allows users to build web applications. A class pollution vulnerability in Mesop prior to version 0.14.1 allows attackers to overwrite global variables and class attributes in certain Mesop modules during runtime. This vulnerability could directly lead to a denial of service (DoS) attack against the server. Additionally, it could also result in other severe consequences given the application's implementation, such as identity confusion, where an attacker could impersonate an assistant or system role within conversations. This impersonation could potentially enable jailbreak attacks when interacting with large language models (LLMs). Just like the Javascript's prototype pollution, this vulnerability could leave a way for attackers to manipulate the intended data-flow or control-flow of the application at runtime and lead to severe consequences like remote code execution when gadgets are available. Users should upgrade to version 0.14.1 to obtain a fix for the issue.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

