Description
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.
Published: 2026-07-21
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

PraisonAI’s spider_tools module validates URLs before making outbound requests. The filter 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 verify the resolved IP address. As a result, an attacker who can supply URLs to the scrape_page, crawl, or extract_text functions can craft URL strings that bypass the filter, allowing the server to make requests to loopback‑only services. This constitutes a server‑side request forgery that can expose internal system capabilities. The vulnerability is identified as CWE‑918.

Affected Systems

The flaw exists in PraisonAI versions earlier than 4.6.40 and in the corresponding praisonaiagents package prior to version 1.6.40. Any deployment running these older releases is potentially vulnerable if URL inputs can be supplied by or influence an attacker. The patch is already available in the stated release series.

Risk and Exploitability

The CVSS score of 5.5 reflects moderate severity, and the EPSS score of less than 1 percent indicates that, at present, the likelihood of exploitation is considered low. The vulnerability is not listed in CISA’s KEV catalog. The attack vector requires attacker supplied URLs to be processed by the vulnerable functions, which can generally be achieved through remote or potentially local input channels. While the attack is possible, the combined low exploitation probability and moderate impact suggest that patching is recommended but the urgency is less than for high‑severity SSRF flaws.

Generated by OpenCVE AI on July 30, 2026 at 17:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to version 4.6.40 or newer, which includes the fix for URL validation.
  • Upgrade praisonaiagents to version 1.6.40 or newer to ensure the vulnerability is patched in the agent component.
  • Implement additional host validation in your deployment, such as normalizing URLs, rejecting all loopback addresses, or verifying the resolved IP is not a private or loopback address before issuing the outbound request.

Generated by OpenCVE AI on July 30, 2026 at 17:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5c6w-wwfq-7qqm PraisonAI spider_tools SSRF protection bypass via alternate loopback host encodings
History

Wed, 22 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Mervinpraison praisonaiagents
Vendors & Products Mervinpraison
Mervinpraison praisonai
Mervinpraison praisonaiagents

Tue, 21 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title PraisonAI spider_tools SSRF protection bypass via alternate loopback host encodings
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}


Subscriptions

Mervinpraison Praisonai Praisonaiagents
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-22T14:10:08.532Z

Reserved: 2026-05-19T19:22:45.729Z

Link: CVE-2026-47390

cve-icon Vulnrichment

Updated: 2026-07-22T14:09:41.960Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:30:17Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)