CVE-2026-47392: Vulnerability in praisonaiagents

Critical. 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...

PyPI, CWE-184, CWE-693

Exploitation
None confirmed
Severity
9.9 of 10
Attack likelihood
0.6 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-4mr5-g6f9-cfrh
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-184, CWE-693
Published
29 May 2026
Last change
21 Jul 2026
Likelihood rank
Higher than 50 % of all rated vulnerabilities
Analysis status
Deferred
Ecosystem
PyPI

Affected packages

Vulnerable version ranges and fixed releases

  • praisonaiagents PyPI, Affected through 1.6.39. Fixed in 1.6.40
  • PraisonAI PyPI, Affected through 4.6.39. Fixed in 4.6.40

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes