CVE-2026-55523: PraisonAI has a`web_crawl` SSRF protection bypass via unchecked redirect targets
PraisonAI is a multi-agent teams system. In versions 1.5.128 through 1.6.57, the praisonaiagents.tools.webcrawltools.webcrawl() function is vulnerable to server-side request forgery. While it validates the initially supplied URL and blocks direct loopback and private destinations, its default httpx fallback uses httpx.Client(followredirects=True) and does not revalidate intermediate or final redirect targets. An attacker who can influence a URL passed to webcrawl(), directly or through an agent or tool workflow, can supply an attacker-controlled public URL that passes the initial host check and then redirects to loopback, private-network, or cloud metadata endpoints reachable from the host, with the redirected response body returned in the webcrawl() result. This constitutes an incomplete fix and patch bypass for the previously disclosed webcrawl SSRF class (GHSA-qq9r-63f6-v542 / CVE-2026-40160 and GHSA-8f4v-xfm9-3244), since the guard validates only the requested URL and not the destination actually fetched after redirection. This issue has been fixed in version 1.6.58.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
praisonaiagents.tools.web_crawl_tools.web_crawl()to a version that resolves this vulnerability.Fixed in 1.6.58 - Configuration
Ensure the httpx client used by web_crawl does not follow redirects (avoid httpx.Client(follow_redirects=True)) and/or revalidates the final (and intermediate) redirect targets against the SSRF allow/block rules.
httpx (used as fallback in web_crawl) follow_redirects = False - Compensating control
If you cannot upgrade immediately, restrict egress from the host running PraisonAI so it cannot reach loopback, private-network, or cloud metadata endpoints (the redirect destinations reachable from the host).