{"id":"CVE-2026-34938","published":"2026-04-03T22:51:28Z","modified":"2026-04-06T13:23:42Z","title":"PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"PraisonAI is a multi-agent teams system. Prior to version 1.5.90, execute_code() in praisonai-agents runs attacker-controlled Python inside a three-layer sandbox that can be fully bypassed by passing a str subclass with an overridden startswith() method to the _safe_getattr wrapper, achieving arbitrary OS command execution on the host. This issue has been patched in version 1.5.90.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.13682,"percentile":0.96576,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-6vh2-h83c-9294","tags":["x_refsource_CONFIRM"]}],"priority":{"score":26.3,"factors":[{"name":"EPSS percentile","points":19.32},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 1.5.90"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-06T13:23:32.754263Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonaiagents","vulnerableRanges":["<1.5.90"],"patched":["1.5.90"],"from":["GHSA-6vh2-h83c-9294","PYSEC-2026-484"],"provenance":"source"}],"summary":{"text":"The flaw is in the execute_code() function of the praisonai-agents component of PraisonAI, a multi-agent teams system, where a three-layer Python sandbox can be bypassed by passing a str subclass with an overridden startswith() method to the _safe_getattr wrapper. An attacker who can submit Python code to execute_code() without needing any privileges or user interaction over the network can exploit this to run arbitrary operating system commands on the host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:30:48Z"},"euvd":{"id":"EUVD-2026-18919","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-34937","published":"2026-04-03","fixed":"1.5.90","kev":false},{"cve":"CVE-2026-34938","published":"2026-04-03","fixed":"1.5.90","kev":false},{"cve":"CVE-2026-34954","published":"2026-04-03","fixed":"1.5.95","kev":false,"link":{"from":"CVE-2026-34938","to":"CVE-2026-34954","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonaiagents","fromFixed":"1.5.90","toFixed":"1.5.95","daysApart":0}]}},{"cve":"CVE-2026-39888","published":"2026-04-08","fixed":"1.5.115","kev":false},{"cve":"CVE-2026-56078","published":"2026-06-18","fixed":"1.5.115","kev":false}],"package":"PyPI:praisonaiagents"}}