Mesop Affected by Unauthenticated Remote Code Execution via Test Suite Route /exec-py
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mesopPyPI | < 1.2.3 | 1.2.3 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-gjgx-rvqr-6w6vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-33057ghsaADVISORY
- github.com/mesop-dev/mesop/commit/825f55970c20686de3f28e2c66df4d74e9d4db47ghsax_refsource_MISCWEB
- github.com/mesop-dev/mesop/security/advisories/GHSA-gjgx-rvqr-6w6vghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.