SCA: security update for praisonaiagents (GHSA-qf73-2hrx-xprp)

critical Tenable Self-Hosted Container Security Plugin ID 440048

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- PraisonAI is a multi-agent teams system. Prior to 1.5.115, 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 of python_tools.py) contains only 11 attribute names
— a strict subset of the 30+ names blocked in the direct-execution path. The four attributes that form a
frame-traversal chain out of the sandbox are all absent from the subprocess list (__traceback__, tb_frame,
f_back, and f_builtins). Chaining these attributes through a caught exception exposes the real Python
builtins dict of the subprocess wrapper frame, from which exec can be retrieved and called under a non-
blocked variable name — bypassing every remaining security layer. This vulnerability is fixed in 1.5.115.
(CVE-2026-39888)

Solution

Update the praisonaiagents library and its related packages to version 1.5.115 or later.

See Also

https://github.com/advisories/GHSA-qf73-2hrx-xprp

Plugin Details

Severity: Critical

ID: 440048

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 4/8/2026

Updated: 5/27/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.32

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-39888

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/8/2026

Vulnerability Publication Date: 4/8/2026

Reference Information

CVE: CVE-2026-39888