CVE-2026-39888: Vulnerability in Praisonai

Critical. execute_code() in praisonaiagents.tools.python_tools defaults to sandbox_mode="sandbox", which runs user code in a subprocess wrapped with a restricted __builtins__ dict and an AST-based blocklist. The AST blocklist embedded inside the subprocess wrapper (blocked_attrs, line 143 of python_tools.py) contains only 11 attribute names — a strict subset of the 30+ names blocked in the direct-execution path. The four...

PyPI, CWE-657, 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-qf73-2hrx-xprp
EU ID
EUVD-2026-20635
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-657, CWE-693
Published
8 Apr 2026
Last change
16 Nov 2026
Likelihood rank
Higher than 48 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Praisonai Before 1.5.115. Fixed in 1.5.115

Affected packages

Vulnerable version ranges and fixed releases

  • praisonaiagents PyPI, Affected through 1.5.114. Fixed in 1.5.115

Advisories

Vendor and security advisories

Related