CVE-2026-34955
CRITICAL 10.0CVSS 3.1PraisonAI Has Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox
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.
- Published
- 4 Apr 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-r4f2-3m54-pp7qPYSEC-2026-2921
- Sources
- NVDJSONOSV GHSA-r4f2-3m54-pp7qJSONOSV PYSEC-2026-2921JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | 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 | security-advisories@github.com (Secondary) | 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 |
| OSV | GitHub | 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 |
| OSV | PyPA | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | praison | praisonaicpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* |
< 4.5.97 | 4.5.97 |
| OSV | PyPI | praisonai | < 4.5.97 | 4.5.97 |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-r4f2-3m54-pp7q · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-34955 · ADVISORY
- https://github.com/MervinPraison/PraisonAI · PACKAGE
- https://pypi.org/project/praisonai · PACKAGE
- https://github.com/advisories/GHSA-r4f2-3m54-pp7q · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Apr 2026)