CVE-2026-33057
Critical 9.8No known exploitationFix availableMesop Affected by Unauthenticated Remote Code Execution via Test Suite Route /exec-py
Vendor advisory: GHSA-gjgx-rvqr-6w6v
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-94
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| mesop-dev | mesop | < 1.2.3 | Not documented | CVE Program |
| pip | mesop | all versions up to and including 1.2.2 | 1.2.3 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-gjgx-rvqr-6w6v (opens in a new tab)github-advisory
- https://github.com/mesop-dev/mesop/commit/825f55970c20686de3f28e2c66df4d74e9d4db47 (opens in a new tab)x_refsource_misc
- https://github.com/mesop-dev/mesop/security/advisories/GHSA-gjgx-rvqr-6w6v (opens in a new tab)x_refsource_confirm