Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-47392
Published:July 21, 2026
Updated:July 21, 2026
PraisonAI is a multi-agent teams system. Prior to version 4.6.40 of PraisonAI, corresponding to version 1.6.40 of praisonaiagents, "execute_code()" in "praisonaiagents/tools/python_tools.py" (v1.6.37, subprocess sandbox mode) can be fully bypassed using "print.__self__" to retrieve the real Python "builtins" module, from which "__import__" can be extracted via "vars()" and runtime string construction. This achieves arbitrary OS command execution on the host, completely defeating the sandbox. This is a novel bypass that survives all patches for CVE-2026-39888 (frame traversal), CVE-2026-34938 (str subclass), and CVE-2026-40158 ("type.__getattribute__" trampoline). PraisonAI version 4.6.40 and praisonaiagents version 1.6.40 contain an updated fix.
Affected Packages
https://github.com/MervinPraison/PraisonAI.git (GITHUB):
Affected version(s) >=v0.0.1 <v4.6.40
Fix Suggestion:
Update to version v4.6.40
praisonai (PYTHON):
Affected version(s) >=0.0.1 <4.6.40
Fix Suggestion:
Update to version 4.6.40
praisonaiagents (PYTHON):
Affected version(s) >=0.0.1 <1.6.40
Fix Suggestion:
Update to version 1.6.40
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Incomplete List of Disallowed Inputs
Protection Mechanism Failure
EPSS
Base Score:
0.12