{"id":"CVE-2026-33057","published":"2026-03-20T07:16:59Z","modified":"2026-03-25T13:52:27Z","title":"Mesop Affected by Unauthenticated Remote Code Execution via Test Suite Route /exec-py","vendor":"mesop-dev","product":"mesop","tier":"core","eol":null,"affectedVersions":[{"vendor":"mesop-dev","product":"mesop","versions":["< 1.2.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-25T13:51:08.862480Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"Mesop, a Python-based UI framework from mesop-dev, contains an unauthenticated code execution flaw in the /exec-py route of the debugging Flask server at ai/sandbox/wsgi_app.py, within the ai/ testing module. The route accepts base64-encoded Python code via a POST request's code parameter, saves it to disk, and executes it, so an attacker who can send HTTP requests to that server can run arbitrary commands on the host without authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:11:26Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.07072,"percentile":0.94359,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-09-26","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":16,"pulses":[{"name":"Known_Cve | Mar 31, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69ca8519c290268fd9da68cc","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69ca0daa0d61a3082fccd483","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69c932c178f05822e0970ce2","created":"2026-03-29"},{"name":"Known_Cve | Mar 28, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/69c69277127fedcfcf9349b0","created":"2026-03-27"},{"name":"Known_Cve | Mar 28, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/69c692714d541ca5a6493eb8","created":"2026-03-27"},{"name":"Known_Cve | Mar 25, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69c2a5c024c4e0dbda79a32f","created":"2026-03-24"},{"name":"Known_Cve | Mar 25, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69c2a5852b497ad2dfee0e56","created":"2026-03-24"},{"name":"Known_Cve | Mar 24, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69c14ad8b8e05ab00f33f114","created":"2026-03-23"},{"name":"Known_Cve | Mar 24, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69c14ad09114b91e2b796d1f","created":"2026-03-23"},{"name":"Known_Cve | Mar 23, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69bff7aa4497a8e301bea1a6","created":"2026-03-22"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/mesop-dev/mesop/security/advisories/GHSA-gjgx-rvqr-6w6v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mesop-dev/mesop/commit/825f55970c20686de3f28e2c66df4d74e9d4db47","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"mesop","vulnerableRanges":["<1.2.3"],"patched":["1.2.3"],"from":["GHSA-gjgx-rvqr-6w6v","PYSEC-2026-412"],"provenance":"source"}],"advisories":[{"id":"GHSA-gjgx-rvqr-6w6v","url":"https://github.com/advisories/GHSA-gjgx-rvqr-6w6v","severity":"CRITICAL","ecosystem":"PyPI","package":"mesop","vulnerableRanges":["<1.2.3"],"patched":["1.2.3"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-13618","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-13618","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-28","earliestUrl":"https://github.com/hackpatato/CVE-2026-33057---Mesop-Unauthenticated-RCE-PoC-and-yara-rules","repos":[{"name":"hackpatato/CVE-2026-33057---Mesop-Unauthenticated-RCE-PoC-and-yara-rules","url":"https://github.com/hackpatato/CVE-2026-33057---Mesop-Unauthenticated-RCE-PoC-and-yara-rules","stars":1,"created":"2026-08-28"}]},"nuclei":[{"id":"CVE-2026-33057","name":"Mesop AI Sandbox <= 1.2.2 - Remote Code Execution","severity":"critical","path":"http/cves/2026/CVE-2026-33057.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-33057.yaml"}],"first":{"date":"2026-08-28","source":"PoC-in-GitHub","url":"https://github.com/hackpatato/CVE-2026-33057---Mesop-Unauthenticated-RCE-PoC-and-yara-rules"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-03-20","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-33057","provenance":"source"},{"date":"2026-08-28","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/hackpatato/CVE-2026-33057---Mesop-Unauthenticated-RCE-PoC-and-yara-rules","provenance":"source"}],"speed":{"daysToPublicExploit":161,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":78.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 56 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.87,"detail":"percentile 0.9436"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":2.79,"detail":"16 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2024-45601","published":"2024-09-18","fixed":"0.12.4","kev":false},{"cve":"CVE-2025-30358","published":"2025-03-27","fixed":"0.14.1","kev":false},{"cve":"CVE-2026-33054","published":"2026-03-20","fixed":"1.2.3","kev":false},{"cve":"CVE-2026-33057","published":"2026-03-20","fixed":"1.2.3","kev":false},{"cve":"CVE-2026-34824","published":"2026-04-03","fixed":"1.2.5","kev":false,"link":{"from":"CVE-2026-33057","to":"CVE-2026-34824","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mesop","fromFixed":"1.2.3","toFixed":"1.2.5","daysApart":14}]}},{"cve":"CVE-2026-93421","published":"2026-09-23","fixed":"1.3.4","kev":false}],"package":"PyPI:mesop"}}