Vulnerability
CVE-2026-34955
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.
2 advisories report this vulnerability, across 1 ecosystem.
Advisories in PyPI
-
GHSA-r4f2-3m54-pp7q
PraisonAI Has Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox
-
PYSEC-2026-2921
PraisonAI Has Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox