VDB
Sign up
HIGH7.5

PYSEC-2026-1625

Mesop has a local file Inclusion via static file serving functionality

Quick fix

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

pip install --upgrade 'mesop>=0.12.4'

Details

A vulnerability has been discovered and fixed in Mesop that could potentially allow unauthorized access to files on the server hosting the Mesop application. The vulnerability was related to insufficient input validation in a specific endpoint. This could have allowed an attacker to access files not intended to be served.

Users are strongly advised to update to the latest version of Mesop immediately. The latest version includes a fix for this vulnerability.

We would like to thank @Letm3through for reporting this issue and proposing mitigations to address this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mesop
Introduced in: 0.9.0Fixed in: 0.12.4
Fixpip install --upgrade 'mesop>=0.12.4'

References