CVE-2026-33057
Mesop Affected by Unauthenticated Remote Code Execution via Test Suite Route /exec-py
Reported by github_m · Published March 20, 2026
mesop is fixed in 1.2.3 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mesop | PyPI | 1.2.3 |
| mesop | mesop-dev | 1.2.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mesop-dev | mesop | < 1.2.3 |
| PyPI | mesop | 0 |
| mesop-dev | mesop | 0 |
Timeline
- Mar 18, 2026 CVE Published
- Mar 19, 2026 Security Advisory
- Mar 20, 2026 EPSS Score (30 in total, the first dated here)
- Mar 20, 2026 PoC Published (4 in total, the first dated here)
- Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 25, 2026 CVE Updated
- Sep 26, 2026 VulnCheck KEV Exploitation (10 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-33057
vulnetix vdb fixes CVE-2026-33057
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-33057/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/mesop-dev/mesop/security/advisories/GHSA-gjgx-rvqr-6w6v x_refsource_CONFIRM
- https://github.com/mesop-dev/mesop/commit/825f55970c20686de3f28e2c66df4d74e9d4db47 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-33057 advisory
- https://github.com/advisories/GHSA-gjgx-rvqr-6w6v advisory
- https://github.com/mesop-dev/mesop url