Mesop Affected by Unauthenticated Remote Code Execution via Test Suite Route /exec-py
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mesop-dev | mesop | before 1.2.3 | 1.2.3 | Patch available | CNA |
| — | mesop (PyPI) | before 1.2.3 | 1.2.3 | Patch available | GHSA-gjgx-rvqr-6w6v |
- mesop Vendormesop-dev Affected before 1.2.3 Fixed in 1.2.3 Patch available CNA
- mesop (PyPI) Vendor— Affected before 1.2.3 Fixed in 1.2.3 Patch available GHSA-gjgx-rvqr-6w6v
Remediation
- Fix · CNA mesop (mesop-dev) Fixed in 1.2.3
- Fix · GHSA-gjgx-rvqr-6w6v mesop (PyPI) Fixed in 1.2.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33057
- 2026-10-03 Alias added: GHSA-gjgx-rvqr-6w6v
References
More mesop-dev Mesop vulnerabilities
- TI-2026-25497 Mesop: Path Traversal utilizing `FileStateSessionBackend` leads to Application Denial of Service and File Write/Deletion CVSS 3.1CRITICAL 10.0
- TI-2026-27068 Mesop: Unbounded Thread Creation in WebSocket Handler Leads to Denial of Service CVSS 3.1HIGH 7.5
Sources
- CVE-2026-33057 · CVE Program
- CVE-2026-33057 · NVD
- FIRST EPSS
- GHSA-gjgx-rvqr-6w6v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences