Skip to main content
← All vulnerabilities
CVE-2026-33057PYSEC-2026-412GHSA-GJGX-RVQR-6W6V

Mesop Affected by Unauthenticated Remote Code Execution via Test Suite Route /exec-py

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.3
1 proof of concept on GitHub, 1 Nuclei template
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • mesop-dev mesop

    fixed in 1.2.3

  • mesopPyPI

    fixed in 1.2.3

References 4

GitHub · mesop-dev/mesop

GitHub · projectdiscovery/nuclei-templates

GitHub · hackpatato/CVE-2026-33057---Mesop-Unauthenticated-RCE-PoC-and-yara-rules