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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T23:26:01.000Z
- Modified: 2026-07-24T21:10:00.143Z
- Also known as: GHSA-r4f2-3m54-pp7q, PYSEC-2026-2921
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.5.97
- praisonai (PyPI): before 4.5.97
- praison praisonai: before 4.5.97

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-34955](https://www.cve.org/CVERecord?id=CVE-2026-34955), CVE Terms of Use, modified 2026-04-06
- GitHub Advisory Database: [GHSA-r4f2-3m54-pp7q](https://github.com/advisories/GHSA-r4f2-3m54-pp7q), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-34955](https://nvd.nist.gov/vuln/detail/CVE-2026-34955), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2921](https://osv.dev/vulnerability/PYSEC-2026-2921), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-34955 · Whole record: https://cve.day/CVE-2026-34955.json · Rebuilt by cve.day 2026-11-25T22:59:17.945Z
