CVE-2026-34938
CRITICAL 10.0CVSS 3.1PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code
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.
- Published
- 3 Apr 2026
- Last modified
- 16 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-693
- Also known as
- GHSA-6vh2-h83c-9294PYSEC-2026-484
- Sources
- NVDJSONOSV GHSA-6vh2-h83c-9294JSONOSV PYSEC-2026-484JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| 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 |
| OSV | GitHub | 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 |
| OSV | PyPA | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | praison | praisonaiagentscpe:2.3:a:praison:praisonaiagents:*:*:*:*:*:*:*:* |
< 1.5.90 | 1.5.90 |
| OSV | PyPI | praisonaiagents | < 1.5.90 | 1.5.90 |
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 · WEB, PACKAGE
- https://github.com/advisories/GHSA-6vh2-h83c-9294 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 3 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Apr 2026)