SCA: security update for PraisonAI, praisonaiagents (GHSA-5cxw-77wg-jrf3)

medium Tenable Cloud Security Plugin ID 442500

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 version 4.6.40 of PraisonAI, corresponding to version
1.6.40 of praisonaiagents, PraisonAI's direct-prompt CLI automatically expands `@url:` mentions in raw
prompt text before agent execution begins. If a prompt contains `@url:<http-or-https-url>`, the CLI calls
`MentionsParser.process(...)`. The `@url:` handler then performs a direct `urllib.request.urlopen()`
request to the attacker-controlled URL and returns the response body. That response body is prepended to
the final model prompt context. There is no loopback/private-address restriction, no metadata-service
restriction, and no approval gate before the fetch. As a result, attacker-influenced prompt text can cause
the operator's machine to fetch localhost-only HTTP resources and inject the response into model context.
PraisonAI version 4.6.40 and praisonaiagents version 1.6.40 contain a fix. (CVE-2026-47395)

Solution

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

See Also

https://github.com/advisories/GHSA-5cxw-77wg-jrf3

Plugin Details

Severity: Medium

ID: 442500

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 5/30/2026

Updated: 7/22/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.71

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

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

CVSS Score Source: CVE-2026-47395

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/29/2026

Vulnerability Publication Date: 5/29/2026

Reference Information

CVE: CVE-2026-47395

cwe: CWE-200