CVE-2026-34938CWE-693

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

Critical · published April 3, 2026

CVSS v3.1
10.0
EPSS
1%
Percentile
57.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00842 · 57.5th percentile
Weakness
CWE-693 · Protection Mechanism Failure
Published
2026-04-03T22:51Z
EPSS history
Timeline
  • 25 SEP 03:25Z
    EPSS moved 13% → 1%
    epss
  • 03 APR 22:51Z
    PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code
    cvelistv5