NetSight
high8.5

CVE-2026-57126

praisonaiagents: SSRF guard validates literal IPs only and never resolves DNS

Impact

PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.58, SpiderTools._validate_url calls _host_is_blocked, which checks literal host encodings but does not resolve DNS names before scrape_page, crawl, extract_links, extract_text, or URL-mention fetches connect. An attacker-controlled hostname resolving to a loopback, private, link-local, or cloud-metadata address therefore bypasses the SSRF policy without a rebinding race and can expose internal responses to the agent. This issue is fixed in praisonaiagents 1.6.58.

Affected packages

EcosystemPackageAffectedFixed in
pippraisonaiagents<= 1.6.481.6.59

Weakness classification

References