Mesop
Mesop Affected by Unauthenticated Remote Code Execution via Test Suite Route /exec-py
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.2.3
Fixed in 1.2.3
Mitigation
Upgrade mesop to 1.2.3 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 37 days after publication; not in CISA KEV. First PoC: nuclei template: Mesop AI Sandbox <= 1.2.2 - Remote Code Execution (nuclei template, 26 Apr 2026).
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| hackpatato/CVE-2026-33057---Mesop-Unauthenticated-RCE-PoC-and-yara-rules | 28 Aug 2026 +161 d | 1 | Informational · detection |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Mesop AI Sandbox <= 1.2.2 - Remote Code Execution | 26 Apr 2026 | 14 Nov 2026 |