SCA: security update for PraisonAI, praisonaiagents (GHSA-5c6w-wwfq-7qqm)

medium Tenable Cloud Security Plugin ID 442547

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, `spider_tools` URL validation can be bypassed using alternate loopback host
encodings. The tool contains a URL validation function intended to block local or unsafe targets before
fetching attacker-controlled URLs. However, the validation only blocks a small set of exact host strings
such as `localhost` and `127.0.0.1`. It does not normalize hostnames, resolve DNS, parse numeric IPv4
variants, or validate the final resolved IP address before making the request. As a result, certain URLs
may bypass the protection and still reach loopback services. After the weak validation passes,
`scrape_page()` calls `requests.Session.get()` on the attacker-controlled URL. This allows an attacker who
can influence URLs passed to `scrape_page`, `crawl`, or `extract_text` to induce SSRF requests against
loopback-only services. This is a server-side request forgery protection bypass. PraisonAI version 4.6.40
and praisonaiagents version 1.6.40 contain a patch. (CVE-2026-47390)

Solution

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

See Also

https://github.com/advisories/GHSA-5c6w-wwfq-7qqm

Plugin Details

Severity: Medium

ID: 442547

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: Medium

Score: 5

Percentile: 93.99

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-47390

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-47390

cwe: CWE-918