CVE-2026-33057
CVE-2026-33057 · Mesop Affected by Unauthenticated Remote Code Execution via Test Suite Route /exec-py
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Mesop is a Python-based UI framework that allows users to build web applications. In versions 1.2.2 and below, an explicit web endpoint inside the ai/ testing module infrastructure directly ingests untrusted Python code strings unconditionally without authentication measures, yielding standard Unrestricted Remote Code Execution. Any individual capable of routing HTTP logic to this server block will gain explicit host-machine command rights. The AI codebase package includes a lightweight debugging Flask server inside ai/sandbox/wsgi_app.py. The /exec-py route accepts base_64 encoded raw string payloads inside the code parameter natively evaluated by a basic POST web request. It saves it rapidly to the operating system logic path and injects it recursively using execute_module(module_path...). This issue has been fixed in version 1.2.3.
CVSS 9.8 · Critical · EPSS 5.3% · Public exploit · Fix available
- Published
- Updated
Stack: python
Affected products and versions
mesop
- Versions
- < 1.2.3: Affected
No fix published
mesop PyPI
- Versions
- 0.0.1
- 0.10.0
- 0.10.0rc0
- 0.10.0rc1
- 0.10.0rc2
- 0.11.0
- 0.11.0rc0
- 0.11.1
- 0.12.0
- 0.12.0rc0
- 0.12.1
- 0.12.10b1
- 0.12.10b2
- 0.12.10b3
- 0.12.10rc1
- 0.12.1rc0
- 0.12.2
- 0.12.3
- 0.12.3rc0
- 0.12.4
- 0.12.4rc0
- 0.12.5
- 0.12.5b1
- 0.12.5rc1
- 0.12.6
- 0.12.6rc1
- 0.12.7
- 0.12.7b1
- 0.12.7rc1
- 0.12.8
- 0.12.8b1
- 0.12.8rc1
- 0.12.9
- 0.12.9rc1
- 0.13.0
- 0.13.0rc1
- 0.14.0
- 0.14.1
- 0.14.1rc1
- 0.14.2b1
- 0.14.2b2
- 0.14.2rc1
- 0.14rc1
- 0.3.1
- 0.3.2
- 0.3.3
- 0.3.4
- 0.4.0
- 0.4.1
- 0.4.2
- 0.5.0
- 0.5.1
- 0.5.2
- 0.5.3
- 0.5.4
- 0.5.5
- 0.5.6
- 0.6.0
- 0.7.0
- 0.7.1
- 0.7.2
- 0.8.0
- 0.8.0rc0
- 0.9.0
- 0.9.0rc1
- 0.9.1
- 0.9.1rc1
- 0.9.2
- 0.9.2rc1
- 0.9.3
- 0.9.3rc0
- 0.9.4
- 0.9.4rc0
- 0.9.5
- 0.9.5rc0
- 1.0.0
- 1.0.0rc1
- 1.0.0rc2
- 1.0.1
- 1.0.1rc1
- 1.1.0
- 1.1.0rc1
- 1.1.1
- 1.1.1rc1
- 1.1.1rc2
- 1.1.1rc3
- 1.2.0
- 1.2.0rc1
- 1.2.1
- 1.2.1rc1
- 1.2.2
- 1.2.2rc1
- Affected ranges
- ECOSYSTEM: < 1.2.3
Update to 1.2.3