CVE-2026-33057: mesop · Code Injection
Affects mesopSource CVE Database V5
Not known to be exploited · public detection template (Nuclei) · CVSS 9.8 Critical : upgrade to 1.2.3 as a priority.
Data as of 31 Oct 2026, 08:20 UTC
- EPSS
- 5.2% chance of exploitation in 30 days – higher than 92% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.2.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2026
Detectable: evidence found.
nuclei template: Mesop AI Sandbox <= 1.2.2 - Remote Code Execution
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade mesop to 1.2.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mesop-devmesop | Affected
| Fixed in
|
PyPImesoppkg:pypi/mesopOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The primary mitigation is to upgrade all mesop instances to version 1.2.3 or later, where this vulnerability is fixed. Until upgrades can be applied, organizations should immediately restrict network access to the affected /exec-py endpoint, ideally by firewall rules or network segmentation, to prevent unauthorized HTTP requests. Disabling or removing the ai/testing module and the embedded Flask debugging server in production environments is strongly recommended to reduce attack surface. Monitoring and logging HTTP requests to detect suspicious activity targeting this endpoint can provide early warning of exploitation attempts. Additionally, running mesop with the least privilege possible and employing runtime application self-protection (RASP) or endpoint detection and response (EDR) solutions may help detect or block malicious code execution. Regular security audits and code reviews should be conducted to identify similar unsafe code execution patterns.
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.