PraisonAI: Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MervinPraison | PraisonAI | before 4.5.97 | 4.5.97 | Patch available | CNA |
| — | praisonai (PyPI) | before 4.5.97 | 4.5.97 | Patch available | GHSA-r4f2-3m54-pp7q |
- PraisonAI VendorMervinPraison Affected before 4.5.97 Fixed in 4.5.97 Patch available CNA
- praisonai (PyPI) Vendor— Affected before 4.5.97 Fixed in 4.5.97 Patch available GHSA-r4f2-3m54-pp7q
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* | before 4.5.97 | Vulnerable | MervinPraison |
- cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* Versions before 4.5.97 Vulnerable ·MervinPraison
Remediation
- Fix · CNA PraisonAI (MervinPraison) Fixed in 4.5.97
- Fix · GHSA-r4f2-3m54-pp7q praisonai (PyPI) Fixed in 4.5.97 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-34955
- 2026-10-03 Alias added: GHSA-r4f2-3m54-pp7q
References
More MervinPraison Praisonai vulnerabilities
- TI-2026-30083 Incomplete fix for CVE-2026-34935: Command Injection in MervinPraison/PraisonAI CVSS 3.1CRITICAL 9.8
- TI-2026-29070 PraisonAI: Critical RCE via `type: job` workflow YAML CVSS 3.1CRITICAL 9.8
- TI-2026-28940 PraisonAI has Server-Side Request Forgery via Unvalidated webhook_url in Jobs API CVSS 3.1CRITICAL 10.0
- TI-2026-28768 PraisonAI Affected by Remote Code Execution via YAML Deserialization in Agent Definition Loading CVSS 3.1CRITICAL 9.8
- TI-2026-27159 PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command() CVSS 3.1CRITICAL 9.8
- TI-2026-27158 PraisonAI: Second-Order SQL Injection in `get_all_user_threads` CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-34955 · CVE Program
- CVE-2026-34955 · NVD
- FIRST EPSS
- GHSA-r4f2-3m54-pp7q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences