Skip to content
OpenAdvisories
High · 8.8 CVE-2026-34955 EUVD-2026-18959GHSA-r4f2-3m54-pp7qPYSEC-2026-2921

PraisonAI: Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox

Published Apr 3, 2026 · Updated Apr 6, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.5.97 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai < 4.5.97 4.5.97 GHSA-r4f2-3m54-pp7q

References