CVE-2024-45601 Local file Inclusion via static file serving functionality in Mesop
An attacker can read arbitrary files on the server via insufficient input validation in the static file serving endpoint of the Mesop framework.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-45601?
CVE-2024-45601 is a high-severity path traversal vulnerability in google mesop, published on 18 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Mesop is a Python-based UI framework designed for rapid web apps development. 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. At time of publication 0.12.4 is the most recently available version of Mesop.
Which versions are affected by CVE-2024-45601?
3 open source packages ship an affected version, including mesop.
| Package | Affected | Fixed in |
|---|---|---|
mesop PyPI | From 0.9.0 | 0.12.4 |
mesop PyPI | From 0.9.0 | 0.12.4 |
mesop PyPI | From 0.9.0 | 0.12.4 |
How do I fix CVE-2024-45601?
Upgrade mesop to 0.12.4 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-45601 being exploited?
There is no known exploitation of CVE-2024-45601 in the wild and no public exploit code.
Sources
Also known as GHSA-pmv9-3xqp-8w42, PYSEC-2026-1625.