PraisonAI: Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox (MervinPraison PraisonAI)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.39 % · percentile 33 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- 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
European references
- ENISA EUVD · EUVD-2026-18959
- GCVE · GCVE-0-2026-34955
Affected configurations (NVD CPE)
cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*< 4.5.97
Affected products
| Product | Versions |
|---|---|
| MervinPraison · PraisonAI | affected < 4.5.97 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |