# PraisonAI spider_tools SSRF protection bypass via alternate loopback host encodings

Advisory record · `GHSA-5c6w-wwfq-7qqm`

- **Identifiers:** `GHSA-5c6w-wwfq-7qqm` · `CVE-2026-47390` · `PYSEC-2026-2902` · `PYSEC-2026-2941`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-918](https://cwe.mitre.org/data/definitions/918.html)
- **Tags:** [Server-side request forgery (SSRF)](https://agentprime.io/advisories/tag/ssrf.md)
- **Published:** 29 May 2026
- **Updated:** 13 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 29 May 2026, 22:27 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `praisonaiagents` (PyPI): affected `<1.6.40`; fixed in `1.6.40`
- `praisonai` (PyPI): affected `<4.6.40`; fixed in `4.6.40`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> PraisonAI's spider_tools URL validation in praisonaiagents before 1.6.40 and praisonai before 4.6.40 can be bypassed with alternate encodings of loopback addresses, because it only blocks exact strings such as localhost and 127.0.0.1. An attacker who can influence URLs passed to scrape_page, crawl, or extract_text can make the process send HTTP requests to loopback-only services and receive their responses. Upgrade praisonaiagents to 1.6.40 or praisonai to 4.6.40.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 7th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:01 UTC: First seen by agentprime
- 31 Oct 2026, 15:01 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-5c6w-wwfq-7qqm)

## Sources

- [GitHub Advisory Database: GHSA-5c6w-wwfq-7qqm](https://github.com/advisories/GHSA-5c6w-wwfq-7qqm)
- [OSV: GHSA-5c6w-wwfq-7qqm](https://osv.dev/vulnerability/GHSA-5c6w-wwfq-7qqm)
- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-5c6w-wwfq-7qqm>
- <https://github.com/MervinPraison/PraisonAI>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-5c6w-wwfq-7qqm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-5c6w-wwfq-7qqm/>. Everything for agents: <https://agentprime.io/llms.txt>.
