GHSA-vg6p-v9vm-6fgj: praisonaiagents vulnerable to SSRF in web_crawl tool via redirect-following and DNS rebinding (validate-then-fetch gap)
Summary
The web_crawl tool in praisonaiagents has a security flaw where it validates a URL's hostname only once at the start, but then fetches the URL using a library that follows HTTP redirects and re-resolves the hostname without re-checking. An attacker can bypass this by either redirecting to an internal address (like a cloud metadata endpoint) or using DNS rebinding (changing what the hostname resolves to between validation and fetch) to trick the tool into reading private internal services and leaking sensitive data like credentials.
Solution / Mitigation
The source explicitly recommends: 'Resolve the hostname once, validate that IP, and connect to that exact validated IP (pin it) rather than re-resolving. Disable redirect following (follow_redirects=False; for urllib use a redirect handler that re-validates), or re-validate every redirect hop's resolved IP.' The source also notes that file_tools.py:364 already uses follow_redirects=False and is the correct pattern to follow.
Vulnerability Details
EPSS: 0.2%
Yes
August 25, 2026
Classification
Affected Vendors
Affected Packages
Related Issues
CVE-2026-34371: LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the e
CVE-2024-27444: langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-
Original source: https://github.com/advisories/GHSA-vg6p-v9vm-6fgj
First tracked: August 25, 2026 at 02:01 PM
Classified by LLM (prompt v3) · confidence: 95%