# CVE-2026-34938: PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/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): 14.6%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T23:17:48.000Z
- Modified: 2026-11-16T16:15:05.516Z
- Also known as: GHSA-6vh2-h83c-9294, PYSEC-2026-484
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. Prior to version 1.5.90, execute_code() in praisonai-agents runs attacker-controlled Python inside a three-layer sandbox that can be fully bypassed by passing a str subclass with an overridden startswith() method to the _safe_getattr wrapper, achieving arbitrary OS command execution on the host. This issue has been patched in version 1.5.90.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 1.5.90
- praisonaiagents (PyPI): before 1.5.90
- praison praisonaiagents: before 1.5.90

## Every score

- GitHub_M: 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`
- GitHub: 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 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-6vh2-h83c-9294> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34938> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/praisonaiagents/PYSEC-2026-484.yaml> (web)
- <https://pypi.org/project/praisonaiagents> (package, web)
- <https://github.com/advisories/GHSA-6vh2-h83c-9294> (advisory)

## Sources

- CVE List: [CVE-2026-34938](https://www.cve.org/CVERecord?id=CVE-2026-34938), CVE Terms of Use, modified 2026-04-06
- GitHub Advisory Database: [GHSA-6vh2-h83c-9294](https://github.com/advisories/GHSA-6vh2-h83c-9294), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-34938](https://nvd.nist.gov/vuln/detail/CVE-2026-34938), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-484](https://osv.dev/vulnerability/PYSEC-2026-484), CC-BY-4.0, modified 2026-07-13

---

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