What’s Vulnerable › Vulnerabilities

CVE-2026-34955: PraisonAI: Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox

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

How to fix

Upgrade to a fixed version: MervinPraison PraisonAI 4.5.97. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-34955 or the next vulnerability affects your stack