CVE-2026-34938

CRITICAL

PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 10.0
EPSS 0.0004
EPSS Percentile 13.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-693
Status published
Products (3)
MervinPraison/PraisonAI < 1.5.90
praison/praisonaiagents < 1.5.90
pypi/praisonaiagents 0 - 1.5.90PyPI
Published Apr 03, 2026
Tracked Since Apr 04, 2026