VDB
Sign up
HIGH7.5

PYSEC-2026-2204

Quick fix

PYSEC-2026-2204 — mesop: upgrade to the fixed version with the command below.

pip install --upgrade 'mesop>=1.2.5'

Details

Mesop is a Python-based UI framework that allows users to build web applications. From version 1.2.3 to before version 1.2.5, an uncontrolled resource consumption vulnerability exists in the WebSocket implementation of the Mesop framework. An unauthenticated attacker can send a rapid succession of WebSocket messages, forcing the server to spawn an unbounded number of operating system threads. This leads to thread exhaustion and Out of Memory (OOM) errors, causing a complete Denial of Service (DoS) for any application built on the framework. This issue has been patched in version 1.2.5.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mesop
Introduced in: 1.2.3Fixed in: 1.2.5
Fixpip install --upgrade 'mesop>=1.2.5'

References