PT-2026-29825 · Unknown+2 · Bots Cli.Py+4
Yerang30
·
Published
2026-04-01
·
Updated
2026-06-01
·
CVE-2026-34938
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
PraisonAI (affected versions not specified)
Description
PraisonAI is susceptible to a critical Python sandbox escape issue that permits code execution outside of the intended sandbox environment. The flaw resides within the
execute code() function in praisonai-agents, which allows for arbitrary OS command execution on the host system. This is achieved by supplying a str subclass with an overridden startswith() method to the safe getattr wrapper, effectively bypassing the sandbox's security measures. The vulnerability is triggered through the safe getattr function, which incorrectly handles subclasses of strings, and ultimately leads to the execution of arbitrary code via the Popen function. The vulnerability can be exploited in deployments using bot.py, autonomy mode.py, or bots cli.py when PRAISONAI AUTO APPROVE is set to true, enabling silent execution upon indirect prompt injection.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Protection Mechanism Failure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Praisonai
Autonomy Mode.Py
Bot.Py
Bots Cli.Py
Praisonaiagents