CVE 10 CRITICAL

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

10 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-34938
Source GitHub_M
Published Apr 3, 2026 at 22:51
Modified Apr 6, 2026 at 13:23

Affected Product

Vendor MervinPraison
Product PraisonAI
Version < 1.5.90
Affected Versions MervinPraison PraisonAI < 1.5.90

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.