SCA: security update for PraisonAI (GHSA-x783-xp3g-mqhp)

high Tenable Self-Hosted Container Security Plugin ID 440417

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 4.5.133, there is an SQL identifier injection
vulnerability in SQLiteConversationStore where the table_prefix configuration value is directly
concatenated into SQL queries via f-strings without any validation or sanitization. Since SQL identifiers
cannot be safely parameterized, an attacker who controls the table_prefix value (e.g., through from_yaml
or from_dict configuration input) can inject arbitrary SQL fragments that alter query structure. This
enables unauthorized data access, such as reading internal SQLite tables like sqlite_master, and
manipulation of query results through techniques like UNION-based injection. The vulnerability propagates
from configuration input in config.py, through factory.py, to the SQL query construction in sqlite.py.
Exploitation requires the ability to influence configuration input, and successful exploitation leads to
internal schema disclosure and full query result tampering. This issue has been fixed in version 4.5.133.
(CVE-2026-40315)

Solution

Update the PraisonAI library and its related packages to version 4.5.133 or later.

See Also

https://github.com/advisories/GHSA-x783-xp3g-mqhp

Plugin Details

Severity: High

ID: 440417

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 4/15/2026

Updated: 6/1/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2026-40315

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS v4

Risk Factor: High

Base Score: 7.2

Threat Score: 6.3

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/10/2026

Vulnerability Publication Date: 4/10/2026

Reference Information

CVE: CVE-2026-40315

cwe: CWE-89