{"id":"CVE-2026-34955","published":"2026-04-03T23:04:25Z","modified":"2026-04-06T19:06:17Z","title":"PraisonAI: Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"PraisonAI is a multi-agent teams system. Prior to version 4.5.97, SubprocessSandbox in all modes (BASIC, STRICT, NETWORK_ISOLATED) calls subprocess.run() with shell=True and relies solely on string-pattern matching to block dangerous commands. The blocklist does not include sh or bash as standalone executables, allowing trivial sandbox escape in STRICT mode via sh -c '<command>'. This issue has been patched in version 4.5.97.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00399,"percentile":0.34998,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-r4f2-3m54-pp7q","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":7.0},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.5.97"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-06T19:06:05.667759Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonai","vulnerableRanges":["<4.5.97"],"patched":["4.5.97"],"from":["GHSA-r4f2-3m54-pp7q","PYSEC-2026-2921"],"provenance":"source"}],"summary":{"text":"The SubprocessSandbox component of PraisonAI, a multi-agent teams system, runs commands through subprocess.run() with shell=True and relies on string-pattern matching to block dangerous commands, a weakness that affects all of its modes (BASIC, STRICT, and NETWORK_ISOLATED) in versions before 4.5.97. An attacker with local access and low privileges who can submit commands to the sandbox can escape it in STRICT mode by wrapping a command in sh -c, because sh and bash are missing from the blocklist, and this requires no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:05Z"},"euvd":{"id":"EUVD-2026-18959","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-34939","published":"2026-04-03","fixed":"4.5.90","kev":false,"link":{"from":"CVE-2026-34939","to":"CVE-2026-34955","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.90","toFixed":"4.5.97","daysApart":0}]}},{"cve":"CVE-2026-34952","published":"2026-04-03","fixed":"4.5.97","kev":false},{"cve":"CVE-2026-34953","published":"2026-04-03","fixed":"4.5.97","kev":false},{"cve":"CVE-2026-34955","published":"2026-04-03","fixed":"4.5.97","kev":false},{"cve":"CVE-2026-39889","published":"2026-04-08","fixed":"4.5.115","kev":false,"link":{"from":"CVE-2026-34955","to":"CVE-2026-39889","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.97","toFixed":"4.5.115","daysApart":5}]}},{"cve":"CVE-2026-39890","published":"2026-04-08","fixed":"4.5.115","kev":false,"link":{"from":"CVE-2026-34955","to":"CVE-2026-39890","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.97","toFixed":"4.5.115","daysApart":5}]}},{"cve":"CVE-2026-39891","published":"2026-04-08","fixed":"4.5.115","kev":false,"link":{"from":"CVE-2026-34955","to":"CVE-2026-39891","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.97","toFixed":"4.5.115","daysApart":5}]}}],"package":"PyPI:praisonai"}}